WebLVC 1.7d API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
emitterSystemPublisher.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 DtEmitterSystemRepository;
18 
19 namespace MAKVrExchange
20 {
21 
22  namespace DtTenaBroker
23  {
24 
25  class DtExerciseConn;
26  class DtTenaServantObject;
27 
32  class DT_DLL_VLTENA DtEmitterSystemPublisher : public DtObjectPublisher
33  {
34  public:
35 
37  typedef DtEmitterSystemRepository* (*DtStateRepCreator)();
38 
39  public:
40 
43  DtEmitterSystemPublisher(
44  DtExerciseConn* conn,
45  const DtObjectId& id = DtObjectId::defaultId());
46 
48  virtual ~DtEmitterSystemPublisher();
49 
52  virtual bool tick();
53 
55  virtual DtEmitterSystemRepository* emitterSystemStateRep();
56 
58  virtual DtEmitterSystemRepository* esr();
59 
62  virtual DtString interfaceToUse() const;
63 
64  static void setStateRepCreator(DtStateRepCreator creator);
65  static DtStateRepCreator stateRepCreator();
66 
67  protected:
68 
71  void initialize();
72 
73  protected:
74 
75  DtEmitterSystemPublisher(const DtEmitterSystemPublisher& orig);
76 
77  DtEmitterSystemPublisher& operator=(const DtEmitterSystemPublisher& orig);
78 
79  protected:
80 
81  static DtStateRepCreator theStateRepCreator;
82 
83  };
84 
85  }
86 }
87 
88 #endif // DtTENA
Contains the DtObjectPublisher class declaration.
#define DT_DLL_VLTENA
Definition: brokers/tenaBroker/vlTena/dllExport.h:26

Document ID: Generated on Wed Jun 21 15:05:44 EDT 2023 from SVN revision 256253
Copyright © 2005-2023 MAK Technologies. All Rights Reserved (www.mak.com)