OverSim
|
Class generated from applications/i3/I3Message.msg
by opp_msgc.
More...
#include <I3Message_m.h>
Public Member Functions | |
virtual | ~I3SendPacketMessage_Base () |
virtual I3SendPacketMessage_Base * | dup () const |
virtual void | parsimPack (cCommBuffer *b) |
virtual void | parsimUnpack (cCommBuffer *b) |
virtual I3IdentifierStack & | getIdentifierStack () |
virtual const I3IdentifierStack & | getIdentifierStack () const |
virtual void | setIdentifierStack (const I3IdentifierStack &identifierStack) |
virtual I3Trigger & | getMatchedTrigger () |
virtual const I3Trigger & | getMatchedTrigger () const |
virtual void | setMatchedTrigger (const I3Trigger &matchedTrigger) |
virtual bool | getSendReply () const |
virtual void | setSendReply (bool sendReply) |
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 I3SendPacketMessage_Base &) |
I3SendPacketMessage_Base (const char *name=NULL, int kind=0) | |
I3SendPacketMessage_Base (const I3SendPacketMessage_Base &other) | |
I3SendPacketMessage_Base & | operator= (const I3SendPacketMessage_Base &other) |
Protected Member Functions inherited from I3Message | |
bool | operator== (const I3Message &) |
Protected Attributes | |
I3IdentifierStack | identifierStack_var |
I3Trigger | matchedTrigger_var |
bool | sendReply_var |
I3IPAddress | source_var |
Protected Attributes inherited from I3Message | |
int | type_var |
Private Member Functions | |
void | copy (const I3SendPacketMessage_Base &other) |
Class generated from applications/i3/I3Message.msg
by opp_msgc.
packet I3SendPacketMessage extends I3Message { (true); I3IdentifierStack identifierStack; I3Trigger matchedTrigger; bool sendReply; I3IPAddress source; }
I3SendPacketMessage_Base is only useful if it gets subclassed, and I3SendPacketMessage is derived from it. The minimum code to be written for I3SendPacketMessage is the following:
class I3SendPacketMessage : public I3SendPacketMessage_Base { private: void copy(const I3SendPacketMessage& other) { ... }
public: I3SendPacketMessage(const char *name=NULL, int kind=0) : I3SendPacketMessage_Base(name,kind) {} I3SendPacketMessage(const I3SendPacketMessage& other) : I3SendPacketMessage_Base(other) {copy(other);} I3SendPacketMessage& operator=(const I3SendPacketMessage& other) {if (this==&other) return *this; I3SendPacketMessage_Base::operator=(other); copy(other); return *this;} virtual I3SendPacketMessage *dup() const {return new I3SendPacketMessage(*this);} // ADD CODE HERE to redefine and implement pure virtual functions from I3SendPacketMessage_Base };
The following should go into a .cc (.cpp) file:
Register_Class(I3SendPacketMessage);
Definition at line 335 of file I3Message_m.h.
|
protected |
|
protected |
|
virtual |
|
private |
|
inlinevirtual |
Reimplemented from I3Message.
Reimplemented in I3SendPacketMessage.
Definition at line 357 of file I3Message_m.h.
|
virtual |
Referenced by I3::handleUDPMessage(), I3BaseApp::handleUDPMessage(), I3::sendPacket(), I3BaseApp::sendPacket(), and I3::sendToNode().
|
inlinevirtual |
|
virtual |
Referenced by I3BaseApp::handleUDPMessage(), and I3::sendPacket().
|
inlinevirtual |
|
virtual |
Referenced by I3::sendPacket().
|
virtual |
Referenced by I3::sendPacket().
|
inlinevirtual |
|
protected |
|
protected |
|
virtual |
Reimplemented from I3Message.
|
virtual |
Reimplemented from I3Message.
|
virtual |
Referenced by I3::sendPacket(), and I3BaseApp::sendPacket().
|
virtual |
Referenced by I3::sendPacket().
|
virtual |
Referenced by I3BaseApp::sendPacket().
|
virtual |
Referenced by I3BaseApp::sendPacket().
|
protected |
Definition at line 338 of file I3Message_m.h.
|
protected |
Definition at line 339 of file I3Message_m.h.
|
protected |
Definition at line 340 of file I3Message_m.h.
|
protected |
Definition at line 341 of file I3Message_m.h.