DDS  ver. 3.4
Public Member Functions | List of all members
dds::protocol_api::CStatImpl Class Reference

#include <StatImpl.h>

Inheritance diagram for dds::protocol_api::CStatImpl:
dds::protocol_api::CBaseChannelImpl< CAgentChannel > dds::protocol_api::CBaseChannelImpl< CCommanderChannel > dds::protocol_api::CBaseChannelImpl< CStatChannel > dds::protocol_api::CBaseChannelImpl< CTestChannel > dds::protocol_api::CBaseChannelImpl< T > dds::protocol_api::CClientChannelImpl< CAgentChannel > dds::protocol_api::CServerChannelImpl< CAgentChannel > dds::protocol_api::CClientChannelImpl< CCommanderChannel > dds::protocol_api::CClientChannelImpl< CStatChannel > dds::protocol_api::CClientChannelImpl< CTestChannel > dds::protocol_api::CClientChannelImpl< T > dds::protocol_api::CServerChannelImpl< T > dds::internal_api::CAgentChannel dds::commander_cmd::CAgentChannel dds::agent_cmd::CCommanderChannel dds::stat_cmd::CStatChannel dds::test_cmd::CTestChannel

Public Member Functions

 CStatImpl (boost::asio::io_context &_context)
 
SReadStat getReadStat () const
 Return read statistics. More...
 
SWriteStat getWriteStat () const
 Return write statistics. More...
 
void setStatEnabled (bool _statEnabled)
 Enable/disable statistics accumulation. More...
 
void logReadMessage (CProtocolMessage::protocolMessagePtr_t _message)
 
void logWriteMessages (const protocolMessagePtrQueue_t &_messageQueue)
 

Constructor & Destructor Documentation

◆ CStatImpl()

dds::protocol_api::CStatImpl::CStatImpl ( boost::asio::io_context &  _context)
inline

Member Function Documentation

◆ getReadStat()

SReadStat CStatImpl::getReadStat ( ) const

Return read statistics.

CStatImpl.

◆ getWriteStat()

SWriteStat CStatImpl::getWriteStat ( ) const

Return write statistics.

◆ logReadMessage()

void CStatImpl::logReadMessage ( CProtocolMessage::protocolMessagePtr_t  _message)

◆ logWriteMessages()

void CStatImpl::logWriteMessages ( const protocolMessagePtrQueue_t &  _messageQueue)

◆ setStatEnabled()

void CStatImpl::setStatEnabled ( bool  _statEnabled)

Enable/disable statistics accumulation.


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