SWC-DB  v0.5.12 C++ documentations
SWC-DB© (Super Wide Column Database) - High Performance Scalable Database (https://github.com/kashirin-alex/swc-db)
SWC::Comm::Protocol::Mngr::Params::Report::RspManagersStatus::Manager Struct Referencefinal

#include <swcdb/db/Protocol/Mngr/params/Report.h>

+ Collaboration diagram for SWC::Comm::Protocol::Mngr::Params::Report::RspManagersStatus::Manager:

Public Member Functions

SWC_CAN_INLINE Manager () noexcept
 
SWC_CAN_INLINE Manager (const uint8_t **bufp, size_t *remainp)
 
 Manager (Manager &&) noexcept=default
 
Manageroperator= (Manager &&) noexcept=default
 
 Manager (const Manager &)=delete
 
Manageroperator= (const Manager &)=delete
 
SWC_CAN_INLINE ~Manager () noexcept
 
size_t SWC_PURE_FUNC encoded_length () const
 
void encode (uint8_t **bufp) const
 
void decode (const uint8_t **bufp, size_t *remainp)
 
void display (std::ostream &out, const std::string &offset) const
 

Public Attributes

EndPoints endpoints
 
uint32_t priority
 
DB::Types::MngrState state
 
uint8_t role
 
cid_t cid_begin
 
cid_t cid_end
 
int failures
 

Detailed Description

Definition at line 189 of file Report.h.

Constructor & Destructor Documentation

◆ Manager() [1/4]

SWC_CAN_INLINE SWC::Comm::Protocol::Mngr::Params::Report::RspManagersStatus::Manager::Manager ( )
inlinenoexcept

Definition at line 200 of file Report.h.

◆ Manager() [2/4]

SWC_CAN_INLINE SWC::Comm::Protocol::Mngr::Params::Report::RspManagersStatus::Manager::Manager ( const uint8_t **  bufp,
size_t *  remainp 
)
inline

Definition at line 207 of file Report.h.

References decode().

+ Here is the call graph for this function:

◆ Manager() [3/4]

SWC::Comm::Protocol::Mngr::Params::Report::RspManagersStatus::Manager::Manager ( Manager &&  )
defaultnoexcept

◆ Manager() [4/4]

SWC::Comm::Protocol::Mngr::Params::Report::RspManagersStatus::Manager::Manager ( const Manager )
delete

◆ ~Manager()

SWC_CAN_INLINE SWC::Comm::Protocol::Mngr::Params::Report::RspManagersStatus::Manager::~Manager ( )
inlinenoexcept

Definition at line 221 of file Report.h.

Member Function Documentation

◆ decode()

void SWC::Comm::Protocol::Mngr::Params::Report::RspManagersStatus::Manager::decode ( const uint8_t **  bufp,
size_t *  remainp 
)

Definition at line 203 of file Report.cc.

References SWC::Serialization::decode(), SWC::Serialization::decode_i8(), SWC::Serialization::decode_vi32(), SWC::Serialization::decode_vi64(), and SWC::Comm::Protocol::Mngr::Params::Report::RspColumnStatus::state.

Referenced by Manager().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ display()

void SWC::Comm::Protocol::Mngr::Params::Report::RspManagersStatus::Manager::display ( std::ostream &  out,
const std::string &  offset 
) const

Definition at line 214 of file Report.cc.

References SWC::DB::Types::MngrRole::COLUMNS, SWC::Comm::print(), SWC::Comm::Protocol::Mngr::Params::Report::RspColumnStatus::state, SWC::DB::Types::to_string(), SWC::Core::to_string(), and SWC::DB::Types::MngrRole::to_string().

+ Here is the call graph for this function:

◆ encode()

void SWC::Comm::Protocol::Mngr::Params::Report::RspManagersStatus::Manager::encode ( uint8_t **  bufp) const

Definition at line 193 of file Report.cc.

References SWC::Serialization::encode(), SWC::Serialization::encode_i8(), SWC::Serialization::encode_vi32(), SWC::Serialization::encode_vi64(), and SWC::Comm::Protocol::Mngr::Params::Report::RspColumnStatus::state.

+ Here is the call graph for this function:

◆ encoded_length()

size_t SWC::Comm::Protocol::Mngr::Params::Report::RspManagersStatus::Manager::encoded_length ( ) const

Definition at line 184 of file Report.cc.

References SWC::Serialization::encoded_length(), SWC::Serialization::encoded_length_vi32(), and SWC::Serialization::encoded_length_vi64().

+ Here is the call graph for this function:

◆ operator=() [1/2]

Manager& SWC::Comm::Protocol::Mngr::Params::Report::RspManagersStatus::Manager::operator= ( const Manager )
delete

◆ operator=() [2/2]

Manager& SWC::Comm::Protocol::Mngr::Params::Report::RspManagersStatus::Manager::operator= ( Manager &&  )
defaultnoexcept

Member Data Documentation

◆ cid_begin

cid_t SWC::Comm::Protocol::Mngr::Params::Report::RspManagersStatus::Manager::cid_begin

Definition at line 195 of file Report.h.

◆ cid_end

cid_t SWC::Comm::Protocol::Mngr::Params::Report::RspManagersStatus::Manager::cid_end

Definition at line 196 of file Report.h.

◆ endpoints

EndPoints SWC::Comm::Protocol::Mngr::Params::Report::RspManagersStatus::Manager::endpoints

Definition at line 191 of file Report.h.

◆ failures

int SWC::Comm::Protocol::Mngr::Params::Report::RspManagersStatus::Manager::failures

Definition at line 197 of file Report.h.

◆ priority

uint32_t SWC::Comm::Protocol::Mngr::Params::Report::RspManagersStatus::Manager::priority

Definition at line 192 of file Report.h.

◆ role

uint8_t SWC::Comm::Protocol::Mngr::Params::Report::RspManagersStatus::Manager::role

Definition at line 194 of file Report.h.

◆ state

DB::Types::MngrState SWC::Comm::Protocol::Mngr::Params::Report::RspManagersStatus::Manager::state

Definition at line 193 of file Report.h.


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