 |
AGXDynamics
2.35.0.2
|
Go to the documentation of this file.
42 static Clock *load(TiXmlElement *eClock,
Device *device);
43 virtual void configure(TiXmlElement *eClock)
override;
44 virtual void save(TiXmlElement *eParent)
const override;
65 void tick(
bool blocking =
true);
132 void setTimeModulation(
agx::Real modulation);
179 void setFrame(
UInt frame);
209 virtual void rebind()
override;
216 void setIsThreadTimelineResponsible(
bool isResponsible);
219 bool getIsThreadTimelineResponsible()
const;
228 void rebuild(
Real oldTimeStep );
229 void schedule(
Event *event);
230 void schedule(
Event *event,
Real timeUntilDispatch);
231 void unschedule(
Event *event);
232 void reschedule(
Event *event);
235 void calculateTimestep();
265 bool m_isTimelineResponsible =
true;
279 virtual void configure(TiXmlElement *eEvent)
override;
321 void setRepeating(
bool flag);
326 bool isRepeating()
const;
331 void setEnable(
bool flag);
345 size_t getIndex()
const;
351 Real calculateTimeUntilDispatch(
Real timeStep );
352 Real calculateTimeUntilDispatch();
356 void setIndex(
size_t index);
369 UInt m_scheduledFrame;
423 AGX_FORCE_INLINE bool Clock::Event::isRepeating()
const {
return m_interval->get() >= 0; }
Abstract representation of a value.
const agx::ClockPtrVector & getSlaves() const
Representation of a path, a list of name components.
Event1< Clock * > TickEvent
void addFrameTask(Task *child)
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
An abstract job/workblock representation, which allows work threads to execute arbitrary tasks.
agx::UInt getFrame() const
Callback1< Value * > CallbackType
Generalized callback, using std::function.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
A model is an abstract representation of the class of an agx::Object.
agx::Bool isEnabled() const
#define AGX_DECLARE_VECTOR_TYPES(type)
A representation of a generic task.
Inheritance with partial specialization due to bug with ref_ptr containers.
agx::Real getTime() const
Representation of a name string.
A component is an object containing other objects, enabling hierarchical structuring.
const agx::Path & getBindPath() const
#define AGX_DECLARE_POINTER_TYPES(type)
An agx::Device is an abstract representation of a device on which data can be stored and processed.
agx::Real getTimeStep() const
FrameWrapper(Clock *clock)
Clock class keeps representation of virtual/simulated time.
agx::Real getFrequency() const
An event with no arguments.
agx::Real getTimeModulation() const