VR-Exchange 2.7 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
radioReceiverPublisher.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2015 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #if DtTENA
11 
12 #pragma once
13 
14 #include <vlTena/dllExport.h>
15 #include <vlTena/objectPublisher.h>
16 #include <vl/objectId.h>
17 
18 class DtRadioReceiverRepository;
19 
20 namespace MAKVrExchange
21 {
22 
23  namespace DtTenaBroker
24  {
25 
26  class DtExerciseConn;
27  class DtTenaServantObject;
28 
32  class DT_DLL_VLTENA DtRadioReceiverPublisher : public DtObjectPublisher
33  {
34  public:
35 
37  typedef DtRadioReceiverRepository* (*DtStateRepCreator)();
38 
39  public:
40 
43  DtRadioReceiverPublisher( DtExerciseConn* conn,
44  const DtObjectId& id = DtObjectId::defaultId(), int radioId = 1 );
45 
47  virtual ~DtRadioReceiverPublisher();
48 
51  virtual bool tick();
52 
54  virtual DtRadioReceiverRepository* receiverRep();
55 
57  virtual DtRadioReceiverRepository* rsr();
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  DtRadioReceiverPublisher(const DtRadioReceiverPublisher& orig);
75 
76  DtRadioReceiverPublisher& operator=(const DtRadioReceiverPublisher& 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 Mon Apr 19 15:55:22 EDT 2021 from SVN revision 227909
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)