VR-Link API Documentation for HLA 1516
tGridDataPub.h
Go to the documentation of this file.
00001 //********************************************************************
00004 //********************************************************************
00005 //********************************************************************
00007 //********************************************************************
00008 
00009 #ifndef tGridDataPub_H_
00010 #define tGridDataPub_H_
00011 
00012 #if DtTENA
00013 
00017 
00018 #include "tObjPub.h"
00019 #include "objectId.h"
00020 
00021 class DT_DLL_VL DtExerciseConn;
00022 class DT_DLL_VL DtGriddedDataRepository;
00023 class DT_DLL_VL DtTenaServantObject;
00024 
00025 
00029 class DT_DLL_VL DtGriddedDataPublisher : public DtObjectPublisher
00030 {
00031 public:
00033    typedef DtGriddedDataRepository* (*DtStateRepCreator)();
00034 
00035 public:
00038    DtGriddedDataPublisher(
00039       DtExerciseConn* conn,
00040       const DtObjectId& id = DtObjectId::defaultId());
00041 
00043    virtual ~DtGriddedDataPublisher();
00044 
00047    virtual bool tick();
00048 
00050    virtual DtGriddedDataRepository* gridDataStateRep();
00051 
00053    virtual DtGriddedDataRepository* gdsr();
00054 
00057    virtual DtString interfaceToUse() const;
00058 
00059 public:
00060    static void setStateRepCreator(DtStateRepCreator creator);
00061    static DtStateRepCreator stateRepCreator();
00062 
00063 protected:
00064    DtGriddedDataPublisher(const DtGriddedDataPublisher& orig);
00065 
00066    DtGriddedDataPublisher& operator=(const DtGriddedDataPublisher& 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)