Auxiliary objects

These objects are used during graph definition to configure event types and processor nodes.

Data types

DataTypes objects are used to specify the numeric data types used for timestamp and related event fields.

libtcspc.DataTypes

Set of integer types used by events and processors that are parameterised by data types.

Parameters

Various settings of processing nodes and other auxiliary objects can be left parameterized in the graph, so that the compiled graph can be reused with different values for those settings, supplied when creating the execution context. The Param object serves as a placeholder for parameterized values.

libtcspc.Param

Typed placeholder for a run-time parameter of a processing graph.

Access tags

Some processing nodes support direct interaction at run time. This is used, for example, to retrieve results from nodes that collect statistics, or to control stream behavior such as buffering. To enable such access, an AccessTag is attached to the node during graph definition; at execution time, access to the node can be obtained using the same tag.

libtcspc.AccessTag

Tag attached to _Accessible objects.

Acquisition readers

Readers that supply data to the Acquire processor by wrapping pull-style device APIs.

libtcspc.AcquisitionReader

Base class for built-in C++-side acquisition data sources usable with Acquire.

libtcspc.NullReader

Acquisition reader that immediately signals end of stream.

libtcspc.StuckReader

Acquisition reader that waits indefinitely without producing data.

Bucket sources

Allocation strategies for bucket instances used by processors that produce bulk data.

libtcspc.BucketSource

Base class for sources of bucket storage used by stream-processing graphs.

libtcspc.NewDeleteBucketSource

Bucket source that allocates fresh storage for each bucket using new[]/delete[].

libtcspc.RecyclingBucketSource

Bucket source that reuses storage from destroyed buckets.

Input streams

Inputs to source processor nodes such as ReadBinaryStream.

libtcspc.InputStream

Base class for binary input streams used by ReadBinaryStream.

libtcspc.BinaryFileInputStream

Binary input stream that reads from a file on disk.