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

Public Member Functions

virtual int write (const char *data, int size) override
 Write a string to the buffer.
 
- Public Member Functions inherited from RTOBuffer
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.
 

Protected Attributes

int offset
 
char buffer [80]
 

Member Function Documentation

◆ write()

virtual int RTStreamBuffer::write ( const char *  data,
int  size 
)
overridevirtual

Write a string to the buffer.

Parameters
[in]dataA string to write to the buffer.
[in]sizeThe size of the string to write to the buffer.
Returns
The number of bytes written to the buffer

Implements RTOBuffer.


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