OverSim
|
Class generated from applications/i3/I3Message.msg
by opp_msgc.
More...
#include <I3Message_m.h>
Public Member Functions | |
virtual | ~I3RemoveTriggerMessage_Base () |
virtual I3RemoveTriggerMessage_Base * | dup () const |
virtual void | parsimPack (cCommBuffer *b) |
virtual void | parsimUnpack (cCommBuffer *b) |
virtual I3Trigger & | getTrigger () |
virtual const I3Trigger & | getTrigger () const |
virtual void | setTrigger (const I3Trigger &trigger) |
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 I3RemoveTriggerMessage_Base &) |
I3RemoveTriggerMessage_Base (const char *name=NULL, int kind=0) | |
I3RemoveTriggerMessage_Base (const I3RemoveTriggerMessage_Base &other) | |
I3RemoveTriggerMessage_Base & | operator= (const I3RemoveTriggerMessage_Base &other) |
Protected Member Functions inherited from I3Message | |
bool | operator== (const I3Message &) |
Protected Attributes | |
I3Trigger | trigger_var |
Protected Attributes inherited from I3Message | |
int | type_var |
Private Member Functions | |
void | copy (const I3RemoveTriggerMessage_Base &other) |
Class generated from applications/i3/I3Message.msg
by opp_msgc.
packet I3RemoveTriggerMessage extends I3Message { (true); I3Trigger trigger; }
I3RemoveTriggerMessage_Base is only useful if it gets subclassed, and I3RemoveTriggerMessage is derived from it. The minimum code to be written for I3RemoveTriggerMessage is the following:
class I3RemoveTriggerMessage : public I3RemoveTriggerMessage_Base { private: void copy(const I3RemoveTriggerMessage& other) { ... }
public: I3RemoveTriggerMessage(const char *name=NULL, int kind=0) : I3RemoveTriggerMessage_Base(name,kind) {} I3RemoveTriggerMessage(const I3RemoveTriggerMessage& other) : I3RemoveTriggerMessage_Base(other) {copy(other);} I3RemoveTriggerMessage& operator=(const I3RemoveTriggerMessage& other) {if (this==&other) return *this; I3RemoveTriggerMessage_Base::operator=(other); copy(other); return *this;} virtual I3RemoveTriggerMessage *dup() const {return new I3RemoveTriggerMessage(*this);} // ADD CODE HERE to redefine and implement pure virtual functions from I3RemoveTriggerMessage_Base };
The following should go into a .cc (.cpp) file:
Register_Class(I3RemoveTriggerMessage);
Definition at line 269 of file I3Message_m.h.
|
protected |
|
protected |
|
virtual |
|
private |
|
inlinevirtual |
Reimplemented from I3Message.
Reimplemented in I3RemoveTriggerMessage.
Definition at line 288 of file I3Message_m.h.
|
virtual |
Referenced by I3::deliver(), and I3::handleUDPMessage().
|
inlinevirtual |
|
protected |
|
protected |
|
virtual |
Reimplemented from I3Message.
|
virtual |
Reimplemented from I3Message.
|
virtual |
Referenced by I3BaseApp::removeTrigger().
|
protected |
Definition at line 272 of file I3Message_m.h.