89 virtual void tick(
double dt)
override;
129 virtual const char*
type()
const override;
std::map< int, partVars > myParts
Map of art part IDs to their monitoring parameters.
Definition artPartUpdater.h:148
DtArtPartUpdater()
Constructor for DtArtPartUpdater.
virtual void shutdown() override
Shuts down the component.
virtual const char * type() const override
Returns the component type identifier.
virtual void tick(double dt) override
Updates the component state (empty implementation)
virtual makVre::DtVreMessageResult handleSimState(makVre::DtVreMessage *msg)
Handles simulation state messages.
struct { std::string label; std::string param; int trueThreshold; } partVars
Structure defining parameters for monitoring an articulated part.
Definition artPartUpdater.h:132
virtual void setHasPartAttribute(std::string partLabel, bool value)
Sets the has[PartName] attribute in the state repository.
virtual ~DtArtPartUpdater() override
Virtual destructor for DtArtPartUpdater.
virtual bool initialize(makVre::DtPlayerStation *player, makVre::DtInitTable &config) override
Initializes the component with configuration from Lua.
virtual DtVreMessageResult handleMenuMessage(makVre::DtVreMessage *msg)
Handles menu action messages.
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 * artParts
Definition artPartUpdater.h:32
Defines export/import macros for the vreCommonComponents library.
#define VRECOMMONCOMPONENTS_DLL
DLL export/import macro for the vreCommonComponents library.
Definition export.h:28
Definition artPartUpdater.h:24
Include export definitions for this library.
Definition glsVreMessageUtil.h:49
DtVreMessageResult
Enumeration of possible message handling results.
Definition vreMessage.h:33
constexpr const char * DtArtPartUpdaterType
Type identifier for DtArtPartUpdater component.
Definition artPartUpdater.h:38