C++ TargetRTS
Loading...
Searching...
No Matches
Public Member Functions | List of all members
RTDiagBuffer Class Reference
Inheritance diagram for RTDiagBuffer:
RTStreamBuffer RTOBuffer

Public Member Functions

 RTDiagBuffer (RTDiagStream *)
 
virtual int flush (void) override
 Flushes the data written to the buffer.
 
- Public Member Functions inherited from RTStreamBuffer
virtual int write (const char *data, int size) override
 Write a string to the buffer.
 
virtual int write (const char *data, int size)=0
 Write a string to the buffer.
 
virtual int flush (void)=0
 Flushes the data written to the buffer.
 

Additional Inherited Members

- Protected Attributes inherited from RTStreamBuffer
int offset
 
char buffer [80]
 

Member Function Documentation

◆ flush()

virtual int RTDiagBuffer::flush ( void  )
overridevirtual

Flushes the data written to the buffer.

For some output buffers, the written data will not appear in the output until flush() has been called. For others explicit flushing is not needed.

Returns
1 if successful, 0 otherwise

Implements RTOBuffer.


The documentation for this class was generated from the following file: