VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
addFomClassGuiAccessory.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
6 #pragma once
7 
10 #include <vrvCore/DtEntityState.h>
12 
13 namespace makVrv
14 {
15  class DtConnection;
16 }
17 
18 namespace makVrf
19 {
20  namespace VRF_PROTOCOL_NAMESPACE
21  {
22  class DtVrfDriver;
23  }
24 }
25 
26 //\brief This class defines an accessory that will install itself
27 //into DtVrlinkDriver objects and print out the esr of entities
28 //as they are discovered.
30 {
31 public:
32  //\Default constructor
34 
35  //\Default destructor
37 
38  //\brief Called when this accessory is installed into a connector.
39  virtual void install(makVrv::DtDriver* driver);
40 
41  //\brief Called when this accessory is uninstalled
42  virtual void uninstall(makVrv::DtDriver* baseConn);
43 
44  //\brief Called to find out if this accessory is compatible with a
45  //particular connector. In this case, it is compatible with any
46  //DtVrlinkDriver of the correct protocol
47  virtual bool isCompatible(makVrv::DtDriver* driver);
48 
49 protected:
50 
51  //\brief Called before the reflected lists are created.
52  virtual void slot_onSimulationCreated(makVrv::DtConnection* connection);
53 
54  //\brief Called before the reflected lists are created.
56 
57 protected:
59 };
Definition: addFomClassGuiAccessory.h:29
The base class for protocol specific VRLink Simulations.
Definition: DtConnection.h:41
virtual bool isCompatible(makVrv::DtDriver *driver)
Called to find out if this accessory is compatible with a particular driver.
makVrf::VRF_PROTOCOL_NAMESPACE::DtVrfDriver * myDriver
Definition: addFomClassGuiAccessory.h:58
Contains makVrv::DtBaseAccessory class.
virtual ~DtAddFomClassGuiAccessory()
virtual void uninstall(makVrv::DtDriver *baseConn)
Called when this accessory is uninstalled from a driver (right after the driver is stopped)...
#define VRF_PROTOCOL_NAMESPACE
Definition: vrfDis.h:18
The DtDriver is an abstract class.
Definition: DtDriver.h:34
Contains makVrv::DtEntityState class.
An accessory is like a plugin into a driver.
Definition: DtBaseAccessory.h:29
virtual void slot_onReflectedListAboutToBeCreated()
virtual void slot_onSimulationCreated(makVrv::DtConnection *connection)
virtual void install(makVrv::DtDriver *driver)
Called when this accessory is installed into a driver (right before the driver is started)...
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)