16#ifndef DT_PROTOCOL_NAMESPACE
17 #error Namespace Protocol Macro DT_PROTOCOL_NAMESPACE not defined.
20#include <vrvCore/DtBaseAccessory.h>
28class DtVrlinkBaseConnection;
29class DtCoordinateSystem;
33class DtVrlinkConnection;
39class DtVrlinkNetworkInterface;
40class DtVrlinkVrfRemoteController;
44class DtReflectedEntityList;
47class DtVrfMessageInterface;
50class DtReflectedControlObjectList;
53class DtReflectedExtEntityList;
58class DtPlayerStationApp;
61class DtExerciseConnNetworkForwarder;
64class DtVreMessageFactory;
67class DtVreCommunicationManager;
114 virtual void install(makVrv::DtDriver* driver)
override;
120 virtual void uninstall(makVrv::DtDriver* baseConn)
override;
238 template <
typename TConnector,
typename... TArgs>
254 std::list<std::unique_ptr<makVre::DT_PROTOCOL_NAMESPACE::DtSimEventConnector>>
myBaseConnectors;
259 std::map<std::string, std::map<std::string, std::unique_ptr<makVre::DT_PROTOCOL_NAMESPACE::DtSimEventConnector>>>
DtReflectedExtEntityList * myReflectedExtEntityList
Reflected extended entity list (NON-OWNING - owned by myVrfRemoteController)
Definition connectorAccessory.h:290
boost::signals2::connection myConnectionCreatedConn
Boost signal connections.
Definition connectorAccessory.h:298
virtual void slot_onThreadTick()
Callback for periodic thread ticks.
DtVreCommunicationManager * myCommunicationManager
Pointer to the communication manager that handles messages.
Definition connectorAccessory.h:272
virtual void clearEntityConnectors()
Clears all entity-specific connectors.
DtReflectedControlObjectList * myReflectedControlObjectList
Reflected control object list (NON-OWNING - owned by myVrfRemoteController)
Definition connectorAccessory.h:287
virtual void slot_onSimConnected(makVrv::DtVrlinkBaseConnection *connection)
Callback for when a simulation connection is established.
makVrf::DtVrlinkNetworkInterface * myVrlinkNetworkInterface
Pointer to the VR-Link network interface.
Definition connectorAccessory.h:275
virtual makVre::DtVreMessageResult handleRemoveConnectors(makVre::DtVreMessage *msg)
Handles messages to remove connectors.
virtual makVre::DtVreMessageResult handleInstallConnectors(makVre::DtVreMessage *msg)
Handles messages to install connectors.
virtual void setCoordinateSystem(const makVrv::DtCoordinateSystem &vrvCS)
Sets the coordinate system for the simulation.
std::unique_ptr< DtExerciseConnNetworkForwarder > myNetworkForwarder
Pointer to the network forwarder for transferring messages.
Definition connectorAccessory.h:269
virtual void slot_onSimCreated(makVrv::DtVrlinkBaseConnection *connection)
Callback for when a simulation connection is created.
virtual void installBaseConnectors()
Installs the base set of connectors for the simulation.
boost::signals2::connection mySimAboutToBeDisconnectedConn
Connection for signal_toBeDisconnected on the VR-Link connection (bound in slot_onSimCreated)
Definition connectorAccessory.h:304
makVrv::DtVrlinkDriver * myDriver
Pointer to the VR-Link driver.
Definition connectorAccessory.h:263
DtReflectedEntityList * myReflectedEntityList
Reflected entity list (NON-OWNING - owned by myVrfRemoteController)
Definition connectorAccessory.h:284
std::map< std::string, std::map< std::string, std::unique_ptr< makVre::DT_PROTOCOL_NAMESPACE::DtSimEventConnector > > > myEntityConnectors
Map of entity-specific connectors grouped by entity ID and connector name.
Definition connectorAccessory.h:260
virtual bool isCompatible(makVrv::DtDriver *driver) override
Determines if this accessory is compatible with a given driver.
boost::signals2::connection myCoordinateSystemChangedConn
Connection for signal_coordinateSystemChanged on the VR-Link connection (bound in slot_onSimConnected...
Definition connectorAccessory.h:310
makVre::DtPlayerStationApp * myApp
Pointer to the player station application.
Definition connectorAccessory.h:246
virtual void configureNetworkForwarder()
Creates and configures the network forwarder.
virtual void install(makVrv::DtDriver *driver) override
Installs this accessory into a compatible driver.
makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkConnection * myVrlConnection
Pointer to the protocol-specific VR-Link connection.
Definition connectorAccessory.h:266
TConnector * createAndInstallConnector(const std::string &connectorTypeName, TArgs &&... args)
Creates and installs a base connector via the connector factory.
makVrv::DtDe & myDe
Reference to the distributed environment.
Definition connectorAccessory.h:243
makVre::DtConnector::DtConnectorType myType
Type of connector being used.
Definition connectorAccessory.h:249
std::unique_ptr< makVrf::DtVrlinkVrfRemoteController > myVrfRemoteController
Core VRF Infrastructure (created in installBaseConnectors, destroyed in uninstallBaseConnectors)
Definition connectorAccessory.h:281
boost::signals2::connection mySimConnectedConn
Connection for signal_connected on the VR-Link connection (bound in slot_onSimCreated)
Definition connectorAccessory.h:301
virtual void slot_onSimAboutToBeDisconnected(makVrv::DtVrlinkBaseConnection *connection)
Callback for when a simulation is about to disconnect.
virtual void uninstallBaseConnectors()
Uninstalls all base connectors.
virtual void uninstall(makVrv::DtDriver *baseConn) override
Uninstalls this accessory from a driver.
std::list< std::unique_ptr< makVre::DT_PROTOCOL_NAMESPACE::DtSimEventConnector > > myBaseConnectors
List of base simulation event connectors.
Definition connectorAccessory.h:254
virtual ~DtConnectorAccessory() override
Virtual destructor.
virtual void setupVrfInfrastructure()
Creates and initializes the VRF communication infrastructure.
DtConnectorAccessory(makVrv::DtDe &de)
Constructor for the connector accessory.
boost::signals2::connection myPreConnectionTickConn
Connection for signal_preConnectionTick on the VR-Link connection (bound in slot_onSimConnected)
Definition connectorAccessory.h:307
Base class for all simulation event connectors in VREngage.
Definition simEventConnector.h:53
DtConnectorType
Enumeration of supported connector types.
Definition connector.h:40
Top-level class representing the VR-Engage application.
Definition playerStationApp.h:155
This class manages communication between player stations and VR-Link connections.
Definition vreCommunicationManager.h:38
Abstract base class for all VREngage messages.
Definition vreMessage.h:50
Defines export macros and protocol namespace for vrePlayerStationConnector.
#define VRL_DLL
Empty definition for non-Windows platforms.
Definition export.h:52
Definition connectorAccessory.h:70
!
Definition glsVreMessageUtil.h:50
DtVreMessageResult
Enumeration of possible message handling results.
Definition vreMessage.h:33
Definition connectorAccessory.h:38
Definition connectorAccessory.h:32
Definition appLauncherComponent.h:28
makVrv::DtDe * de()
Gets the display element pointer used by the plugin.
Defines the base DtSimEventConnector class for VREngage simulation events.