IRC_SERVER
By @hyunjunk (hyunjun2372@gmail.com)
Loading...
Searching...
No Matches
IRC::MsgBlock Struct Reference

Message block for managing the fixed Constants::MESSAGE_LEN_MAX size message data. More...

#include <MsgBlock.hpp>

Inheritance diagram for IRC::MsgBlock:

Public Member Functions

 MsgBlock ()
 
 MsgBlock (const char *str, size_t msgLen)
 
 MsgBlock (const std::string &str)
 
- Public Member Functions inherited from IRCCore::FlexibleMemoryPoolingBase< MsgBlock >
void * operator new (size_t size)
 
void * operator new (size_t size, void *ptr)
 
void operator delete (void *ptr)
 
void operator delete (void *ptr, size_t size)
 

Public Attributes

char Msg [MESSAGE_LEN_MAX]
 
size_t MsgLen
 

Detailed Description

Message block for managing the fixed Constants::MESSAGE_LEN_MAX size message data.

new/delete overrided with memory pool.

Constructor & Destructor Documentation

◆ MsgBlock() [1/3]

IRC::MsgBlock::MsgBlock ( )
inline

◆ MsgBlock() [2/3]

IRC::MsgBlock::MsgBlock ( const char * str,
size_t msgLen )
inline

◆ MsgBlock() [3/3]

IRC::MsgBlock::MsgBlock ( const std::string & str)
inline

Member Data Documentation

◆ Msg

char IRC::MsgBlock::Msg[MESSAGE_LEN_MAX]

◆ MsgLen

size_t IRC::MsgBlock::MsgLen

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