VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
networkCallbackManagerAccessory.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2023 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
6 //\file DtAddAttrGuiAccessory.h
7 //\brief Contains DtAddAttrGuiAccessory class. Used to install extensions to the FOM
8 //for mass
9 
13 
14 namespace makVrv
15 {
16  class DtVrlinkBaseConnection;
17  class DtVrlinkDriver;
18 }
19 
20 namespace makVrf
21 {
22  class DtNetworkMessageInterface;
23 };
24 
25 //\brief This class defines an accessory that will install itself
26 //into DtVrlinkDriver objects and print out the esr of entities
27 //as they are discovered.
29 {
30 public:
31  //\Default constructor
33 
34  //\Default destructor
36 
37  //\brief Called when this accessory is installed into a connector.
38  virtual void install(makVrv::DtDriver* driver);
39 
40  //\brief Called when this accessory is uninstalled
41  virtual void uninstall(makVrv::DtDriver* baseConn);
42 
43  //\brief Called to find out if this accessory is compatible with a
44  //particular connector. In this case, it is compatible with any
45  //DtVrlinkDriver of the correct protocol
46  virtual bool isCompatible(makVrv::DtDriver* driver);
47 
48  //\brief Called when an interaction or pdu is received. Will send notification through
49  //the VRF driver
51 
52 protected:
53 
54  //\brief Called when the driver creates a new connection
55  virtual void slot_onSimCreated(makVrv::DtVrlinkBaseConnection* connection);
56 
57  //\brief Called when a sim connection is connected
58  virtual void slot_onSimConnected(makVrv::DtVrlinkBaseConnection* connection);
59 
60  //\brief Called when a sim connection is disconnected
62 
63  //Sends out a PDU or interaction with hard coded values given a particular protoco;
64  virtual void slot_onSendPdu(makVrv::DtVrlinkBaseConnection* connection);
65 protected:
67 };
Definition: networkMessageInterface.h:28
virtual bool isCompatible(makVrv::DtDriver *driver)
Called to find out if this accessory is compatible with a particular driver.
virtual void slot_onSimCreated(makVrv::DtVrlinkBaseConnection *connection)
virtual void slot_onSendPdu(makVrv::DtVrlinkBaseConnection *connection)
virtual void uninstall(makVrv::DtDriver *baseConn)
Called when this accessory is uninstalled from a driver (right after the driver is stopped)...
virtual void received(makVrf::DtNetworkMessageInterface *)
Contains makVrv::DtBaseAccessory class.
makVrf::VRF_PROTOCOL_NAMESPACE::DtVrfDriver * myDriver
Definition: networkCallbackManagerAccessory.h:66
virtual void install(makVrv::DtDriver *driver)
Called when this accessory is installed into a driver (right before the driver is started)...
The DtDriver is an abstract class. Developers derive from this to create logic that "directs" things ...
Definition: DtDriver.h:31
Definition: networkCallbackManagerAccessory.h:28
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_onSimAboutToBeDisconnected(makVrv::DtVrlinkBaseConnection *connection)
virtual void slot_onSimConnected(makVrv::DtVrlinkBaseConnection *connection)
The Driver for DIS.
Definition: vrfDriver.h:88

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)