![]() |
GM6000 Digital Heater Controller Build: 20 (Branch = develop)
SDX-1330
|
This abstract class defines a interface for operating on an input-output stream (example of a stream is socket connection). More...
This abstract class defines a interface for operating on an input-output stream (example of a stream is socket connection).
#include <InputOutput.h>
Additional Inherited Members | |
Public Member Functions inherited from Cpl::Io::Input | |
| virtual bool | read (char &c) |
| Reads a single byte from the stream. | |
| virtual bool | read (Cpl::Text::String &destString) |
| Reads N bytes into the String's internal buffer. | |
| virtual bool | read (void *buffer, int numBytes, int &bytesRead)=0 |
| Attempts to read the specified number of bytes from the stream in the supplied buffer. | |
| virtual bool | available ()=0 |
| Returns true if there data available to be read from the stream. | |
| virtual | ~Input () |
| Lets the make the destructor virtual. | |
Public Member Functions inherited from Cpl::Io::Close | |
| virtual void | close ()=0 |
| This method will close the stream. | |
| virtual | ~Close () |
| Lets the make the destructor virtual. | |
Public Member Functions inherited from Cpl::Container::Item | |
| bool | insert_ (void *newContainerPtr) |
| Helper method to trap when inserting an item in multiple containers. | |
| bool | isInContainer_ (const void *containerPtr) const noexcept |
| Returns 'true' if the instance is in the specified container. | |
Public Member Functions inherited from Cpl::Io::IsEos | |
| virtual bool | isEos ()=0 |
| This method returns true if End-of-Stream was encountered on the stream. | |
| virtual | ~IsEos () |
| Lets the make the destructor virtual. | |
Public Member Functions inherited from Cpl::Io::Output | |
| virtual bool | write (char c) |
| Writes a single byte to the stream. | |
| virtual bool | write (const char *string) |
| Writes a string to the stream. | |
| virtual bool | write (const Cpl::Text::String &string) |
| Writes a string to the stream. | |
| virtual bool | write (Cpl::Text::String &formatBuffer, const char *format,...) |
| Formatted write to the stream. | |
| virtual bool | vwrite (Cpl::Text::String &formatBuffer, const char *format, va_list ap) |
| Same as write( String& formatBuffer, const char* format,...), except that it is called with a va_list instead of a variable number of arguments. | |
| virtual bool | write (const void *buffer, int numBytes) |
| Writes the content of the buffer to the stream. | |
| virtual bool | write (const void *buffer, int maxBytes, int &bytesWritten)=0 |
| Writes the content of the buffer to the stream. | |
| virtual void | flush ()=0 |
| Forces all buffered data (if any) to be written to the stream media. | |
| virtual | ~Output () |
| Lets the make the destructor virtual. | |
Static Public Member Functions inherited from Cpl::Container::Item | |
| static void | remove_ (Item *itemPtr) noexcept |
| Helper method to do the proper 'clean-up' for the multiple-containers-error-trap when removing an item from a container. | |
Public Attributes inherited from Cpl::Container::Item | |
| void * | m_nextPtr_ |
| The link field. | |
| void * | m_inListPtr_ |
| Debug field. | |
Protected Member Functions inherited from Cpl::Container::Item | |
| Item () | |
| Constructor. | |
| Item (const char *) | |
| Constructor used ONLY with the child class MapItem: -->special constructor to allow a Map to be statically allocated. | |