8#ifndef META_OCEAN_SCENEDESCRIPTION_SDX_X3D_TIME_SENSOR_NODE_H
9#define META_OCEAN_SCENEDESCRIPTION_SDX_X3D_TIME_SENSOR_NODE_H
18namespace SceneDescription
This class is the base class for all scene description fields.
Definition Field.h:36
This class implements a node specification object.
Definition scenedescription/Node.h:77
This class implements a time sensor node.
Definition TimeSensor.h:34
void onStarted(const Timestamp eventTimestamp) override
Event function for node start events.
void onUpdated(const Timestamp timestamp) override
Event function for node update events.
SingleFloat fractionChanged_
Fraction_changed field.
Definition TimeSensor.h:114
SingleTime cycleTime_
CycleTime field.
Definition TimeSensor.h:111
Scalar lastFraction_
Last fraction value.
Definition TimeSensor.h:120
SingleTime time_
Time field.
Definition TimeSensor.h:117
bool onFieldChanging(const std::string &fieldName, const Field &field) override
Explicit changing event function for node fields.
SingleTime cycleInterval_
CycleInterval field.
Definition TimeSensor.h:108
size_t objectAddress() const override
Returns the address of the most derived object.
void onStopped(const Timestamp eventTimestamp) override
Event function for node stop events.
void onResumed(const Timestamp eventTimestamp) override
Event function for node resume events.
void onInitialize(const Rendering::SceneRef &scene, const Timestamp timestamp) override
Event function to inform the node that it has been initialized and can apply all internal values to c...
void onFieldChanged(const std::string &fieldName) override
Event function to inform the node about a changed field.
NodeSpecification specifyNode()
Specifies the node type and the fields of this node.
TimeSensor(const SDXEnvironment *environment)
Creates an abstract time sensor node.
void onPaused(const Timestamp eventTimestamp) override
Event function for node pause events.
This class implements an abstract x3d sensor node.
Definition X3DSensorNode.h:31
This class implements an abstract x3d time dependent node.
Definition X3DTimeDependentNode.h:35
This class implements a node environment container.
Definition SDXNode.h:62
This class implements a timestamp.
Definition Timestamp.h:36
float Scalar
Definition of a scalar type.
Definition Math.h:129
The namespace covering the entire Ocean framework.
Definition Accessor.h:15