|
Dev Essential
|
implementation of a signal trigger in the configuration api More...
#include <map_trigger.h>
Inherits ddl::mapping::MapTriggerBase.
Public Member Functions | |
| MapSignalTrigger (MapConfiguration *config) | |
| virtual std::string | getSourceDependency () const |
| const std::string & | getVariable () const |
| a_util::result::Result | setVariable (const std::string &signal_name) |
| bool | isEqual (const MapTriggerBase &other) const |
Public Member Functions inherited from ddl::mapping::MapTriggerBase | |
| MapTriggerBase (MapConfiguration *config) | |
| virtual | ~MapTriggerBase () |
| bool | isValid () const |
| bool | checkValidity () |
| a_util::result::Result | checkTriggerReferences () const |
Protected Member Functions | |
| MapTriggerBase * | clone () const |
implementation of a signal trigger in the configuration api
| ddl::mapping::MapSignalTrigger::MapSignalTrigger | ( | MapConfiguration * | config | ) |
CTOR
| [in] | config | The configuration |
|
protectedvirtual |
Polymorphic clone method
Implements ddl::mapping::MapTriggerBase.
|
virtual |
Overrides MapTriggerBase
Reimplemented from ddl::mapping::MapTriggerBase.
| const std::string & ddl::mapping::MapSignalTrigger::getVariable | ( | ) | const |
Returns the source signal
|
virtual |
Polymorphic comparison method (impl. from MapTriggerBase)
| [in] | other | The other instance |
Implements ddl::mapping::MapTriggerBase.
| a_util::result::Result ddl::mapping::MapSignalTrigger::setVariable | ( | const std::string & | signal_name | ) |
Set the source signal
| [in] | signal_name | The source signal name |
| ERR_INVALID_ARG | Missing attribute |
| a_util::result::SUCCESS | Everything went fine |