tec::networking::MessageOut
#include <net-message.hpp>
Inherits from google::protobuf::io::ZeroCopyOutputStream
Public Functions
Name | |
---|---|
MessageOut() | |
MessageOut(MessageType msg_type) | |
MessageOut(const MessageOut & other) | |
MessageOut(MessageOut && other) | |
void | FromBuffer(const void * body, size_t length) |
void | FromString(const std::string & body) |
void | SetMessageType(MessageType value) |
void | SetMessageID(uint32_t value) |
MessageType | GetMessageType() const |
uint32_t | GetMessageID() const |
bool | IsEmpty() const |
MessagePool::list_type | GetMessages() |
virtual bool | Next(void ** data, int * size) |
virtual void | BackUp(int count) |
virtual int64_t | ByteCount() const |
virtual bool | WriteAliasedRaw(const void * , int ) |
virtual bool | AllowsAliasing() const |
Public Functions Documentation
function MessageOut
inline MessageOut()
function MessageOut
inline MessageOut(
MessageType msg_type
)
function MessageOut
inline MessageOut(
const MessageOut & other
)
function MessageOut
inline MessageOut(
MessageOut && other
)
function FromBuffer
void FromBuffer(
const void * body,
size_t length
)
function FromString
inline void FromString(
const std::string & body
)
function SetMessageType
inline void SetMessageType(
MessageType value
)
function SetMessageID
inline void SetMessageID(
uint32_t value
)
function GetMessageType
inline MessageType GetMessageType() const
function GetMessageID
inline uint32_t GetMessageID() const
function IsEmpty
inline bool IsEmpty() const
function GetMessages
MessagePool::list_type GetMessages()
function Next
virtual bool Next(
void ** data,
int * size
)
function BackUp
virtual void BackUp(
int count
)
function ByteCount
inline virtual int64_t ByteCount() const
function WriteAliasedRaw
inline virtual bool WriteAliasedRaw(
const void * ,
int
)
function AllowsAliasing
inline virtual bool AllowsAliasing() const
Updated on 2022-07-24 at 19:27:35 +0000