VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrfSignalMessageProcessor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2007 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: signalMessageProcessor.h,v $ $Revision: 1.1 $ $State: Exp $
7 *******************************************************************************/
8 
11 
13 
14 #ifndef DtVrfSignalMessageProcessor_h
15 #define DtVrfSignalMessageProcessor_h
16 
18 
19 #include <string>
20 
22 
29 {
30 private:
32 
36 
38 protected:
39 
41  DtVrfSignalMessageProcessor(const char* pName);
42 
44  virtual bool init();
45 
46 public:
47 
49  virtual ~DtVrfSignalMessageProcessor();
50 
53  bool enabled() const;
54  virtual void setEnabled(bool bIsEnabled);
56 
59  virtual void installSelf(DtRadioMessageListener& rml);
60 
63  const std::string& name() const;
64  void setName(const std::string& sName);
66 
67 public:
68 
72  static DtVrfSignalMessageProcessor* create(const char* pName);
73 
74 protected:
75 
76  bool myEnabled;
77  std::string myName;
78 };
79 
81 {
82  return (myEnabled);
83 }
84 
85 inline const std::string& DtVrfSignalMessageProcessor::name() const
86 {
87  return (myName);
88 }
89 
90 inline void DtVrfSignalMessageProcessor::setName(const std::string& sName)
91 {
92  myName = sName;
93 }
94 
95 #endif
void setName(const std::string &sName)
Definition: vrfSignalMessageProcessor.h:90
bool myEnabled
Definition: vrfSignalMessageProcessor.h:76
std::string myName
Definition: vrfSignalMessageProcessor.h:77
bool enabled() const
status accessor/mutator
Definition: vrfSignalMessageProcessor.h:80
Object which registers callbacks with a DtExerciseConn to monitor for VR-Forces radio messages...
Definition: vrfSignalMessageProcessor.h:28
const std::string & name() const
Name accessor/mutator.
Definition: vrfSignalMessageProcessor.h:85
Object which registers callbacks with a DtEventManager to monitor for VR-Forces radio messages...
Definition: radioMessageListener.h:29
DT_DLL_DEBUGDRAWRENDERER void init(makVrv::DtDe &de)
Work function for the plugin initialization.
#define DT_DLL_vrfMsgTransport
This file is used to determine how to build.
Definition: vrfMsgTransportDefines.h:28

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)