ADTF
3.18.2
|
implementation of a signal trigger in the configuration api More...
Public Member Functions | |
MapSignalTrigger (MapConfiguration *config) | |
CTOR. More... | |
virtual std::string | getSourceDependency () const |
Overrides MapTriggerBase. | |
const std::string & | getVariable () const |
Returns the source signal. | |
a_util::result::Result | setVariable (const std::string &signal_name) |
Set the source signal. More... | |
bool | isEqual (const MapTriggerBase &other) const |
Polymorphic comparison method (impl. More... | |
Public Member Functions inherited from MapTriggerBase | |
MapTriggerBase (MapConfiguration *config) | |
CTOR. | |
virtual | ~MapTriggerBase () |
DTOR. | |
bool | isValid () const |
Returns the validity for the current description. | |
bool | checkValidity () |
Check Trigger validity and set validity flag. More... | |
a_util::result::Result | checkTriggerReferences () const |
Checks the configuration for consistency of a new trigger. More... | |
Protected Member Functions | |
MapTriggerBase * | clone () const |
Polymorphic clone method. | |
Private Member Functions | |
a_util::result::Result | loadFromDom (const a_util::xml::DOMElement &dom_element) |
creates a trigger instance from a trigger-dom element More... | |
a_util::result::Result | writeToDOM (a_util::xml::DOMElement &dom_element) const |
Export trigger to a XML dom element. More... | |
a_util::result::Result | setVariableNoTypeCheck (const std::string &signal_name) |
Set the source signal. More... | |
implementation of a signal trigger in the configuration api
Definition at line 168 of file map_trigger.h.
MapSignalTrigger | ( | MapConfiguration * | config | ) |
CTOR.
[in] | config | The configuration |
|
virtual |
Polymorphic comparison method (impl.
from MapTriggerBase)
[in] | other | The other instance |
Implements MapTriggerBase.
|
private |
creates a trigger instance from a trigger-dom element
[in] | dom_element | The dom element from which to import |
ERR_INVALID_ARG | Missing attribute |
a_util::result::SUCCESS | Everything went fine |
a_util::result::Result 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 |
|
private |
Set the source signal.
[in] | signal_name | The source signal name |
ERR_INVALID_ARG | Missing attribute |
a_util::result::SUCCESS | Everything went fine |
|
private |
Export trigger to a XML dom element.
[in] | dom_element | The dom element from which to import |
a_util::result::SUCCESS | Everything went fine |