VR-Engage  2.3
Loading...
Searching...
No Matches
vreHumanWeaponStateActuator.h
Go to the documentation of this file.
1/****************************************************************************
2 * Copyright (c) 2026 MAK Technologies, Inc.
3 * All rights reserved.
4 ****************************************************************************/
5
6//! \file vreHumanWeaponStateActuator.h
7//! \ingroup vreVrfmodel
8//! \brief VRE override for the human weapon-state actuator
9
10#pragma once
11
12#include "vreVrfmodel/export.h"
14
15#include <vrfmodel/humanWeaponStateActuator.h>
16
17namespace makVre
18{
19//! \brief Type identifier for the VRE human weapon-state actuator
20const char DtVreHumanWeaponStateActuatorType[] = "human-weapon-state-actuator";
21
22//! \brief VRE override for the human weapon-state actuator
24 : public DtVreSimComponent<DtHumanWeaponStateActuator>
25{
26public:
27 //! \brief Constructs a human weapon-state actuator
28 DtVreHumanWeaponStateActuator(const DtString& name, DtLocalObject* owner,
29 DtSimulationServices* simManager, DtComponentDescriptor* desc = 0,
30 DtReaderWriterRegistry* parentRegistry = 0);
31
32 //! \brief Destructor
34
35 //! \brief Returns the VRE component type
36 virtual const char* type() const override;
37
38 //! \brief Updates the human weapon state
39 virtual void tick() override;
40
41 //! \brief Creates a human weapon-state actuator
42 static DtSimComponent* creator(const DtString& name, DtLocalObject* owner,
43 DtSimulationServices* simManager, DtComponentDescriptor* desc = 0,
44 DtReaderWriterRegistry* parentRegistry = 0);
45
46private:
49};
50
51} // namespace makVre
virtual void tick() override
Updates the human weapon state.
DtVreHumanWeaponStateActuator & operator=(const DtVreHumanWeaponStateActuator &other)
static DtSimComponent * creator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
Creates a human weapon-state actuator.
virtual ~DtVreHumanWeaponStateActuator() override
Destructor.
DtVreHumanWeaponStateActuator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
Constructs a human weapon-state actuator.
virtual const char * type() const override
Returns the VRE component type.
DtVreHumanWeaponStateActuator(const DtVreHumanWeaponStateActuator &other)
DtVreSimComponent(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
Definition vreSimComponent.h:63
Defines export macros for the vreVrfmodel library.
#define VREVRFMODEL_DLL
Definition export.h:22
!
Definition glsVreMessageUtil.h:50
const char DtVreHumanWeaponStateActuatorType[]
Type identifier for the VRE human weapon-state actuator.
Definition vreHumanWeaponStateActuator.h:20
Base template class for VR-Engage simulation components.