VR-Forces 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 DtVrlinkBaseConnection;
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
25  virtual ~DtAddStateComponentGuiAccessory() override;
26 
27  //\brief Called when this accessory is installed into a connector.
28  virtual void install(makVrv::DtDriver* driver) override;
29 
30  //\brief Called when this accessory is uninstalled
31  virtual void uninstall(makVrv::DtDriver* baseConn) override;
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) override;
37 
38 protected:
39 
40  //\brief Called when the driver creates a new connection
41  virtual void slot_onSimCreated(makVrv::DtVrlinkBaseConnection* connection);
42 
43  //\brief Called when a sim connection is connected
44  virtual void slot_onSimConnected(makVrv::DtVrlinkBaseConnection* connection);
45 
46  //\brief Called when a sim connection is disconnected
48 
51  virtual void slot_onConnectionSetUp();
52 
54  virtual void slot_driverStarted();
55 
56 protected:
58 };
59 
60 
63 {
64 public:
66 
69 
72 
74 };
virtual ~DtAddStateComponentGuiAccessory() override
virtual void slot_onSimConnected(makVrv::DtVrlinkBaseConnection *connection)
makVrf::VRF_PROTOCOL_NAMESPACE::DtVrfDriver * myDriver
Definition: addStateComponentGuiAccessory.h:57
Contains makVrv::DtBaseAccessory class.
virtual void slot_onSimCreated(makVrv::DtVrlinkBaseConnection *connection)
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:30
virtual bool isCompatible(makVrv::DtDriver *driver) override
Called to find out if this accessory is compatible with a particular driver.
virtual void slot_onConnectionSetUp()
Called when the VRF driver has finished setting up the connection, install the reflected net interfac...
virtual void uninstall(makVrv::DtDriver *baseConn) override
Called when this accessory is uninstalled from a driver (right after the driver is stopped)...
virtual ~DtAddStateComponentEntityStateInterceptorCreator() override
DTOR.
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:28
This class will create an interceptor that knows about the DtEntityStateRepWithTemperature state repo...
Definition: addStateComponentGuiAccessory.h:62
virtual void slot_onSimAboutToBeDisconnected(makVrv::DtVrlinkBaseConnection *connection)
virtual DtEntityStateRepository * create(makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkEntityStateListener *listener) override
Create function.
A Creator class for creating Entity State Interceptors.
Definition: DtEntityStateInterceptorCreator.h:28
The Driver for DIS.
Definition: vrfDriver.h:89
virtual void install(makVrv::DtDriver *driver) override
Called when this accessory is installed into a driver (right before the driver is started)...

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)