VR-Forces 5.0.1 Developer's Guide
 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 #pragma once
7 
9 
10 #include <string>
11 
13 
20 {
21 private:
23 
27 
29 protected:
30 
32  DtVrfSignalMessageProcessor(const char* pName);
33 
35  virtual bool init();
36 
37 public:
38 
40  virtual ~DtVrfSignalMessageProcessor();
41 
44  bool enabled() const;
45  virtual void setEnabled(bool bIsEnabled);
47 
50  virtual void installSelf(DtRadioMessageListener& rml);
51 
54  const std::string& name() const;
55  void setName(const std::string& sName);
57 
58 public:
59 
63  static DtVrfSignalMessageProcessor* create(const char* pName);
64 
65 protected:
66 
67  bool myEnabled;
68  std::string myName;
69 };
70 
72 {
73  return (myEnabled);
74 }
75 
76 inline const std::string& DtVrfSignalMessageProcessor::name() const
77 {
78  return (myName);
79 }
80 
81 inline void DtVrfSignalMessageProcessor::setName(const std::string& sName)
82 {
83  myName = sName;
84 }
void setName(const std::string &sName)
Name accessor/mutator.
Definition: vrfSignalMessageProcessor.h:81
bool myEnabled
Definition: vrfSignalMessageProcessor.h:67
std::string myName
Definition: vrfSignalMessageProcessor.h:68
bool enabled() const
status accessor/mutator
Definition: vrfSignalMessageProcessor.h:71
Object which registers callbacks with a DtExerciseConn to monitor for VR-Forces radio messages...
Definition: vrfSignalMessageProcessor.h:19
const std::string & name() const
Name accessor/mutator.
Definition: vrfSignalMessageProcessor.h:76
Object which registers callbacks with a DtCommunicationManager to monitor for VR-Forces radio message...
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 Disable inconsistent dll linkage warning Visual Studio 6...
Definition: vrfCommunicationManagerDefines.h:26

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)