|
Dev Essential
1.6.3
|
implementation of a periodic trigger in the configuration api More...
#include <map_trigger.h>
Inherits ddl::mapping::MapTriggerBase.
Public Member Functions | |
| MapPeriodicTrigger (MapConfiguration *config) | |
| double | getPeriod () const |
| a_util::result::Result | setPeriod (const std::string &period, const std::string &unit) |
| bool | isEqual (const MapTriggerBase &other) const |
Public Member Functions inherited from ddl::mapping::MapTriggerBase | |
| MapTriggerBase (MapConfiguration *config) | |
| virtual | ~MapTriggerBase () |
| bool | isValid () const |
| virtual std::string | getSourceDependency () const |
| bool | checkValidity () |
| a_util::result::Result | checkTriggerReferences () const |
Protected Member Functions | |
| MapTriggerBase * | clone () const |
implementation of a periodic trigger in the configuration api
| ddl::mapping::MapPeriodicTrigger::MapPeriodicTrigger | ( | MapConfiguration * | config | ) |
CTOR
| [in] | config | The configuration |
|
protectedvirtual |
Polymorphic clone method
Implements ddl::mapping::MapTriggerBase.
| double ddl::mapping::MapPeriodicTrigger::getPeriod | ( | ) | const |
Returns the period of the trigger in ms
|
virtual |
Polymorphic comparison method (impl. from MapTriggerBase)
| [in] | other | The other instance |
Implements ddl::mapping::MapTriggerBase.
| a_util::result::Result ddl::mapping::MapPeriodicTrigger::setPeriod | ( | const std::string & | period, |
| const std::string & | unit ) |
Set the period
| [in] | period | The period as integer |
| [in] | unit | The unit ("us", "ms" or "s") |