VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
exTDLVrfGuiAccessory.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 namespace makVrv
11 {
12  class DtConnection;
13  class DtVrlinkDriver;
14 }
15 
20 {
21 public:
22  //\Default constructor
24 
25  //\Default destructor
27 
28  //\brief Called when this accessory is installed into a connector.
29  virtual void install(makVrv::DtDriver* driver);
30 
31  //\brief Called when this accessory is uninstalled
32  virtual void uninstall(makVrv::DtDriver* baseConn);
33 
34  //\brief Called to find out if this accessory is compatible with a
35  //particular connector. In this case, it is compatible with any
36  //DtVrlinkDriver of the correct protocol
37  virtual bool isCompatible(makVrv::DtDriver* driver);
38 
39 protected:
40 
41  //\brief Called when the driver creates a new connection
42  virtual void slot_onSimCreated(makVrv::DtConnection* connection);
43 
44  //\brief Called when a sim connection is connected
45  virtual void slot_onSimConnected(makVrv::DtConnection* connection);
46 
47  //\brief Called when a sim connection is disconnected
48  virtual void slot_onSimAboutToBeDisconnected(makVrv::DtConnection* connection);
49 
51  virtual void slot_driverAboutToBeSetUp();
52 
54  virtual void slot_connectionSetUp();
55 
56 protected:
58 };
The base class for protocol specific VRLink Simulations.
Definition: DtConnection.h:41
makVrf::VRF_PROTOCOL_NAMESPACE::DtVrfDriver * myDriver
Definition: exTDLVrfGuiAccessory.h:57
virtual void slot_connectionSetUp()
Called when connection is set up so the new TDL message can be added
virtual void slot_onSimCreated(makVrv::DtConnection *connection)
Contains makVrv::DtBaseAccessory class.
virtual bool isCompatible(makVrv::DtDriver *driver)
Called to find out if this accessory is compatible with a particular driver.
This used to create our new message processor.
Definition: exTDLVrfGuiAccessory.h:19
The DtDriver is an abstract class.
Definition: DtDriver.h:34
virtual ~ExampleTDLVrfGuiAccessory()
virtual void slot_onSimAboutToBeDisconnected(makVrv::DtConnection *connection)
virtual void uninstall(makVrv::DtDriver *baseConn)
Called when this accessory is uninstalled from a driver (right after the driver is stopped)...
An accessory is like a plugin into a driver.
Definition: DtBaseAccessory.h:29
virtual void install(makVrv::DtDriver *driver)
Called when this accessory is installed into a driver (right before the driver is started)...
virtual void slot_driverAboutToBeSetUp()
Called when the driver is going to be set up. Replaces the VRF TDL processor with the Link16 Processo...
virtual void slot_onSimConnected(makVrv::DtConnection *connection)
The Driver for DIS.
Definition: vrfDriver.h:171

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)