libtcspc C++ API
Streaming TCSPC and time tag data processing
Loading...
Searching...
No Matches
tcspc::processor_node_id Class Reference

Description

Value type representing processor identity within a graph.

This type is used to represent a node in a tcspc::processor_graph. Usually instances are obtained through methods of tcspc::processor_graph.

Values of this type bijectively map to processor instances, provided that the processors are not moved or destroyed.

Public Member Functions

template<typename Processor>
 processor_node_id (Processor const *processor)
 Construct with a pointer to a processor.

Friends

auto operator< (processor_node_id const &lhs, processor_node_id const &rhs) -> bool
 Less-than operator.
auto operator<= (processor_node_id const &lhs, processor_node_id const &rhs) -> bool
 Less-than-or-equal-to operator.
auto operator== (processor_node_id const &lhs, processor_node_id const &rhs) -> bool=default
 Equality comparison operator.
auto operator> (processor_node_id const &lhs, processor_node_id const &rhs) -> bool
 Greater-than operator.
auto operator>= (processor_node_id const &lhs, processor_node_id const &rhs) -> bool
 Greater-than-or-equal-to operator.

Constructor & Destructor Documentation

◆ processor_node_id()

template<typename Processor>
tcspc::processor_node_id::processor_node_id ( Processor const * processor)
inlineexplicit

Construct with a pointer to a processor.

Template Parameters
Processorprocessor type (usually deduced)
Parameters
processorpointer to the processor

The documentation for this class was generated from the following file: