the engine source
More...
#include <source.h>
Inherits ddl::mapping::rt::ISignalListener.
◆ Source()
CTOR
- Parameters
-
| [in] | env | The mapping environment |
◆ ~Source()
| ddl::mapping::rt::Source::~Source |
( |
| ) |
|
◆ addAssignment()
Method to add a new pair of source element and target element to the intern assignment list
- Parameters
-
| [in] | map_config | The Configuration instance |
| [in] | source_element | The name of the source element to map |
| [in] | target_element | The target element instance |
- Return values
-
| a_util::result::SUCCESS | Everything went fine |
◆ addTrigger()
Method to add a new trigger to the intern trigger list
- Parameters
-
| [in] | map_config | The Configuration instance |
| [in] | trigger | The trigger |
- Return values
-
| a_util::result::SUCCESS | Everything went fine |
◆ create()
Creation method to fill the object with data.
- Parameters
-
| [in] | map_source | The soucre representation from mapping configuration |
| [in] | type_description | The description for the source type |
- Return values
-
| a_util::result::SUCCESS | Everything went fine |
| ERR_FAILED | Error while filing the object |
◆ getAssigmentList()
| const Assignments & ddl::mapping::rt::Source::getAssigmentList |
( |
| ) |
const |
Getter for the assignment list
- Returns
- the assignment list
◆ getTypeName()
| const std::string & ddl::mapping::rt::Source::getTypeName |
( |
| ) |
const |
Getter for the source type
- Returns
- the source type
◆ onSampleReceived()
Method to handle a sample when it is received.
- Parameters
-
| [in] | data | The memory location of the received buffer |
| [in] | size | The memory size of the received buffer |
- Return values
-
| a_util::result::SUCCESS | Everything went fine |
Implements ddl::mapping::rt::ISignalListener.
◆ operator=()
| Source & ddl::mapping::rt::Source::operator= |
( |
const Source & | | ) |
|
|
delete |
no copy assignment operator
- Returns
- Source&
◆ removeAssignmentsFor()
Method to remove all elements of a target from the intern assignment list
- Parameters
-
| [in] | target | The target to unmap |
- Return values
-
| a_util::result::SUCCESS | Everything went fine |
The documentation for this class was generated from the following file:
- include/ddl/mapping/legacy/engine/source.h