VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
addStateComponentGuiAccessory.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2022 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
10 
11 namespace makVrv
12 {
13  class DtConnection;
14  class DtVrlinkDriver;
15 }
16 
17 //\brief This class will install the derived remote state interface to be able to read the temperature over the network
19 {
20 public:
21  //\Default constructor
23 
24  //\Default destructor
26 
27  //\brief Called when this accessory is installed into a connector.
28  virtual void install(makVrv::DtDriver* driver);
29 
30  //\brief Called when this accessory is uninstalled
31  virtual void uninstall(makVrv::DtDriver* baseConn);
32 
33  //\brief Called to find out if this accessory is compatible with a
34  //particular connector. In this case, it is compatible with any
35  //DtVrlinkDriver of the correct protocol
36  virtual bool isCompatible(makVrv::DtDriver* driver);
37 
38 protected:
39 
40  //\brief Called when the driver creates a new connection
41  virtual void slot_onSimCreated(makVrv::DtConnection* connection);
42 
43  //\brief Called when a sim connection is connected
44  virtual void slot_onSimConnected(makVrv::DtConnection* connection);
45 
46  //\brief Called when a sim connection is disconnected
47  virtual void slot_onSimAboutToBeDisconnected(makVrv::DtConnection* connection);
48 
51  virtual void slot_onConnectionSetUp();
52 
54  virtual void slot_driverStarted();
55 
56 protected:
58 };
59 
60 
63 {
64 public:
66 
69 
71 
73 };
The base class for protocol specific VRLink Simulations.
Definition: DtConnection.h:41
virtual void uninstall(makVrv::DtDriver *baseConn)
Called when this accessory is uninstalled from a driver (right after the driver is stopped)...
makVrf::VRF_PROTOCOL_NAMESPACE::DtVrfDriver * myDriver
Definition: addStateComponentGuiAccessory.h:57
virtual void install(makVrv::DtDriver *driver)
Called when this accessory is installed into a driver (right before the driver is started)...
virtual DtEntityStateRepository * create(makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkEntityStateListener *listener)
Create function.
Contains makVrv::DtBaseAccessory class.
static DtAddStateComponentEntityStateInterceptorCreator & instance(makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkConnection &sim)
The DtDriver is an abstract class. Developers derive from this to create logic that "directs" things ...
Definition: DtDriver.h:31
virtual void slot_onConnectionSetUp()
Called when the VRF driver has finished setting up the connection, install the reflected net interfac...
virtual void slot_onSimCreated(makVrv::DtConnection *connection)
virtual void slot_onSimAboutToBeDisconnected(makVrv::DtConnection *connection)
virtual void slot_driverStarted()
Called to replace the DtEntityStateInterceptor with one that has knowledge of the DtEntityStateRepWit...
Definition: addStateComponentGuiAccessory.h:18
An accessory is like a plugin into a driver. The DtBaseAccessory is the base class for all accessorie...
Definition: DtBaseAccessory.h:26
virtual void slot_onSimConnected(makVrv::DtConnection *connection)
This class will create an interceptor that knows about the DtEntityStateRepWithTemperature state repo...
Definition: addStateComponentGuiAccessory.h:62
A Creator class for creating Entity State Interceptors.
Definition: DtEntityStateInterceptorCreator.h:28
virtual bool isCompatible(makVrv::DtDriver *driver)
Called to find out if this accessory is compatible with a particular driver.
The Driver for DIS.
Definition: vrfDriver.h:84

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)