common/OverSimMessage.msg by opp_msgc.
More...
#include <OverSimMessage_m.h>

Public Member Functions | |
| virtual | ~OverSimMessage_Base () |
| virtual OverSimMessage_Base * | dup () const |
| virtual void | parsimPack (cCommBuffer *b) |
| virtual void | parsimUnpack (cCommBuffer *b) |
Protected Member Functions | |
| bool | operator== (const OverSimMessage_Base &) |
| OverSimMessage_Base (const char *name=NULL, int kind=0) | |
| OverSimMessage_Base (const OverSimMessage_Base &other) | |
| OverSimMessage_Base & | operator= (const OverSimMessage_Base &other) |
common/OverSimMessage.msg by opp_msgc.
packet OverSimMessage { (true); }
OverSimMessage_Base is only useful if it gets subclassed, and OverSimMessage is derived from it. The minimum code to be written for OverSimMessage is the following:
class OverSimMessage : public OverSimMessage_Base { public: OverSimMessage(const char *name=NULL, int kind=0) : OverSimMessage_Base(name,kind) {} OverSimMessage(const OverSimMessage& other) : OverSimMessage_Base(other.getName()) {operator=(other);} OverSimMessage& operator=(const OverSimMessage& other) {OverSimMessage_Base::operator=(other); return *this;} virtual OverSimMessage *dup() const {return new OverSimMessage(*this);} // ADD CODE HERE to redefine and implement pure virtual functions from OverSimMessage_Base };
The following should go into a .cc (.cpp) file:
Register_Class(OverSimMessage);
Definition at line 48 of file OverSimMessage_m.h.
| OverSimMessage_Base::OverSimMessage_Base | ( | const char * | name = NULL, |
|
| int | kind = 0 | |||
| ) | [protected] |
| OverSimMessage_Base::OverSimMessage_Base | ( | const OverSimMessage_Base & | other | ) | [protected] |
| virtual OverSimMessage_Base::~OverSimMessage_Base | ( | ) | [virtual] |
| virtual OverSimMessage_Base* OverSimMessage_Base::dup | ( | ) | const [inline, virtual] |
Reimplemented in DHTPutCall, DHTGetCall, DHTPutResponse, DHTGetResponse, KbrTestCall, KbrTestResponse, ScribeJoinCall, ScribeJoinResponse, ScribePublishCall, ScribePublishResponse, CBRDHTGetCall, CBRDHTGetResponse, CoordsOfNodeCall, RttToNodeCall, CoordsOfNodeResponse, RttToNodeResponse, BaseOverlayMessage, BaseRouteMessage, BaseAppDataMessage, BaseRpcMessage, BaseCallMessage, BaseResponseMessage, RpcTimeoutMessage, FindNodeCall, FindNodeResponse, FailedNodeCall, FailedNodeResponse, PingCall, PingResponse, BootstrapLookupMessage, NextHopCall, NextHopResponse, DHTputCAPICall, DHTgetCAPICall, DHTputCAPIResponse, DHTgetCAPIResponse, DHTdumpCall, DHTdumpResponse, LookupCall, LookupResponse, P2pnsRegisterCall, P2pnsRegisterResponse, P2pnsResolveCall, P2pnsResolveResponse, GameAPIMessage, GameAPIListMessage, GameAPIPositionMessage, GameAPIResizeAOIMessage, GameAPIChatMessage, GameAPISnowMessage, GameAPIFrozenMessage, CoordsReqCall, CoordsReqResponse, OverSimMessage, BucketCall, BucketResponse, ChordMessage, NewSuccessorHintMessage, NotifyCall, NotifyResponse, JoinCall, JoinResponse, StabilizeCall, StabilizeResponse, FixfingersCall, FixfingersResponse, DeBruijnCall, DeBruijnResponse, GiaMessage, GiaNeighborMessage, TokenMessage, GiaIDMessage, GiaRouteMessage, KeyListMessage, SearchMessage, SearchResponseMessage, NiceMessage, NiceMemberMessage, NiceClusterMerge, NiceHeartbeat, NiceLeaderHeartbeat, CbrAppMessage, PastryMessage, PastryJoinMessage, PastryStateMessage, PastryLeafsetMessage, PastryRoutingRowRequestMessage, PastryRoutingRowMessage, PastryRequestMessage, PubSubJoinCall, PubSubJoinResponse, PubSubResponsibleNodeCall, PubSubResponsibleNodeResponse, PubSubTakeOverSubspaceCall, PubSubTakeOverSubspaceResponse, PubSubSubscriptionCall, PubSubSubscriptionResponse, PubSubUnsubscriptionMessage, PubSubHelpCall, PubSubHelpResponse, PubSubIntermediateCall, PubSubIntermediateResponse, PubSubBackupCall, PubSubBackupResponse, PubSubPingCall, PubSubPingResponse, PubSubReplacementMessage, PubSubFailedNodeMessage, PubSubNodeLeftMessage, PubSubAdoptChildCall, PubSubAdoptChildResponse, PubSubReleaseIntermediateMessage, PubSubHelpReleaseMessage, PubSubBackupSubscriptionMessage, PubSubBackupIntermediateMessage, PubSubBackupUnsubscribeMessage, PubSubMoveMessage, PubSubMoveListMessage, QuonMessage, QuonListMessage, QuonMoveMessage, QuonEventMessage, VastMessage, VastListMessage, VastMoveMessage, VastDiscardMessage, VastEventMessage, and P2pnsTunnelMessage.
Definition at line 62 of file OverSimMessage_m.h.
| OverSimMessage_Base& OverSimMessage_Base::operator= | ( | const OverSimMessage_Base & | other | ) | [protected] |
| bool OverSimMessage_Base::operator== | ( | const OverSimMessage_Base & | ) | [protected] |
| virtual void OverSimMessage_Base::parsimPack | ( | cCommBuffer * | b | ) | [virtual] |
Reimplemented in DHTPutCall, DHTGetCall, DHTPutResponse, DHTGetResponse, KbrTestCall, KbrTestResponse, ScribeJoinCall, ScribeJoinResponse, ScribePublishCall, ScribePublishResponse, CBRDHTGetCall, CBRDHTGetResponse, CoordsOfNodeCall, RttToNodeCall, CoordsOfNodeResponse, RttToNodeResponse, BaseOverlayMessage, BaseRouteMessage, BaseAppDataMessage, BaseRpcMessage, BaseCallMessage, BaseResponseMessage, RpcTimeoutMessage, FindNodeCall, FindNodeResponse, FailedNodeCall, FailedNodeResponse, PingCall, PingResponse, BootstrapLookupMessage, NextHopCall, NextHopResponse, DHTputCAPICall, DHTgetCAPICall, DHTputCAPIResponse, DHTgetCAPIResponse, DHTdumpCall, DHTdumpResponse, LookupCall, LookupResponse, P2pnsRegisterCall, P2pnsRegisterResponse, P2pnsResolveCall, P2pnsResolveResponse, GameAPIMessage, GameAPIListMessage, GameAPIPositionMessage, GameAPIResizeAOIMessage, GameAPIChatMessage, GameAPISnowMessage, GameAPIFrozenMessage, CoordsReqCall, CoordsReqResponse, OverSimMessage, BucketCall, BucketResponse, ChordMessage, NewSuccessorHintMessage, NotifyCall, NotifyResponse, JoinCall, JoinResponse, StabilizeCall, StabilizeResponse, FixfingersCall, FixfingersResponse, DeBruijnCall, DeBruijnResponse, GiaMessage, GiaNeighborMessage, TokenMessage, GiaIDMessage, GiaRouteMessage, KeyListMessage, SearchMessage, SearchResponseMessage, NiceMessage, NiceMemberMessage, NiceClusterMerge, NiceHeartbeat, NiceLeaderHeartbeat, CbrAppMessage, PastryMessage, PastryJoinMessage, PastryStateMessage, PastryLeafsetMessage, PastryRoutingRowRequestMessage, PastryRoutingRowMessage, PastryRequestMessage, PubSubJoinCall, PubSubJoinResponse, PubSubResponsibleNodeCall, PubSubResponsibleNodeResponse, PubSubTakeOverSubspaceCall, PubSubTakeOverSubspaceResponse, PubSubSubscriptionCall, PubSubSubscriptionResponse, PubSubUnsubscriptionMessage, PubSubHelpCall, PubSubHelpResponse, PubSubIntermediateCall, PubSubIntermediateResponse, PubSubBackupCall, PubSubBackupResponse, PubSubPingCall, PubSubPingResponse, PubSubReplacementMessage, PubSubFailedNodeMessage, PubSubNodeLeftMessage, PubSubAdoptChildCall, PubSubAdoptChildResponse, PubSubReleaseIntermediateMessage, PubSubHelpReleaseMessage, PubSubBackupSubscriptionMessage, PubSubBackupIntermediateMessage, PubSubBackupUnsubscribeMessage, PubSubMoveMessage, PubSubMoveListMessage, QuonMessage, QuonListMessage, QuonMoveMessage, QuonEventMessage, VastMessage, VastListMessage, VastMoveMessage, VastDiscardMessage, VastEventMessage, and P2pnsTunnelMessage.
| virtual void OverSimMessage_Base::parsimUnpack | ( | cCommBuffer * | b | ) | [virtual] |
Reimplemented in DHTPutCall, DHTGetCall, DHTPutResponse, DHTGetResponse, KbrTestCall, KbrTestResponse, ScribeJoinCall, ScribeJoinResponse, ScribePublishCall, ScribePublishResponse, CBRDHTGetCall, CBRDHTGetResponse, CoordsOfNodeCall, RttToNodeCall, CoordsOfNodeResponse, RttToNodeResponse, BaseOverlayMessage, BaseRouteMessage, BaseAppDataMessage, BaseRpcMessage, BaseCallMessage, BaseResponseMessage, RpcTimeoutMessage, FindNodeCall, FindNodeResponse, FailedNodeCall, FailedNodeResponse, PingCall, PingResponse, BootstrapLookupMessage, NextHopCall, NextHopResponse, DHTputCAPICall, DHTgetCAPICall, DHTputCAPIResponse, DHTgetCAPIResponse, DHTdumpCall, DHTdumpResponse, LookupCall, LookupResponse, P2pnsRegisterCall, P2pnsRegisterResponse, P2pnsResolveCall, P2pnsResolveResponse, GameAPIMessage, GameAPIListMessage, GameAPIPositionMessage, GameAPIResizeAOIMessage, GameAPIChatMessage, GameAPISnowMessage, GameAPIFrozenMessage, CoordsReqCall, CoordsReqResponse, OverSimMessage, BucketCall, BucketResponse, ChordMessage, NewSuccessorHintMessage, NotifyCall, NotifyResponse, JoinCall, JoinResponse, StabilizeCall, StabilizeResponse, FixfingersCall, FixfingersResponse, DeBruijnCall, DeBruijnResponse, GiaMessage, GiaNeighborMessage, TokenMessage, GiaIDMessage, GiaRouteMessage, KeyListMessage, SearchMessage, SearchResponseMessage, NiceMessage, NiceMemberMessage, NiceClusterMerge, NiceHeartbeat, NiceLeaderHeartbeat, CbrAppMessage, PastryMessage, PastryJoinMessage, PastryStateMessage, PastryLeafsetMessage, PastryRoutingRowRequestMessage, PastryRoutingRowMessage, PastryRequestMessage, PubSubJoinCall, PubSubJoinResponse, PubSubResponsibleNodeCall, PubSubResponsibleNodeResponse, PubSubTakeOverSubspaceCall, PubSubTakeOverSubspaceResponse, PubSubSubscriptionCall, PubSubSubscriptionResponse, PubSubUnsubscriptionMessage, PubSubHelpCall, PubSubHelpResponse, PubSubIntermediateCall, PubSubIntermediateResponse, PubSubBackupCall, PubSubBackupResponse, PubSubPingCall, PubSubPingResponse, PubSubReplacementMessage, PubSubFailedNodeMessage, PubSubNodeLeftMessage, PubSubAdoptChildCall, PubSubAdoptChildResponse, PubSubReleaseIntermediateMessage, PubSubHelpReleaseMessage, PubSubBackupSubscriptionMessage, PubSubBackupIntermediateMessage, PubSubBackupUnsubscribeMessage, PubSubMoveMessage, PubSubMoveListMessage, QuonMessage, QuonListMessage, QuonMoveMessage, QuonEventMessage, VastMessage, VastListMessage, VastMoveMessage, VastDiscardMessage, VastEventMessage, and P2pnsTunnelMessage.
1.5.8