InTextMessage Class Reference

#include <InMessage.h>

Inheritance diagram for InTextMessage:

InStream< InMessageQueue, InText > InMessageQueue InText In PhysicalInStream StreamReader List of all members.

Public Member Functions

 InTextMessage (MessageQueueBase *q)
void readAll (char *buf)

Detailed Description

A text stream from a message queue.

Definition at line 83 of file InMessage.h.


Constructor & Destructor Documentation

InTextMessage::InTextMessage ( MessageQueueBase q  ) 

Constructor

Parameters:
q A pointer to the message queue base

Definition at line 42 of file InMessage.cpp.

References InMessageQueue::open().


Member Function Documentation

void InTextMessage::readAll ( char *  buf  ) 

Reads the complete stream into a character buffer rechanging the escaped characters.

Parameters:
buf The buffer to fill. Note that buf must point to a memory area that is large enough to carry the whole string.

Definition at line 47 of file InMessage.cpp.

References InMessageQueue::getEof(), InText::nextChar(), and InText::theChar.

Referenced by CRobotRemoteApp::handleMessage(), COptionRatingDlgBar::handleMessage(), CMessageViewerDlgBar::handleMessage(), and RobotConsole::handleMessage().


The documentation for this class was generated from the following files:
Generated on Thu Dec 7 01:38:59 2006 for DT2005.panorama by  doxygen 1.4.7