OverSim
OverSimMessage_Base Class Reference

Class generated from common/OverSimMessage.msg by opp_msgc. More...

#include <OverSimMessage_m.h>

Inheritance diagram for OverSimMessage_Base:
OverSimMessage BaseOverlayMessage P2pnsTunnelMessage BaseAppDataMessage BaseRouteMessage BaseRpcMessage BootstrapLookupMessage ChordMessage GameAPIMessage GiaMessage KademliaRoutingInfoMessage NiceMessage NTreeCollapseMessage NTreeGroupAddMessage NTreeGroupDeleteMessage NTreeLeaveMessage NTreeMoveMessage NTreeReplaceNodeMessage NTreeTakeOverMessage PastryStateMessage PubSubBackupIntermediateMessage PubSubBackupSubscriptionMessage PubSubBackupUnsubscribeMessage PubSubFailedNodeMessage PubSubHelpReleaseMessage PubSubMoveListMessage PubSubMoveMessage PubSubNodeLeftMessage PubSubReleaseIntermediateMessage PubSubReplacementMessage PubSubUnsubscriptionMessage QuonMessage VastMessage

Public Member Functions

virtual ~OverSimMessage_Base ()
virtual OverSimMessage_Basedup () 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_Baseoperator= (const OverSimMessage_Base &other)

Private Member Functions

void copy (const OverSimMessage_Base &other)

Detailed Description

