#include <map_source.h>
MapSource represents a mapping source from the configuration file
◆ MapSource() [1/2]
◆ MapSource() [2/2]
| ddl::mapping::MapSource::MapSource |
( |
MapConfiguration * | config, |
|
|
std::string | name, |
|
|
std::string | type ) |
CTOR
- Parameters
-
| [in] | name | signal name |
| [in] | type | signal type |
| [in] | config | the config |
◆ getName()
| const std::string & ddl::mapping::MapSource::getName |
( |
| ) |
const |
Returns the name of the mapping source
◆ getType()
| const std::string & ddl::mapping::MapSource::getType |
( |
| ) |
const |
◆ isValid()
| bool ddl::mapping::MapSource::isValid |
( |
| ) |
const |
Returns the validity for the current description
◆ setName()
Set name
- Parameters
-
| [in] | new_name | The new name of the target |
- Return values
-
| ERR_INVALID_STATE | No description found |
| ERR_INVALID_ARG | Signal name already used in configuration |
| a_util::result::SUCCESS | Everything went fine |
◆ setType()
Set type
- Parameters
-
| [in] | type_name | The type of the target |
- Return values
-
| ERR_INVALID_STATE | No description found |
| ERR_INVALID_ARG | Signal name already used in configuration |
| ERR_INVALID_TYPE | Inconsistency with ddl |
| a_util::result::SUCCESS | Everything went fine |
The documentation for this class was generated from the following file: