#include <OnixS/CME/ConflatedTCP/testing/MessagePtr.h>
Public Types | |
using | Container = std::shared_ptr< UInt8 > |
Public Member Functions | |
MessagePtr (Container &&, MessageSize) | |
template<class AnotherType > | |
MessagePtr (const MessagePtr< AnotherType > &rhs) | |
template<class AnotherType > | |
MessagePtr (MessagePtr< AnotherType > &&rhs) | |
MessagePtr () | |
MessagePtr (const MessagePtr &)=default | |
MessagePtr & | operator= (const MessagePtr &)=default |
MessagePtr (MessagePtr &&rhs) noexcept | |
MessagePtr & | operator= (MessagePtr &&rhs) noexcept |
void | swap (MessagePtr &rhs) noexcept |
Message * | operator-> () noexcept |
const Message * | operator-> () const noexcept |
Message & | message () noexcept |
const Message & | message () const noexcept |
operator Message () | |
operator const Message () const | |
UInt8 * | buf () noexcept |
void | reset () |
std::string | toString () const |
Friends | |
template<class T > | |
class | MessagePtr |
Definition at line 44 of file MessagePtr.h.
Definition at line 47 of file MessagePtr.h.
MessagePtr | ( | Container && | , |
MessageSize | |||
) |
Creates from the given memory block.
|
inlineexplicit |
Create from another type.
Definition at line 55 of file MessagePtr.h.
|
inlineexplicit |
Creates from the given type.
Definition at line 66 of file MessagePtr.h.
|
inline |
Creates an empty message container.
Definition at line 75 of file MessagePtr.h.
|
default |
|
inlinenoexcept |
Definition at line 86 of file MessagePtr.h.
|
inlinenoexcept |
Definition at line 149 of file MessagePtr.h.
|
inlinenoexcept |
Definition at line 125 of file MessagePtr.h.
|
inlinenoexcept |
Definition at line 131 of file MessagePtr.h.
|
inline |
Definition at line 143 of file MessagePtr.h.
|
inline |
Definition at line 137 of file MessagePtr.h.
|
inlinenoexcept |
Definition at line 113 of file MessagePtr.h.
|
inlinenoexcept |
Definition at line 119 of file MessagePtr.h.
|
default |
|
inlinenoexcept |
Definition at line 93 of file MessagePtr.h.
|
inline |
Resets the message.
Definition at line 155 of file MessagePtr.h.
|
inlinenoexcept |
Definition at line 105 of file MessagePtr.h.
|
inline |
Definition at line 163 of file MessagePtr.h.
|
friend |
Definition at line 201 of file MessagePtr.h.