Common base class for objects that pass triggering.
More...
#include <Trigger.hxx>
|
| TargetAndPuller (const std::string &name=std::string()) |
| Constructor.
|
|
virtual | ~TargetAndPuller () |
| Destructor.
|
|
void | pull (const DataTimeSpec &ts) |
| activate and notify the targets
|
|
| TriggerPuller (const std::string &name=std::string()) |
| Constructor.
|
|
virtual | ~TriggerPuller () |
| Destructor.
|
|
virtual void | addTarget (const boost::intrusive_ptr< TriggerTarget > &target, unsigned id) |
| Add a target to this puller, only called by TriggerTarget's setTrigger. More...
|
|
virtual void | removeTarget (const TriggerTarget *target) |
| Remove a target from the puller, only called by destructor.
|
|
virtual void | setTriggerName () |
| Update the name, used by ConditionAnd and ConditionOr.
|
|
|
unsigned | name_psize |
| Number of pullers when name calculated.
|
|
targetlist_type | targets |
| List of targets and indices.
|
|
std::bitset< MAX_MANAGERS > | activitylevels |
| Index of activitymanager levels.
|
|
std::string | name |
| Name, for debugging purposes.
|
|
|
typedef list< TargetData > | targetlist_type |
| Combination of a target, someone to pull if requested, and the index that target needs to identify this puller.
|
|
Common base class for objects that pass triggering.
◆ addTerm() [1/2]
Add another puller to this (and, or) combination of triggers.
Extending the number of pullers can only be done when the combination is not yet in use; has not yet been set as a trigger for some other object. If you need to re-wire the triggering, use clearTriggers on the triggered object, and create a new TriggerAnd or TriggerOr object to provide triggering. Note that any remaining history of triggering events (writes in channels, etc.) will be lost.
- Parameters
-
p | Object that can serve as a trigger puller. |
◆ addTerm() [2/2]
void dueca::TargetAndPuller::addTerm |
( |
const boost::intrusive_ptr< TargetAndPuller > & |
p | ) |
|
Add another puller to this combination.
See the explanation above.
The documentation for this class was generated from the following file:
- /usr/src/packages/BUILD/dueca/Trigger.hxx