SegmentRef
SegmentRef
Section titled “SegmentRef”#include <sbio/core/topology.hh>template<IsStreamBroker BrokerType>struct SegmentRefDefined in src/lib/sbio/core/topology.hh:60
Map a StreamBroker to a logical position within a BrokerGroup.
List of all members
Section titled “List of all members”| 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 |
Public Attributes
Section titled “Public Attributes”| 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. |
broker
Section titled “broker”BrokerType * broker { nullptr }Defined in src/lib/sbio/core/topology.hh:74
The pointer to the StreamBroker where you find this logical segment.
format_segment_id
Section titled “format_segment_id”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.
access_ptn
Section titled “access_ptn”DataAccessPtn access_ptnDefined 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.
logical_slot
Section titled “logical_slot”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.
Public Types
Section titled “Public Types”| Name | Description |
|---|---|
DataFormat |
The type of data being read. |
DataAccessPtn |
The type of the enumerator used to specify access patterns used for the format. |
DataFormat
Section titled “DataFormat”using DataFormat = typename BrokerType::DataFormatDefined in src/lib/sbio/core/topology.hh:64
The type of data being read.
DataAccessPtn
Section titled “DataAccessPtn”using DataAccessPtn = typename DataFormat::DataAccessPtnDefined in src/lib/sbio/core/topology.hh:69
The type of the enumerator used to specify access patterns used for the format.