#include <map_assignment.h>
◆ MapAssignment() [1/2]
| ddl::mapping::MapAssignment::MapAssignment |
( |
| ) |
|
◆ MapAssignment() [2/2]
| ddl::mapping::MapAssignment::MapAssignment |
( |
std::string | to | ) |
|
CTOR
- Parameters
-
| [in] | to | Name of assigned signal or element |
◆ connect()
Connects the target element or signal with a source
- Parameters
-
| [in] | source_element_path | The complete path to the source element it is constructed with [SignalName].[ElementName] |
- Return values
-
| ERR_INVALID_ARG | Source is empty |
| a_util::result::SUCCESS | Everything went fine |
◆ getConstant()
| const std::string & ddl::mapping::MapAssignment::getConstant |
( |
| ) |
const |
Returns the constant of the assignment (or an empty string)
◆ getFrom()
| const std::string & ddl::mapping::MapAssignment::getFrom |
( |
| ) |
const |
Returns the source element name of the assignment (or an empty string)
- Returns
- the from name
◆ getFunction()
| const std::string & ddl::mapping::MapAssignment::getFunction |
( |
| ) |
const |
Returns the constant of the assignment (or an empty string)
◆ getModulo()
| const std::string & ddl::mapping::MapAssignment::getModulo |
( |
| ) |
const |
Returns the constant of the assignment (or an empty string)
◆ getSource()
| const std::string & ddl::mapping::MapAssignment::getSource |
( |
| ) |
const |
Returns the source name of the assignment (or an empty string)
◆ getTo()
| const std::string & ddl::mapping::MapAssignment::getTo |
( |
| ) |
const |
Returns the name of the target element that is assigned
◆ getTransformation()
| const std::string & ddl::mapping::MapAssignment::getTransformation |
( |
| ) |
const |
Returns the associated transformation of this assignment (or an empty string)
◆ isValid()
| bool ddl::mapping::MapAssignment::isValid |
( |
| ) |
const |
Returns the validity for the current description
◆ removeTransformation()
Remove the transformation from this assignment
- Return values
-
| a_util::result::SUCCESS | Everything went fine |
◆ setConstant()
Setter for the constant of the assignment
- Parameters
-
| [in] | constant | The constant to assign |
- Return values
-
| ERR_INVALID_ARG | Constant is empty |
| a_util::result::SUCCESS | Everything went fine |
◆ setReceivedFunction()
Setter for the Received assignment
- Parameters
-
| [in] | source | The name of the source to consider |
- Return values
-
| ERR_INVALID_ARG | Source is empty |
| a_util::result::SUCCESS | Everything went fine |
◆ setSimulationTimeFunction()
Setter for the SimulationTime assignment
- Return values
-
| a_util::result::SUCCESS | Everything went fine |
◆ setTransformation()
| a_util::result::Result ddl::mapping::MapAssignment::setTransformation |
( |
const std::string & | transformation_name | ) |
|
Associates the transformation to this assignment
- Parameters
-
| [in] | transformation_name | The name of the transformation to add |
- Return values
-
| ERR_INVALID_ARG | Source or from is empty (no signal connected) |
| a_util::result::SUCCESS | Everything went fine |
◆ setTriggerCounterFunction()
Setter for the TriggerCounter assignment
- Parameters
-
| [in] | modulo | The modulo for the function it represents the maximal value that can be assigned before going back to 0 if left empty, the limit will be the maximal value of Float64 |
- 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/configuration/map_assignment.h