Simulation time function to retrieve the last known simulation time updated by time trigger. Properties:
More...
#include <time_function.h>
Inherits ddl::mapping::MapperElementBase< Function >.
|
| enum class | Resolution : uint8_t { us = 0
, ms = 1
, ns = 2
, s = 3
} |
| | The resolution of the value that is returned by a function call.
|
| |
| using | Description = std::unordered_map<std::string, ParameterDescription> |
| |
Simulation time function to retrieve the last known simulation time updated by time trigger. Properties:
- "resolution" : "ns", "us", "ms", "s" (default "us")
◆ SimulationTimeFunction()
| ddl::mapping::SimulationTimeFunction::SimulationTimeFunction |
( |
std::string | name, |
|
|
Properties | properties, |
|
|
std::shared_ptr< SimTimeSource > | sim_time_source ) |
CTOR.
- Parameters
-
| name | the name of the instance |
| properties | the properties for the instance |
| sim_time_source | sim time source interface reference |
◆ getCallable()
| std::shared_ptr< Function::Callable > ddl::mapping::SimulationTimeFunction::getCallable |
( |
| ) |
const |
|
overridevirtual |
◆ getDescription()
The documentation for this class was generated from the following file: