#include <InMessage.h>
Inheritance diagram for InMessageQueue:
Public Member Functions | |
InMessageQueue () | |
Default constructor. | |
virtual bool | exists () const |
The function states whether the stream actually exists. | |
virtual bool | getEof () const |
The function states whether the end of the file has been reached. | |
Protected Member Functions | |
void | open (MessageQueueBase *q) |
opens the stream. | |
virtual void | readFromStream (void *p, int size) |
The function reads a number of bytes from the stream. | |
Private Attributes | |
MessageQueueBase * | queue |
The queue where the data are read from. |
Definition at line 23 of file InMessage.h.
|
Default constructor.
Definition at line 12 of file InMessage.cpp. |
|
The function states whether the stream actually exists.
Reimplemented from PhysicalInStream. Definition at line 17 of file InMessage.cpp. |
|
The function states whether the end of the file has been reached.
Implements PhysicalInStream. Definition at line 22 of file InMessage.cpp. References MessageQueueBase::eof(), and queue. Referenced by InTextMessage::readAll(). |
Here is the call graph for this function:
|
opens the stream.
Definition at line 27 of file InMessage.cpp. References queue. Referenced by InBinaryMessage::InBinaryMessage(), InConfigMessage::InConfigMessage(), and InTextMessage::InTextMessage(). |
|
The function reads a number of bytes from the stream.
Implements PhysicalInStream. Definition at line 32 of file InMessage.cpp. References queue, and MessageQueueBase::read(). |
Here is the call graph for this function:
|
The queue where the data are read from.
Definition at line 27 of file InMessage.h. Referenced by getEof(), open(), and readFromStream(). |