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

interface definition for source triggers. More...

#include <mapping_engine.h>

Public Member Functions

virtual ~ISourceTrigger ()=default
 DTOR.
 
virtual bool update (std::chrono::nanoseconds time, std::shared_ptr< const Memory > memory)=0
 Update the source with current time and memory (if memory source)
 

Detailed Description

interface definition for source triggers.

See also
getSourceTrigger to retrieve the created source references

Member Function Documentation

◆ update()

virtual bool ddl::mapping::DefaultEngine::ISourceTrigger::update ( std::chrono::nanoseconds time,
std::shared_ptr< const Memory > memory )
pure virtual

Update the source with current time and memory (if memory source)

Parameters
timethe time for the source
memorythe current memory buffer for the source
Returns
true if the source update was updated and a target has been triggered
false if the source has been updated without a target that has been triggered

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