VR-Link API Documentation for DIS
hRadioRcvrPub.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 1992-2010 VT MAK
00003 ** All rights reserved.
00004 *********************************************************************/
00005 
00006 
00007 #if DtHLA 
00008 
00009 #ifndef hRadioRcvrPub_H_
00010 #define hRadioRcvrPub_H_
00011 
00012 #include "hObjPub.h"
00013 
00017 
00018 class DtRadioReceiverRepository;
00019 
00026 
00027 class DT_DLL_VL DtRadioReceiverPublisher : public DtObjectPublisher
00028 {
00029 public:
00030 
00033    typedef DtRadioReceiverRepository* (*DtStateRepCreator)();
00034 
00035 public:
00036 
00038    DtRadioReceiverPublisher(
00039       DtRadioReceiverRepository *stateRepToUse,
00040       DtExerciseConn* conn, 
00041       const char* name = 0,
00042       const DtDDMRegionSet* regionSetToUse = 0);
00043       
00045    DtRadioReceiverPublisher(
00046       DtExerciseConn* conn, 
00047       const char* name = 0,
00048       const DtDDMRegionSet* regionSetToUse = 0);
00049       
00051    DtRadioReceiverPublisher(
00052       RTI::ObjectClassHandle h,
00053       DtExerciseConn* conn, 
00054       const char* name = 0,
00055       const DtDDMRegionSet* regionSetToUse = 0);      
00056    
00062    DtRadioReceiverPublisher(
00063       DtHlaObjectWithStateRep* obj, 
00064       DtExerciseConn* conn);
00065 
00067    virtual ~DtRadioReceiverPublisher();
00068 
00071    virtual DtRadioReceiverRepository* receiverRep();
00072 
00074    virtual DtRadioReceiverRepository* rsr();
00075 
00078    virtual const char* classToUse() const;
00079 
00080 public:
00081 
00083    static DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
00084    
00085 protected:
00086 
00088    DtRadioReceiverPublisher(const DtRadioReceiverPublisher& orig);
00089 
00091    DtRadioReceiverPublisher& operator= 
00092       (const DtRadioReceiverPublisher& orig);
00093 
00094 protected:
00095 
00096    static DtStateRepCreator theStateRepCreator;
00097 };
00098 
00099 inline DtRadioReceiverRepository* 
00100    DtRadioReceiverPublisher::receiverRep()
00101 {
00102    return (DtRadioReceiverRepository*) myStateRep;
00103 }
00104 
00105 inline DtRadioReceiverRepository* DtRadioReceiverPublisher::rsr()
00106 {
00107    return (DtRadioReceiverRepository*) myStateRep;
00108 }
00109 
00110 #endif   //DtRadioReceiverPublisher_H_
00111 #endif   //DtHLA
00112 

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)