Skip to content

SegmentRef

#include <sbio/core/topology.hh>
template<IsStreamBroker BrokerType>
struct SegmentRef

Defined in src/lib/sbio/core/topology.hh:60

Map a StreamBroker to a logical position within a BrokerGroup.

Name Kind Owner
broker variable Declared here
format_segment_id variable Declared here
access_ptn variable Declared here
logical_slot variable Declared here
DataFormat typedef Declared here
DataAccessPtn typedef Declared here
Return Name Description
BrokerType * broker The pointer to the StreamBroker where you find this logical segment.
hd_std::uint32_t format_segment_id The identifier provided by the actual data format specification.
DataAccessPtn access_ptn The format-specific access strategy used to access this logical segment.
hd_std::uint32_t logical_slot The logical order of the segment within a BrokerGroup.

BrokerType * broker { nullptr }

Defined in src/lib/sbio/core/topology.hh:74

The pointer to the StreamBroker where you find this logical segment.


hd_std::uint32_t format_segment_id { 0 }

Defined in src/lib/sbio/core/topology.hh:81

The identifier provided by the actual data format specification.

The format identifier does not necessarily equal the logical_slot. In some cases, the format may not even provide an identifier.


DataAccessPtn access_ptn

Defined in src/lib/sbio/core/topology.hh:88

The format-specific access strategy used to access this logical segment.

Some formats expose multiple mechanisms to traverse data. The access pattern controls which mechanism to use.


hd_std::uint32_t logical_slot { 0 }

Defined in src/lib/sbio/core/topology.hh:92

The logical order of the segment within a BrokerGroup.

Name Description
DataFormat The type of data being read.
DataAccessPtn The type of the enumerator used to specify access patterns used for the format.

using DataFormat = typename BrokerType::DataFormat

Defined in src/lib/sbio/core/topology.hh:64

The type of data being read.


using DataAccessPtn = typename DataFormat::DataAccessPtn

Defined in src/lib/sbio/core/topology.hh:69

The type of the enumerator used to specify access patterns used for the format.