Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
sysio::select_ids< T > Struct Template Reference

#include <protocol.hpp>

Public Member Functions

 select_ids ()
 
bool empty () const
 

Public Attributes

id_list_modes mode {none}
 
uint32_t pending {0}
 
vector< Tids
 

Detailed Description

template<typename T>
struct sysio::select_ids< T >

Definition at line 110 of file protocol.hpp.

Constructor & Destructor Documentation

◆ select_ids()

template<typename T >
sysio::select_ids< T >::select_ids ( )
inline

Definition at line 111 of file protocol.hpp.

111: mode(none),pending(0),ids() {}
id_list_modes mode
Definition protocol.hpp:112
vector< T > ids
Definition protocol.hpp:114

Member Function Documentation

◆ empty()

template<typename T >
bool sysio::select_ids< T >::empty ( ) const
inline

Definition at line 115 of file protocol.hpp.

115{ return (mode == none || ids.empty()); }

Member Data Documentation

◆ ids

template<typename T >
vector<T> sysio::select_ids< T >::ids

Definition at line 114 of file protocol.hpp.

◆ mode

template<typename T >
id_list_modes sysio::select_ids< T >::mode {none}

Definition at line 112 of file protocol.hpp.

112{none};

◆ pending

template<typename T >
uint32_t sysio::select_ids< T >::pending {0}

Definition at line 113 of file protocol.hpp.

113{0};

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