|
DUECA/DUSIME
|
Manual/Custom triggering. More...
#include <ManualTriggerPuller.hxx>


Public Member Functions | |
| ManualTriggerPuller (const std::string &name=std::string()) | |
| Constructor. | |
| ~ManualTriggerPuller () | |
| Destructor. | |
| void | pull (const DataTimeSpec &ts) |
| Provide triggering activation for a specific time. | |
Public Member Functions inherited from dueca::TriggerPuller | |
| const std::string & | getTriggerName () const |
| Find a name. | |
Additional Inherited Members | |
Protected Types inherited from dueca::TriggerPuller | |
| typedef list< TargetData > | targetlist_type |
| Combination of a target, someone to pull if requested, and the index that target needs to identify this puller. | |
Protected Member Functions inherited from dueca::TriggerPuller | |
| 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. | |
| 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. | |
Protected Attributes inherited from dueca::TriggerPuller | |
| targetlist_type | targets |
| List of targets and indices. | |
| std::bitset< MAX_MANAGERS > | activitylevels |
| Index of activitymanager levels. | |
| std::string | name |
| Name, for debugging purposes. | |
Manual/Custom triggering.
A ManualTriggerPuller can be used to provide custom triggering from your module's code. Note that these are seldom needed, see the explanation given with the TimeWarp class for an example.
| void dueca::TriggerPuller::pull | ( | const DataTimeSpec & | ts | ) |
Provide triggering activation for a specific time.
| ts | Time span for which triggering should take place. |