#include <mapper_interfaces.h>
|
| virtual bool | updateTime (std::chrono::nanoseconds source_value_time, uint64_t source_value_update_counter, const std::shared_ptr< const SourceValue > &source_value)=0 |
| |
| virtual std::optional< std::chrono::nanoseconds > | getTime () const =0 |
| |
Time strategy interface to evaluate the targets update time
◆ getTime()
| virtual std::optional< std::chrono::nanoseconds > ddl::mapping::TimeStrategy::getTime |
( |
| ) |
const |
|
pure virtual |
Retrieve the current set time value dependent on the strategy
◆ updateTime()
| virtual bool ddl::mapping::TimeStrategy::updateTime |
( |
std::chrono::nanoseconds | source_value_time, |
|
|
uint64_t | source_value_update_counter, |
|
|
const std::shared_ptr< const SourceValue > & | source_value ) |
|
pure virtual |
Informs the time strategy implementation about currently assigned value for a time update after each value assignment dependent on the sources of the value.
- Parameters
-
| source_value_time | the current time of the currently assigned source value |
| source_value_update_counter | the current update counter of the currently assigned source value |
| source_value | the source value which might be a simple assignment, constant or internal function or function call |
The documentation for this class was generated from the following file: