VR-Exchange 2.8 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
griddedDataPublisher.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2014 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #if DtTENA
11 
12 #pragma once
13 
14 #include <vlTena/objectPublisher.h>
15 #include <vl/objectId.h>
16 
17 class DtGriddedDataRepository;
18 
19 namespace MAKVrExchange
20 {
21 
22  namespace DtTenaBroker
23  {
24 
25  class DtExerciseConn;
26  class DtTenaServantObject;
27 
31  class DT_DLL_VLTENA DtGriddedDataPublisher : public DtObjectPublisher
32  {
33  public:
34 
36  typedef DtGriddedDataRepository* (*DtStateRepCreator)();
37 
38  public:
39 
42  DtGriddedDataPublisher(
43  DtExerciseConn* conn,
44  const DtObjectId& id = DtObjectId::defaultId());
45 
47  virtual ~DtGriddedDataPublisher();
48 
51  virtual bool tick();
52 
54  virtual DtGriddedDataRepository* gridDataStateRep();
55 
57  virtual DtGriddedDataRepository* gdsr();
58 
61  virtual DtString interfaceToUse() const;
62 
63  static void setStateRepCreator(DtStateRepCreator creator);
64  static DtStateRepCreator stateRepCreator();
65 
66  protected:
67 
70  void initialize();
71 
72  protected:
73 
74  DtGriddedDataPublisher(const DtGriddedDataPublisher& orig);
75 
76  DtGriddedDataPublisher& operator=(const DtGriddedDataPublisher& orig);
77 
78  protected:
79 
80  static DtStateRepCreator theStateRepCreator;
81 
82  };
83 
84  }
85 }
86 
87 #endif // DtTENA
Contains the DtObjectPublisher class declaration.
#define DT_DLL_VLTENA
Definition: brokers/tenaBroker/vlTena/dllExport.h:26

Document ID: Generated on Tue Aug 16 16:15:26 EDT 2022 from SVN revision 245901
Copyright © 2005-2022 MAK Technologies. All Rights Reserved (www.mak.com)