ADTF  3.18.3
signal_trigger.h
Go to the documentation of this file.
1 
14 #ifndef SIGNAL_TRIGGER_HEADER
15 #define SIGNAL_TRIGGER_HEADER
16 
17 #include <a_util/result.h>
19 
20 namespace ddl {
21 namespace mapping {
22 namespace rt {
24 class SignalTrigger : public TriggerBase {
25 public:
31  SignalTrigger(IMappingEnvironment& env, const std::string& trigger_name);
32 
37 
45 
52 
59 
60 private:
62  IMappingEnvironment& _env;
63  std::string _name;
64  bool _is_running;
66 };
67 
68 } // namespace rt
69 } // namespace mapping
70 } // namespace ddl
71 #endif // SIGNAL_TRIGGER_HEADER
A common result class usable as return value throughout.
Mapping environment interface class This in combination with ISignalListener forms the functionality ...
SignalTrigger implements a concrete periodic trigger in the runtime.
SignalTrigger(IMappingEnvironment &env, const std::string &trigger_name)
CTOR.
a_util::result::Result transmit()
Method to transmit targets.
a_util::result::Result start()
Method to start trigger.
a_util::result::Result stop()
Method to stop trigger.
base class representing a trigger
Definition: trigger.h:24
Common include for component a_util::result.