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