ADTF
Loading...
Searching...
No Matches
ddl::mapping::DefaultEngine::ITimeTrigger Class Referenceabstract

interface definition for time triggers. More...

#include <mapping_engine.h>

Public Member Functions

virtual ~ITimeTrigger ()=default
 DTOR.
 
virtual bool update (std::chrono::nanoseconds time)=0
 Periodic time update call.
 

Detailed Description

interface definition for time triggers.

See also
getTimeTrigger to retrieve the created time trigger reference

Member Function Documentation

◆ update()

virtual bool ddl::mapping::DefaultEngine::ITimeTrigger::update ( std::chrono::nanoseconds time)
pure virtual

Periodic time update call.

Parameters
timecurrent time
Returns
true if the time update was updated and a target has been triggered
false if the time has been updated without a target that has been triggered
Remarks
To ensure continuous time triggers within the engine, you must call this update periodically.

The documentation for this class was generated from the following file: