DataTrigger implements a concrete periodic trigger in the runtime.
More...
#include <data_trigger.h>
Inherits ddl::mapping::rt::TriggerBase.
DataTrigger implements a concrete periodic trigger in the runtime.
◆ DataTrigger()
| ddl::mapping::rt::DataTrigger::DataTrigger |
( |
IMappingEnvironment & | env, |
|
|
const std::string & | trigger_name, |
|
|
const std::string & | variable_name, |
|
|
const std::string & | comp_operator, |
|
|
const double & | value ) |
CTOR
- Parameters
-
| [in] | env | The mapping environment |
| [in] | trigger_name | The name of the trigger |
| [in] | variable_name | The value name for the operator |
| [in] | comp_operator | operator |
| [in] | value | value for the operator |
◆ ~DataTrigger()
| ddl::mapping::rt::DataTrigger::~DataTrigger |
( |
| ) |
|
◆ compare()
| bool ddl::mapping::rt::DataTrigger::compare |
( |
double | value | ) |
|
Method to make the comparison
- Return values
-
| a_util::result::SUCCESS | Everything went fine |
◆ getVariable()
| const std::string & ddl::mapping::rt::DataTrigger::getVariable |
( |
| ) |
const |
Returns the period of the trigger in ms
◆ start()
◆ stop()
◆ transmit()
Method to transmit targets
- Return values
-
| a_util::result::SUCCESS | Everything went fine |
The documentation for this class was generated from the following file:
- /workspace/conan/dev_essential/1.6.3/dw/stable/package/65324bff46e457721a7ba250afe9d61dc2b0e57a/include/ddl/mapping/legacy/engine/data_trigger.h