chrono::ChStreamOut Class Referenceabstract

Description

This is a base class for all OUTPUT streams.

Does nothing special - it must be implemented by child classes

#include <ChStream.h>

Inheritance diagram for chrono::ChStreamOut:
Collaboration diagram for chrono::ChStreamOut:

Protected Member Functions

virtual void Output (const char *data, size_t n)=0
 Outputs a raw chunk of data, from pointer 'data' up to 'n' chars (bytes). More...
 

Additional Inherited Members

- Public Types inherited from chrono::ChStream
enum  eChMode { CHFILE_NORMAL = 0, CHFILE_NOWRITE, CHFILE_SAFEWRITE, CHFILE_OPENLATER }
 Modes for chrono files (the ch-modes) - obsolete -. More...
 
enum  eChStreamError { CHSTREAM_OK = 0, CHSTREAM_EOF, CHSTREAM_FAIL }
 Errors for chrono files (the ch-modes) More...
 

Member Function Documentation

◆ Output()

virtual void chrono::ChStreamOut::Output ( const char *  data,
size_t  n 
)
protectedpure virtual

Outputs a raw chunk of data, from pointer 'data' up to 'n' chars (bytes).

NOTE! Inherited class could override only this function to have everything working, for example to output into a message box, or to sockets, etc..

Implemented in chrono::ChLogConsole.


The documentation for this class was generated from the following files:
  • /builds/uwsbel/chrono/src/chrono/core/ChStream.h
  • /builds/uwsbel/chrono/src/chrono/core/ChStream.cpp