Class generated from 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
{
  private:
    void copy(const OverSimMessage& other) { ... }
  public:
    OverSimMessage(const char *name=NULL, int kind=0) : OverSimMessage_Base(name,kind) {}
    OverSimMessage(const OverSimMessage& other) : OverSimMessage_Base(other) {copy(other);}
    OverSimMessage& operator=(const OverSimMessage& other) {if (this==&other) return *this; OverSimMessage_Base::operator=(other); copy(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 57 of file OverSimMessage_m.h.

Constructor & Destructor Documentation

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

Member Function Documentation

void OverSimMessage_Base::copy ( const OverSimMessage_Base other)
private
virtual OverSimMessage_Base* OverSimMessage_Base::dup ( ) const
inlinevirtual

Reimplemented in GameAPIFrozenMessage, GameAPISnowMessage, GameAPIChatMessage, GameAPIResizeAOIMessage, GameAPIPositionMessage, GameAPIListMessage, GameAPIMessage, P2pnsResolveResponse, P2pnsResolveCall, P2pnsRegisterResponse, P2pnsRegisterCall, LookupResponse, LookupCall, DHTdumpResponse, DHTdumpCall, DHTgetCAPIResponse, DHTputCAPIResponse, DHTgetCAPICall, DHTputCAPICall, PubSubMoveListMessage, PubSubMoveMessage, PubSubBackupUnsubscribeMessage, PubSubBackupIntermediateMessage, PubSubBackupSubscriptionMessage, PubSubHelpReleaseMessage, PubSubReleaseIntermediateMessage, PubSubAdoptChildResponse, PubSubAdoptChildCall, NextHopResponse, NextHopCall, PubSubNodeLeftMessage, BootstrapLookupMessage, PubSubFailedNodeMessage, PubSubReplacementMessage, PingResponse, PubSubPingResponse, PingCall, PubSubPingCall, FailedNodeResponse, PubSubBackupResponse, FailedNodeCall, CapReqResponse, PubSubBackupCall, NTreeTakeOverMessage, FindNodeResponse, CapReqCall, PubSubIntermediateResponse, AreaDataCall, FindNodeCall, NTreeReplaceNodeMessage, PubSubIntermediateCall, SimpleCoordStrategyCall, RequestRoutingRowResponse, RpcTimeoutMessage, NTreeGroupAddMessage, DeBruijnResponse, PubSubHelpResponse, RegionsStrategyCall, RequestRoutingRowCall, BaseResponseMessage, NTreeMoveMessage, DeBruijnCall, RequestLeafSetResponse, TreeTestStrategyCall, PubSubHelpCall, BaseCallMessage, NTreeLeaveMessage, RequestLeafSetCall, RemoveRandomStrategyCall, PubSubUnsubscriptionMessage, BaseRpcMessage, RequestRepairResponse, SendAllStrategyCall, NTreeCollapseMessage, FixfingersResponse, PubSubSubscriptionResponse, BaseAppDataMessage, RequestRepairCall, SearchResponseMessage, SendCoordinatesCall, FixfingersCall, PubSubSubscriptionCall, NTreeGroupDeleteMessage, RequestStateResponse, ChildCheckResponse, StabilizeResponse, PubSubTakeOverSubspaceResponse, SearchMessage, BaseRouteMessage, RequestStateCall, NTreeNodePingResponse, NiceMulticastMessage, ChildCheckCall, StabilizeCall, PubSubTakeOverSubspaceCall, PastryJoinResponse, KeyListMessage, NTreePingResponse, BaseOverlayMessage, ChildReleaseResponse, PastryJoinCall, NiceLeaderHeartbeat, JoinResponse, PubSubResponsibleNodeResponse, NTreeNodePingCall, GiaRouteMessage, ChildReleaseCall, VastEventMessage, QuonEventMessage, JoinCall, PubSubResponsibleNodeCall, GlobalViewBuilderResponse, VastDiscardMessage, NiceHeartbeat, NTreePingCall, GiaIDMessage, DHTGetResponse, QuonMoveMessage, PubSubJoinResponse, GlobalViewBuilderCall, NotifyResponse, VastMoveMessage, UnderlayTestResponse, ScribePublishResponse, NTreeDivideResponse, TokenMessage, NiceClusterMerge, TreeAppResponse, PubSubJoinCall, DHTPutResponse, QuonListMessage, NotifyCall, UnderlayTestCall, RttToNodeResponse, ScribePublishCall, NTreeDivideCall, GiaNeighborMessage, NiceMemberMessage, VastListMessage, TreeAppCall, BucketResponse, DHTGetCall, KbrTestResponse, NewSuccessorHintMessage, QuonMessage, CoordsOfNodeResponse, PastryStateMessage, ScribeJoinResponse, ParentRequestResponse, NiceMessage, ProxFindNodeResponse, GiaMessage, NTreeJoinResponse, DiscoveryResponse, BucketCall, VastMessage, KbrTestCall, ChordMessage, MyNeighborResponse, CoordsReqResponse, CBRDHTGetResponse, RttToNodeCall, ScribeJoinCall, ParentRequestCall, DHTPutCall, ProxFindNodeCall, NTreeJoinCall, DiscoveryCall, KademliaRoutingInfoMessage, P2pnsTunnelMessage, CoordsOfNodeCall, CoordsReqCall, MyNeighborCall, CBRDHTGetCall, and OverSimMessage.

Definition at line 75 of file OverSimMessage_m.h.

{throw cRuntimeError("You forgot to manually add a dup() function to class OverSimMessage");}
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 GameAPIFrozenMessage, GameAPISnowMessage, GameAPIChatMessage, GameAPIResizeAOIMessage, GameAPIPositionMessage, GameAPIListMessage, GameAPIMessage, P2pnsResolveResponse, P2pnsResolveCall, P2pnsRegisterResponse, P2pnsRegisterCall, LookupResponse, LookupCall, DHTdumpResponse, DHTdumpCall, DHTgetCAPIResponse, DHTputCAPIResponse, DHTgetCAPICall, DHTputCAPICall, PubSubMoveListMessage, PubSubMoveMessage, PubSubBackupUnsubscribeMessage, PubSubBackupIntermediateMessage, PubSubBackupSubscriptionMessage, PubSubHelpReleaseMessage, PubSubReleaseIntermediateMessage, PubSubAdoptChildResponse, PubSubAdoptChildCall, NextHopResponse, NextHopCall, PubSubNodeLeftMessage, BootstrapLookupMessage, PubSubFailedNodeMessage, PubSubReplacementMessage, PingResponse, PubSubPingResponse, PingCall, PubSubPingCall, FailedNodeResponse, PubSubBackupResponse, FailedNodeCall, CapReqResponse, PubSubBackupCall, NTreeTakeOverMessage, FindNodeResponse, CapReqCall, PubSubIntermediateResponse, AreaDataCall, FindNodeCall, NTreeReplaceNodeMessage, PubSubIntermediateCall, SimpleCoordStrategyCall, RequestRoutingRowResponse, RpcTimeoutMessage, NTreeGroupAddMessage, DeBruijnResponse, PubSubHelpResponse, RegionsStrategyCall, RequestRoutingRowCall, BaseResponseMessage, NTreeMoveMessage, DeBruijnCall, RequestLeafSetResponse, TreeTestStrategyCall, PubSubHelpCall, BaseCallMessage, NTreeLeaveMessage, RequestLeafSetCall, RemoveRandomStrategyCall, PubSubUnsubscriptionMessage, BaseRpcMessage, RequestRepairResponse, SendAllStrategyCall, NTreeCollapseMessage, FixfingersResponse, PubSubSubscriptionResponse, BaseAppDataMessage, RequestRepairCall, SearchResponseMessage, SendCoordinatesCall, FixfingersCall, PubSubSubscriptionCall, NTreeGroupDeleteMessage, RequestStateResponse, ChildCheckResponse, StabilizeResponse, PubSubTakeOverSubspaceResponse, SearchMessage, BaseRouteMessage, RequestStateCall, NTreeNodePingResponse, NiceMulticastMessage, ChildCheckCall, StabilizeCall, PubSubTakeOverSubspaceCall, PastryJoinResponse, KeyListMessage, NTreePingResponse, BaseOverlayMessage, ChildReleaseResponse, PastryJoinCall, NiceLeaderHeartbeat, JoinResponse, PubSubResponsibleNodeResponse, NTreeNodePingCall, GiaRouteMessage, ChildReleaseCall, VastEventMessage, QuonEventMessage, JoinCall, PubSubResponsibleNodeCall, GlobalViewBuilderResponse, VastDiscardMessage, NiceHeartbeat, NTreePingCall, GiaIDMessage, DHTGetResponse, QuonMoveMessage, PubSubJoinResponse, GlobalViewBuilderCall, NotifyResponse, VastMoveMessage, UnderlayTestResponse, ScribePublishResponse, NTreeDivideResponse, TokenMessage, NiceClusterMerge, TreeAppResponse, PubSubJoinCall, DHTPutResponse, QuonListMessage, NotifyCall, UnderlayTestCall, RttToNodeResponse, ScribePublishCall, NTreeDivideCall, GiaNeighborMessage, NiceMemberMessage, VastListMessage, TreeAppCall, BucketResponse, DHTGetCall, KbrTestResponse, NewSuccessorHintMessage, QuonMessage, CoordsOfNodeResponse, PastryStateMessage, ScribeJoinResponse, ParentRequestResponse, NiceMessage, ProxFindNodeResponse, GiaMessage, NTreeJoinResponse, DiscoveryResponse, BucketCall, VastMessage, KbrTestCall, ChordMessage, MyNeighborResponse, CoordsReqResponse, CBRDHTGetResponse, RttToNodeCall, ScribeJoinCall, ParentRequestCall, DHTPutCall, ProxFindNodeCall, NTreeJoinCall, DiscoveryCall, KademliaRoutingInfoMessage, P2pnsTunnelMessage, CoordsOfNodeCall, CoordsReqCall, MyNeighborCall, CBRDHTGetCall, and OverSimMessage.

virtual void OverSimMessage_Base::parsimUnpack ( cCommBuffer *  b)
virtual

Reimplemented in GameAPIFrozenMessage, GameAPISnowMessage, GameAPIChatMessage, GameAPIResizeAOIMessage, GameAPIPositionMessage, GameAPIListMessage, GameAPIMessage, P2pnsResolveResponse, P2pnsResolveCall, P2pnsRegisterResponse, P2pnsRegisterCall, LookupResponse, LookupCall, DHTdumpResponse, DHTdumpCall, DHTgetCAPIResponse, DHTputCAPIResponse, DHTgetCAPICall, DHTputCAPICall, PubSubMoveListMessage, PubSubMoveMessage, PubSubBackupUnsubscribeMessage, PubSubBackupIntermediateMessage, PubSubBackupSubscriptionMessage, PubSubHelpReleaseMessage, PubSubReleaseIntermediateMessage, PubSubAdoptChildResponse, PubSubAdoptChildCall, NextHopResponse, NextHopCall, PubSubNodeLeftMessage, BootstrapLookupMessage, PubSubFailedNodeMessage, PubSubReplacementMessage, PingResponse, PubSubPingResponse, PingCall, PubSubPingCall, FailedNodeResponse, PubSubBackupResponse, FailedNodeCall, CapReqResponse, PubSubBackupCall, NTreeTakeOverMessage, FindNodeResponse, CapReqCall, PubSubIntermediateResponse, AreaDataCall, FindNodeCall, NTreeReplaceNodeMessage, PubSubIntermediateCall, SimpleCoordStrategyCall, RequestRoutingRowResponse, RpcTimeoutMessage, NTreeGroupAddMessage, DeBruijnResponse, PubSubHelpResponse, RegionsStrategyCall, RequestRoutingRowCall, BaseResponseMessage, NTreeMoveMessage, DeBruijnCall, RequestLeafSetResponse, TreeTestStrategyCall, PubSubHelpCall, BaseCallMessage, NTreeLeaveMessage, RequestLeafSetCall, RemoveRandomStrategyCall, PubSubUnsubscriptionMessage, BaseRpcMessage, RequestRepairResponse, SendAllStrategyCall, NTreeCollapseMessage, FixfingersResponse, PubSubSubscriptionResponse, BaseAppDataMessage, RequestRepairCall, SearchResponseMessage, SendCoordinatesCall, FixfingersCall, PubSubSubscriptionCall, NTreeGroupDeleteMessage, RequestStateResponse, ChildCheckResponse, StabilizeResponse, PubSubTakeOverSubspaceResponse, SearchMessage, BaseRouteMessage, RequestStateCall, NTreeNodePingResponse, NiceMulticastMessage, ChildCheckCall, StabilizeCall, PubSubTakeOverSubspaceCall, PastryJoinResponse, KeyListMessage, NTreePingResponse, BaseOverlayMessage, ChildReleaseResponse, PastryJoinCall, NiceLeaderHeartbeat, JoinResponse, PubSubResponsibleNodeResponse, NTreeNodePingCall, GiaRouteMessage, ChildReleaseCall, VastEventMessage, QuonEventMessage, JoinCall, PubSubResponsibleNodeCall, GlobalViewBuilderResponse, VastDiscardMessage, NiceHeartbeat, NTreePingCall, GiaIDMessage, DHTGetResponse, QuonMoveMessage, PubSubJoinResponse, GlobalViewBuilderCall, NotifyResponse, VastMoveMessage, UnderlayTestResponse, ScribePublishResponse, NTreeDivideResponse, TokenMessage, NiceClusterMerge, TreeAppResponse, PubSubJoinCall, DHTPutResponse, QuonListMessage, NotifyCall, UnderlayTestCall, RttToNodeResponse, ScribePublishCall, NTreeDivideCall, GiaNeighborMessage, NiceMemberMessage, VastListMessage, TreeAppCall, BucketResponse, DHTGetCall, KbrTestResponse, NewSuccessorHintMessage, QuonMessage, CoordsOfNodeResponse, PastryStateMessage, ScribeJoinResponse, ParentRequestResponse, NiceMessage, ProxFindNodeResponse, GiaMessage, NTreeJoinResponse, DiscoveryResponse, BucketCall, VastMessage, KbrTestCall, ChordMessage, MyNeighborResponse, CoordsReqResponse, CBRDHTGetResponse, RttToNodeCall, ScribeJoinCall, ParentRequestCall, DHTPutCall, ProxFindNodeCall, NTreeJoinCall, DiscoveryCall, KademliaRoutingInfoMessage, P2pnsTunnelMessage, CoordsOfNodeCall, CoordsReqCall, MyNeighborCall, CBRDHTGetCall, and OverSimMessage.


The documentation for this class was generated from the following file: