#include <FXIPC.h>
Inheritance diagram for FX::FXIPCMsg:
Some fields are marked optional - this means they are set externally to FXIPCMsg eg; by FX::FXIPCChannel which sets them all. You must define
void endianise(FXStream &s) const; void deendianise(FXStream &s);
All FXIPCMsg subclasses must provide a default constructor or else the chunk register code won't compile.
You can use this structure yourself - or more likely let FX::FXIPCChannel do it all for you. There is an optional routing field which isn't used unless you set it to something.
Definition at line 184 of file FXIPC.h.
Public Types | |
FlagsWantAck | |
FlagsGZipped | |
FlagsHasRouting | |
FlagsIsBigEndian | |
enum | Flags { FlagsWantAck, FlagsGZipped, FlagsHasRouting, FlagsIsBigEndian } |
Public Member Functions | |
bool | operator== (const FXIPCMsg &o) const throw () |
bool | operator!= (const FXIPCMsg &o) const throw () |
int | headerLength () const throw () |
FXuint | length () const throw () |
FXuint | msgType () const throw () |
bool | hasAck () const throw () |
FXuint | msgId () const throw () |
void | setMsgId (FXuint id) throw () |
bool | wantsAck () const throw () |
bool | gzipped () const throw () |
void | setGZipped (bool v) throw () |
bool | hasRouting () const throw () |
FXuint | routing () const throw () |
void | setRouting (FXuint no) throw () |
bool | inBigEndian () const throw () |
FXuchar * | originalData () const throw () |
void | write (FXStream &s) const |
void | read (FXStream &s) |
Static Public Attributes | |
static const FXuint | minHeaderLength |
static const FXuint | maxHeaderLength |
Protected Member Functions | |
FXIPCMsg (FXuint _type, FXuchar _msgrev=0) | |
FXIPCMsg (FXuint _type, FXuint _id, FXuchar _msgrev=0) | |
FXIPCMsg (const FXIPCMsg &o, FXuint _type=0) | |
~FXIPCMsg () | |
Friends | |
class | FXIPCChannel |
class | FXIPCChannelIndirector |