18#include <vrfobjcore/simComponent.h>
45 DtSimulationServices* simManager,
46 DtComponentDescriptor* desc =
nullptr,
47 DtReaderWriterRegistry* parentRegistry =
nullptr);
78 virtual void tick()
override;
85 virtual const char*
type()
const override;
123 static DtSimComponent*
creator(
const DtString& name,
124 DtLocalObject* owner,
125 DtSimulationServices* simManager,
126 DtComponentDescriptor* desc,
127 DtReaderWriterRegistry* parentRegistry);
const DtAglUpdater & operator=(const DtAglUpdater &orig)=delete
Assignment operator (not implemented)
virtual void updateAglAltitude()
Updates the AGL altitude value for the entity.
DtAglUpdater(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=nullptr, DtReaderWriterRegistry *parentRegistry=nullptr)
Constructor.
virtual const char * type() const override
Gets the type identifier for this component.
DtAglUpdater()=delete
Default constructor (not implemented)
virtual ~DtAglUpdater() override
Virtual destructor.
DtAglUpdater(const DtAglUpdater &orig)=delete
Copy constructor (not implemented)
bool myRequireAgl
Flag indicating whether AGL updates are required.
Definition aglUpdater.h:137
static DtSimComponent * creator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc, DtReaderWriterRegistry *parentRegistry)
Factory method to create a new instance of this component.
virtual void tick() override
Update method called each simulation frame.
virtual DtVreMessageResult handleAglSubscription(DtVreMessage *msg)
Handles AGL subscription messages.
virtual DtVreMessageResult handleAglUnsubscription(DtVreMessage *msg)
Handles AGL unsubscription messages.
void initializeMessageHandlers()
Abstract base class for all VREngage messages.
Definition vreMessage.h:50
DtVreSimComponent(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
Definition vreSimComponent.h:54
Defines export macros for the vreVrfmodel library.
#define VREVRFMODEL_DLL
Definition export.h:22
Include export definitions for this library.
Definition glsVreMessageUtil.h:49
constexpr char DtAglUpdaterType[]
Type identifier for the AGL updater component.
Definition aglUpdater.h:24
DtVreMessageResult
Enumeration of possible message handling results.
Definition vreMessage.h:33
Defines the base class for all VREngage messages.
Base template class for VR-Engage simulation components.