base_metric< T > Struct Template Reference

#include <base_metric.h>

Inheritance diagram for base_metric< T >:
base_cycle_metric< T > base_read_metric< T >

Public Types

typedef ::uint16_t lane_t
 
typedef T tile_t
 
typedef ::uint8_t record_size_t
 
typedef constants::base_tile_t base_t
 

Public Member Functions

 base_metric (const lane_t lane_=0, const tile_t tile_=0)
 
template<class BaseMetric >
void set (const BaseMetric &metric)
 
bool is_valid () const
 

Public Attributes

lane_t lane
 
tile_t tile
 

Detailed Description

template<class T>
struct illumina::interop::io::layout::base_metric< T >

Base class for InterOp records that contain tile specific metrics

These records contain both a lane and tile identifier.

Note
These classes are packed such that there is not padding. Their size reflects the accumulation of their member fields.

Member Typedef Documentation

Define base type

typedef ::uint16_t lane_t

Lane integral type

typedef ::uint8_t record_size_t

Define a record size type

typedef T tile_t

Tile integral type

Constructor & Destructor Documentation

base_metric ( const lane_t  lane_ = 0,
const tile_t  tile_ = 0 
)
inline

Constructor

Parameters
lane_lane number
tile_tile number

Member Function Documentation

bool is_valid ( ) const
inline

Test if the layout contains valid data

Returns
true if data is valid
void set ( const BaseMetric &  metric)
inline

Set the lane and tile id from a base metric

Parameters
metrica base_metric from the model

Member Data Documentation

lane_t lane

Lane number

tile_t tile

Tile number


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