83 virtual void tick(
double dt)
override;
87 virtual const char*
type()
const override;
129 std::string stateAttributeName;
virtual void shutdown() override
Shuts down the component.
struct ArtPartParamStateAttrDescriptor { int parameterType; std::string stateAttributeName; } ArtPartParamStateAttrDescriptor
Structure defining mapping between an articulated part parameter and a state attribute.
Definition artPartParamToStateAttrMap.h:105
std::map< int, ArtPartParamStateAttrDescriptor > myArtPartParameterMap
Map of art part type to parameter/state attribute descriptor.
Definition artPartParamToStateAttrMap.h:136
DtArtPartParamToStateAttrMap()
Constructor for DtArtPartParamToStateAttrMap.
virtual void tick(double dt) override
Updates the component state (empty implementation)
virtual const char * type() const override
Returns the type identifier for this component.
virtual bool initialize(makVre::DtPlayerStation *player, makVre::DtInitTable &config) override
Initializes the component with configuration from Lua.
virtual makVre::DtVreMessageResult handleSimState(makVre::DtVreMessage *msg)
Handles simulation state messages.
virtual ~DtArtPartParamToStateAttrMap() override
Virtual destructor for DtArtPartParamToStateAttrMap.
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
Defines the logic for controlling entities in VR-Engage.
constexpr const char * artPartParameters
Definition artPartParamToStateAttrMap.h:31
Defines export/import macros for the vreCommonComponents library.
#define VRECOMMONCOMPONENTS_DLL
DLL export/import macro for the vreCommonComponents library.
Definition export.h:28
Definition artPartParamToStateAttrMap.h:23
Include export definitions for this library.
Definition glsVreMessageUtil.h:49
constexpr const char * DtArtPartParamToStateAttrMapType
Type identifier for DtArtPartParamToStateAttrMap component.
Definition artPartParamToStateAttrMap.h:37
DtVreMessageResult
Enumeration of possible message handling results.
Definition vreMessage.h:33