|
libtcspc C++ API
Streaming TCSPC and time tag data processing
|
Mechanism providing access to objects (especially processors) after they have been incorporated into a processing graph.
From the viewpoint of user code, this works as follows:
From the viewpoint of the object that provides access through the context, this works as follows:
The macro LIBTCSPC_OBJECT_FROM_TRACKER() can be used by access factories to obtain the address of an object holding a tracker in a data member.
Topics | |
| Accessor types | |
| Objects providing access via context. | |
Classes | |
| class | tcspc::access_tracker< Access > |
| Tracker that mediates access to objects via a tcspc::context. More... | |
| class | tcspc::context |
| Context for enabling access to objects after they have been incorporated into a processing graph. More... | |
Macros | |
| #define | LIBTCSPC_OBJECT_FROM_TRACKER(obj_type, tracker_field_name, tracker) |
| Recover the object address from a tcspc::access_tracker embedded in the object. | |
| #define LIBTCSPC_OBJECT_FROM_TRACKER | ( | obj_type, | |
| tracker_field_name, | |||
| tracker ) |
Recover the object address from a tcspc::access_tracker embedded in the object.
This can be used in the implementation of an access factory (see tcspc::access_tracker::register_access_factory()).
| obj_type | object type (no commas or angle brackets) |
| tracker_field_name | name of data member of obj_type holding the tracker |
| tracker | the tracker (must be lvalue) |