Tracked information. Interface is pretty minimal so far. More...
#include <TrackedTriggerGate.h>
Public Member Functions | |
void | add (TrackedType tracked) |
Add an object to the list of tracked objects, if it's not present yet. More... | |
void | add (TrackingInfo const &tracked) |
Adds all the objects tracked in the specified information object. More... | |
std::size_t | nTracked () const |
Returns the number of objects currently tracked;. More... | |
bool | hasTracked () const |
Whether any tracked object is present. More... | |
auto | getTracked () const |
Returns an iterable of all tracked objects. More... | |
Private Attributes | |
std::set< Tracked_t > | fTracked |
All tracked objects. More... | |
Tracked information. Interface is pretty minimal so far.
Definition at line 108 of file TrackedTriggerGate.h.
void icarus::trigger::TrackedTriggerGate< Gate, TrackedType >::TrackingInfo::add | ( | TrackedType | tracked | ) |
Add an object to the list of tracked objects, if it's not present yet.
Definition at line 199 of file TrackedTriggerGate.h.
void icarus::trigger::TrackedTriggerGate< Gate, TrackedType >::TrackingInfo::add | ( | TrackingInfo const & | tracked | ) |
Adds all the objects tracked
in the specified information object.
Definition at line 206 of file TrackedTriggerGate.h.
auto icarus::trigger::TrackedTriggerGate< Gate, TrackedType >::TrackingInfo::getTracked | ( | ) | const |
Returns an iterable of all tracked objects.
Definition at line 228 of file TrackedTriggerGate.h.
bool icarus::trigger::TrackedTriggerGate< Gate, TrackedType >::TrackingInfo::hasTracked | ( | ) | const |
Whether any tracked object is present.
Definition at line 221 of file TrackedTriggerGate.h.
std::size_t icarus::trigger::TrackedTriggerGate< Gate, TrackedType >::TrackingInfo::nTracked | ( | ) | const |
Returns the number of objects currently tracked;.
Definition at line 213 of file TrackedTriggerGate.h.
|
private |
All tracked objects.
Definition at line 110 of file TrackedTriggerGate.h.