21#include <vrvUtil/DtProfiler.h>
63constexpr const char*
name =
"name";
117 virtual void tick(
double dt) = 0;
134 virtual const char*
type()
const = 0;
148 virtual const std::string&
name();
Provides attribute handling system for hierarchical data storage and manipulation.
Definition attributeCallback.h:166
Handle class for safe access to attributes.
Definition attributeHandle.h:30
Entity resolution and mapping system.
Definition entityResolver.h:52
Table-based access to Lua state for configuration data.
Definition initializer.h:38
DtInitTable myConfig
Component configuration table.
Definition playerComponent.h:179
virtual void setName(const std::string &name)
Sets the component name.
virtual const char * type() const =0
Gets the component type identifier.
virtual DtAttributeHandle & playerAttributeStore()
Gets the player attribute store.
virtual const DtAttributeHandle & playerAttributeStore() const
Gets the player attribute store (const version)
virtual bool postInitialize()
Performs post-initialization setup.
virtual bool initialize(DtPlayerStation *player, DtInitTable &config)
Initializes the component.
virtual void shutdown()
Shuts down the component.
virtual DtPlayerStation & player()
Gets the player station.
std::string myName
Component instance name.
Definition playerComponent.h:176
virtual ~DtPlayerComponent()
Virtual destructor.
virtual void tick(double dt)=0
Updates the component.
virtual void initializeStateAttributes()
Initializes component state attributes.
DtPlayerStation * myPlayer
Pointer to the owning player station.
Definition playerComponent.h:182
DtEntityResolver * myResolver
Pointer to the entity resolver (common to all components)
Definition playerComponent.h:188
DtAttributeCallbackManager myAttributeCallbacks
Member-scope instance of Attribute callback manager.
Definition playerComponent.h:194
makVrv::DtDe * myDe
Pointer to the display engine (common to all components)
Definition playerComponent.h:185
virtual const std::string & name()
Gets the component name.
DtPlayerComponent()
Constructor.
Class for managing the user interface for engaged roles.
Definition playerStation.h:51
constexpr const char * initAttributes
Definition playerComponent.h:60
constexpr const char * name
Definition playerComponent.h:63
Defines export macros for the VR-Engage Player Station library.
#define PLAYERSTATION_DLL
Definition export.h:24
Provides configuration initialization for VREngage components.
Definition playerComponent.h:42
Include export definitions for this library.
Definition glsVreMessageUtil.h:49
Definition appLauncherComponent.h:28