VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
tdlMessageProcessor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2017 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
10 
12 
13 namespace makVrv
14 {
15  class DtBaseConnection;
16 }
17 
18 namespace makVrf
19 {
20  class DtTDLNetworkMessageHandlerAgent;
21  class DtTDLGenericNetworkMessage;
22  class DtTDLPPLIMessage;
23 
28  {
29  public:
32 
34  virtual ~DtTDLMessageProcessor();
35 
38  static void registerInstance(makVrv::DtBaseConnection& conn,
39  DtTDLMessageProcessor* instance);
40 
41  static DtTDLMessageProcessor* findInstance(makVrv::DtBaseConnection& sim);
42 
44  {
45  return myRemoteController;
46  }
47 
48  DtTDLNetworkMessageHandlerAgent* tdlNetworkMessageHandlerAgent()
49  {
50  return myTDLNetworkMessageHandlerAgent;
51  }
53  virtual void processMessage(const DtTDLGenericNetworkMessage&);
54  virtual void processMessage(const DtTDLPPLIMessage&);
55 
56  protected:
59  DtTDLNetworkMessageHandlerAgent* myTDLNetworkMessageHandlerAgent;
60  };
61 }
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
DtVrfRemoteController * remoteController()
Definition: tdlMessageProcessor.h:43
DtVrfRemoteController * myRemoteController
Definition: tdlMessageProcessor.h:58
DtTDLNetworkMessageHandlerAgent * myTDLNetworkMessageHandlerAgent
Definition: tdlMessageProcessor.h:59
makVrv::DtBaseConnection & myConnection
Definition: tdlMessageProcessor.h:57
The DtBaseConnection is an abstract class.
Definition: DtBaseConnection.h:38
The main class for the remote control interface to VR-Forces. Instantiating this class allows the sen...
Definition: vrfRemoteController.h:201
Contains makVrv::DtVirtualBaseClass class.
There are certain TDL messages that are indicators of locational display and symbol creation...
Definition: tdlGenericNetworkMessage.h:66
Definition: tdlGenericNetworkMessage.h:20
The DtTDLMessageProcessor is a base class that will create the agent that can be used to send more ge...
Definition: tdlMessageProcessor.h:27
#define DT_DLL_vrfGuiNetworkCommon
This file is used to determine how to build.
Definition: vrfGuiNetworkCommonDefines.h:24
DtTDLNetworkMessageHandlerAgent * tdlNetworkMessageHandlerAgent()
Definition: tdlMessageProcessor.h:48

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)