#include <tmsgfile.h>
Public Methods | |
TipcMsgFile (char *filename, T_IPC_MSG_FILE_CREATE_MODE create_mode) | |
TipcMsgFile (FILE *file, T_IPC_MSG_FILE_CREATE_MODE create_mode) | |
virtual | ~TipcMsgFile () throw () |
Destructor. | |
virtual TipcMsgFile & | operator<< (const TipcMsg &msg) throw (TipcException) |
virtual TipcMsgFile & | operator>> (TipcMsg &msg) |
|
Create a TipcMsgFile object with file_name and create_mode.
|
|
Create a TipcMsgFile object with file and create_mode.
|
|
Write the internal T_IPC_MSG field of a TipcMsg object to a message file. |
|
Read a message from a message file and assign it to the internal T_IPC_MSG field of a TipcMsg object. Any message that the object was managing at the time of the call is passed to TipcMsgDestroy(). |