OverSim
|
Class generated from applications/i3/I3Message.msg
by opp_msgc.
More...
#include <I3Message_m.h>
Public Member Functions | |
virtual | ~I3InsertTriggerMessage_Base () |
virtual I3InsertTriggerMessage_Base * | dup () const |
virtual void | parsimPack (cCommBuffer *b) |
virtual void | parsimUnpack (cCommBuffer *b) |
virtual bool | getSendReply () const |
virtual void | setSendReply (bool sendReply) |
virtual I3Trigger & | getTrigger () |
virtual const I3Trigger & | getTrigger () const |
virtual void | setTrigger (const I3Trigger &trigger) |
virtual I3IPAddress & | getSource () |
virtual const I3IPAddress & | getSource () const |
virtual void | setSource (const I3IPAddress &source) |
Public Member Functions inherited from I3Message | |
I3Message (const char *name=NULL, int kind=0) | |
I3Message (const I3Message &other) | |
virtual | ~I3Message () |
I3Message & | operator= (const I3Message &other) |
virtual int | getType () const |
virtual void | setType (int type) |
Protected Member Functions | |
bool | operator== (const I3InsertTriggerMessage_Base &) |
I3InsertTriggerMessage_Base (const char *name=NULL, int kind=0) | |
I3InsertTriggerMessage_Base (const I3InsertTriggerMessage_Base &other) | |
I3InsertTriggerMessage_Base & | operator= (const I3InsertTriggerMessage_Base &other) |
Protected Member Functions inherited from I3Message | |
bool | operator== (const I3Message &) |
Protected Attributes | |
bool | sendReply_var |
I3Trigger | trigger_var |
I3IPAddress | source_var |
Protected Attributes inherited from I3Message | |
int | type_var |
Private Member Functions | |
void | copy (const I3InsertTriggerMessage_Base &other) |
Class generated from applications/i3/I3Message.msg
by opp_msgc.
packet I3InsertTriggerMessage extends I3Message { (true); bool sendReply; I3Trigger trigger; I3IPAddress source; }
I3InsertTriggerMessage_Base is only useful if it gets subclassed, and I3InsertTriggerMessage is derived from it. The minimum code to be written for I3InsertTriggerMessage is the following:
class I3InsertTriggerMessage : public I3InsertTriggerMessage_Base { private: void copy(const I3InsertTriggerMessage& other) { ... }
public: I3InsertTriggerMessage(const char *name=NULL, int kind=0) : I3InsertTriggerMessage_Base(name,kind) {} I3InsertTriggerMessage(const I3InsertTriggerMessage& other) : I3InsertTriggerMessage_Base(other) {copy(other);} I3InsertTriggerMessage& operator=(const I3InsertTriggerMessage& other) {if (this==&other) return *this; I3InsertTriggerMessage_Base::operator=(other); copy(other); return *this;} virtual I3InsertTriggerMessage *dup() const {return new I3InsertTriggerMessage(*this);} // ADD CODE HERE to redefine and implement pure virtual functions from I3InsertTriggerMessage_Base };
The following should go into a .cc (.cpp) file:
Register_Class(I3InsertTriggerMessage);
Definition at line 127 of file I3Message_m.h.
|
protected |
|
protected |
|
virtual |
|
private |
|
inlinevirtual |
Reimplemented from I3Message.
Reimplemented in I3InsertTriggerMessage.
Definition at line 148 of file I3Message_m.h.
|
virtual |
Referenced by I3::deliver().
|
virtual |
Referenced by I3::deliver().
|
inlinevirtual |
|
virtual |
Referenced by I3::deliver(), and I3::handleUDPMessage().
|
inlinevirtual |
|
protected |
|
protected |
|
virtual |
Reimplemented from I3Message.
|
virtual |
Reimplemented from I3Message.
|
virtual |
|
virtual |
Referenced by I3TRTClient::handleTimerEvent(), and I3BaseApp::insertTrigger().
|
virtual |
Referenced by I3TRTClient::handleTimerEvent(), and I3BaseApp::insertTrigger().
|
protected |
Definition at line 130 of file I3Message_m.h.
|
protected |
Definition at line 132 of file I3Message_m.h.
|
protected |
Definition at line 131 of file I3Message_m.h.