23#include <vlpi/simulationAddress.h>
25#include <matrix/vlVector.h>
26#include <matrix/vlTaitBryan.h>
28#include <vlutil/vlPerformanceStats.h>
30#include <boost/signals2.hpp>
115 virtual void tick(
double dt)
override;
135 virtual const char*
type()
const override;
virtual ~DtCigiHostControl() override
Virtual destructor.
std::shared_ptr< DtTimedSection > myPerformanceTimer
Performance timer for measuring CIGI processing time.
Definition cigiHostControl.h:186
DtSimulationAddress mySimAddress
Simulation address for the CIGI host.
Definition cigiHostControl.h:165
DtTaitBryan myObserverRotationOffset
Rotation offset for the observer in the CIGI coordinate system.
Definition cigiHostControl.h:180
std::string mySessionName
Name of the CIGI session.
Definition cigiHostControl.h:168
virtual const char * type() const override
Returns the component type identifier.
DtCigiHostControl()
Default constructor.
virtual void tick(double dt) override
Updates the CIGI host control during each simulation tick.
bool mySessionStarted
Flag indicating whether the CIGI session is started.
Definition cigiHostControl.h:171
virtual void updateViews()
Updates view definitions during simulation.
virtual void initViews()
Initializes view definitions for the CIGI session.
int myOtwGroupId
Group ID for the out-the-window (OTW) view.
Definition cigiHostControl.h:174
virtual void initializeStateAttributes() override
Initializes the state attributes for the CIGI host control.
DtVector32 myObserverPositionOffset
Position offset for the observer in the CIGI coordinate system.
Definition cigiHostControl.h:177
virtual bool initialize(DtPlayerStation *player, DtInitTable &config) override
Initializes the CIGI host control component.
DtVreMessageResult handleCigiSessionStatusMessage(DtVreMessage *msg)
Handles CIGI session status messages.
virtual void postTick()
Performs post-tick processing for the CIGI host control.
virtual void shutdown() override
Shuts down the CIGI host control component.
double myFramerateLimit
Framerate limit for CIGI updates in Hz.
Definition cigiHostControl.h:183
boost::signals2::scoped_connection myPostTickConnection
Connection for the post-tick signal.
Definition cigiHostControl.h:189
Table-based access to Lua state for configuration data.
Definition initializer.h:38
Base class for all role components in VR-Engage.
Definition playerComponent.h:78
virtual DtPlayerStation & player()
Gets the player station.
Class for managing the user interface for engaged roles.
Definition playerStation.h:51
Abstract base class for all VREngage messages.
Definition vreMessage.h:50
constexpr const char * hostConfig
Definition cigiHostControl.h:51
constexpr const char * maxViewDistance
Definition cigiHostControl.h:63
constexpr const char * igAddress
Definition cigiHostControl.h:57
constexpr const char * framerateLimit
Definition cigiHostControl.h:48
constexpr const char * hostSimAddress
Definition cigiHostControl.h:54
constexpr const char * maxFireFxDistance
Definition cigiHostControl.h:60
constexpr const char * displayConfiguration
Definition cigiHostControl.h:45
Defines export macros for the CIGI Host Control Plugin library.
#define CIGIHOSTCONTROL_DLL
Export/import macro for non-Windows platforms.
Definition export.h:39
Definition cigiHostControl.h:37
Include export definitions for this library.
Definition glsVreMessageUtil.h:49
constexpr const char * DtCigiHostControlType
Type identifier constant for DtCigiHostControl components.
Definition cigiHostControl.h:73
DtVreMessageResult
Enumeration of possible message handling results.
Definition vreMessage.h:33
Defines the DtPlayerComponent base class for VR-Engage role components.
Defines the base class for all VREngage messages.