VR-Link API Documentation for HLA 1.3
tEmittrSysPub.h
Go to the documentation of this file.
00001 //********************************************************************
00004 //********************************************************************
00005 //********************************************************************
00007 //********************************************************************
00008 
00009 #ifndef tEmittrSysPub_H_
00010 #define tEmittrSysPub_H_
00011 
00012 #if DtTENA
00013 
00014 #include "tObjPub.h"
00015 #include "objectId.h"
00016 
00020 
00021 class DT_DLL_VL DtExerciseConn;
00022 class DT_DLL_VL DtEmitterSystemRepository;
00023 class DT_DLL_VL DtTenaServantObject;
00024 
00029 class DT_DLL_VL DtEmitterSystemPublisher : public DtObjectPublisher
00030 {
00031 public:
00033    typedef DtEmitterSystemRepository* (*DtStateRepCreator)();
00034 
00035 public:
00038    DtEmitterSystemPublisher(
00039       DtExerciseConn* conn,
00040       const DtObjectId& id = DtObjectId::defaultId());
00041 
00043    virtual ~DtEmitterSystemPublisher();
00044 
00047    virtual bool tick();
00048 
00050    virtual DtEmitterSystemRepository* emitterSystemStateRep();
00051 
00053    virtual DtEmitterSystemRepository* esr();
00054 
00057    virtual DtString interfaceToUse() const;
00058 
00059 public:
00060    static void setStateRepCreator(DtStateRepCreator creator);
00061    static DtStateRepCreator stateRepCreator();
00062 
00063 protected:
00064    DtEmitterSystemPublisher(const DtEmitterSystemPublisher& orig);
00065 
00066    DtEmitterSystemPublisher& operator=(const DtEmitterSystemPublisher& orig);
00067 
00068 protected:
00071    void initialize();
00072 
00073 protected:
00074    static DtStateRepCreator theStateRepCreator;
00075 };
00076 
00077 #endif
00078 #endif
00079 

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)