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();
257 FrameTable m_frameTable;
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;
381 Frame(
UInt frameId) : id(frameId), eventList(nullptr) {}
393 void addFrameTask(
Task *child);
423 AGX_FORCE_INLINE bool Clock::Event::isRepeating()
const {
return m_interval->get() >= 0; }
Representation of a path, a list of name components.
agx::UInt getFrame() const
A component is an object containing other objects, enabling hierarchical structuring.
A model is an abstract representation of the class of an agx::Object.
Abstract representation of a value.
agx::Real getTimeModulation() const
An abstract job/workblock representation, which allows work threads to execute arbitrary tasks...
Generalized callback, using std::function.
agx::Bool isEnabled() const
#define AGX_DECLARE_POINTER_TYPES(type)
A representation of a generic task.
const agx::ClockPtrVector & getSlaves() const
Representation of a name string.
agx::Clock * getReference()
Vector containing 'raw' data.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
Templated callback with one argument.
agx::Real getTimeStep() const
agx::Real getFrequency() const
agx::Real getTime() const
Clock class keeps representation of virtual/simulated time.
const agx::Path & getBindPath() const
#define AGX_DECLARE_VECTOR_TYPES(type)
Inheritance with partial specialization due to bug with ref_ptr containers.
An agx::Device is an abstract representation of a device on which data can be stored and processed...
An event with no arguments.
#define DOXYGEN_END_INTERNAL_BLOCK()
Event1< Clock * > TickEvent
#define DOXYGEN_START_INTERNAL_BLOCK()