#include <POTextMsg.h>
Inheritance diagram for POTextMsg:
Public Member Functions | |
POTextMsg (const string &txt="") | |
Default constructor. | |
POTextMsg (const POTextMsg &cpy) | |
POTextMsg (const char *format,...) | |
virtual | ~POTextMsg () |
virtual string | messageType () const |
string | getText () const |
void | setText (const string &txt) |
virtual POMessage * | clone () const |
int | packsize () const |
int | pack (char *buf) const |
int | unpack (char *buf) |
|
Default constructor.
|
|
|
|
|
|
|
|
Creates an identical copy of this message. This function must be overloaded in derived classes.
Reimplemented from POMessage. |
|
|
|
Reimplemented from POMessage. |
|
packs the message into a pre-alocated buffer of size >= packsize()
Reimplemented from POMessage. |
|
calculates the number of bytes needed to pack this message
Reimplemented from POMessage. |
|
|
|
unpacks the message, setting source, destination, and derived type
Reimplemented from POMessage. |