VR-Forces 4.0.4 Class Documentation
include/vrfExtProtocol/ifRadioMessageReceived.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2007 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: ifRadioMessageReceived.h,v $ $Revision: 1.1 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00013 
00014 #ifndef ifRadioMessageReceived_h
00015 #define ifRadioMessageReceived_h
00016 
00017 #include <vrfExtProtocol/ifaceCont.h>
00018 #include <vrfExtProtocol/vrfExtProtocolDefines.h>
00019 
00024 class DT_DLL_vrfExtProtocol DtIfRadioMessageReceived : public DtSimInterfaceContent
00025 {
00026 public:
00027 
00029    DtIfRadioMessageReceived();
00030 
00032    virtual ~DtIfRadioMessageReceived();
00033 
00035    DtIfRadioMessageReceived(const DtIfRadioMessageReceived& orig);
00036 
00038    DtIfRadioMessageReceived& operator=(const DtIfRadioMessageReceived& orig);
00039 
00041    virtual DtSimInterfaceContent * clone() const;
00042 
00045    virtual int type() const;
00046 
00048 
00049    virtual DtString senderObjectName() const;
00050    virtual void setSenderObjectName(const DtString& name);
00052 
00054 
00055    virtual DtString receiverObjectName() const;
00056    virtual void setReceiverObjectName(const DtString& name);
00058 
00060 
00061    virtual double frequency() const;
00062    virtual void setFrequency(double frequency);
00064    
00066 
00067    virtual int netRepSize() const;
00068    virtual bool setFromNet(const char* contentBuffer, 
00069       unsigned contentSize);
00070    virtual bool setToNet();
00072    virtual void printDataToString(DtString& str);
00073 
00074    static DtSimInterfaceContent* creator();
00075 
00076 protected:
00077    DtString mySenderObjectName;
00078    DtString myReceiverObjectName;
00079    double myFrequency;
00080 };
00081 
00082 #endif

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)