OnixS C++ CME iLink 3 Binary Order Entry Handler  1.18.9
API Documentation
MessagePtr< Message > Class Template Reference

#include <OnixS/CME/iLink3/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
 
MessagePtroperator= (const MessagePtr &)=default
 
 MessagePtr (MessagePtr &&rhs) noexcept
 
MessagePtroperator= (MessagePtr &&rhs) noexcept
 
bool valid () const noexcept
 
void swap (MessagePtr &rhs) noexcept
 
Message * operator-> () noexcept
 
const Message * operator-> () const noexcept
 
Message & operator* () noexcept
 
const Message & operator* () const noexcept
 
Message & message () noexcept
 
const Message & message () const noexcept
 
 operator Message () noexcept
 
 operator const Message () const noexcept
 
UInt8buf () noexcept
 
void reset ()
 
std::string toString () const
 

Friends

template<class T >
class MessagePtr
 

Detailed Description

template<typename Message>
class OnixS::CME::iLink3::Testing::MessagePtr< Message >

Definition at line 58 of file MessagePtr.h.

Member Typedef Documentation

using Container = std::shared_ptr<UInt8>

Definition at line 61 of file MessagePtr.h.

Constructor & Destructor Documentation

MessagePtr ( Container &&  ,
MessageSize   
)

Creates from the given memory block.

MessagePtr ( const MessagePtr< AnotherType > &  rhs)
inlineexplicit

Create from another type.

Definition at line 69 of file MessagePtr.h.

MessagePtr ( MessagePtr< AnotherType > &&  rhs)
inlineexplicit

Creates from the given type.

Definition at line 80 of file MessagePtr.h.

MessagePtr ( )
inline

Creates an empty message container.

Definition at line 89 of file MessagePtr.h.

MessagePtr ( const MessagePtr< Message > &  )
default
MessagePtr ( MessagePtr< Message > &&  rhs)
inlinenoexcept

Definition at line 100 of file MessagePtr.h.

Member Function Documentation

UInt8* buf ( )
inlinenoexcept
Returns
the underlying buffer.

Definition at line 185 of file MessagePtr.h.

Message& message ( )
inlinenoexcept
Returns
the underlying message.

Definition at line 159 of file MessagePtr.h.

const Message& message ( ) const
inlinenoexcept
Returns
the underlying message.

Definition at line 166 of file MessagePtr.h.

operator const Message ( ) const
inlinenoexcept

Definition at line 179 of file MessagePtr.h.

operator Message ( )
inlinenoexcept

Definition at line 173 of file MessagePtr.h.

Message& operator* ( )
inlinenoexcept

Definition at line 147 of file MessagePtr.h.

const Message& operator* ( ) const
inlinenoexcept

Definition at line 153 of file MessagePtr.h.

Message* operator-> ( )
inlinenoexcept

Definition at line 133 of file MessagePtr.h.

const Message* operator-> ( ) const
inlinenoexcept

Definition at line 140 of file MessagePtr.h.

MessagePtr& operator= ( const MessagePtr< Message > &  )
default
MessagePtr& operator= ( MessagePtr< Message > &&  rhs)
inlinenoexcept

Definition at line 107 of file MessagePtr.h.

void reset ( )
inline

Resets the message.

Definition at line 191 of file MessagePtr.h.

void swap ( MessagePtr< Message > &  rhs)
inlinenoexcept

Definition at line 125 of file MessagePtr.h.

std::string toString ( ) const
inline
Returns
the human-readable presentation.

Definition at line 199 of file MessagePtr.h.

bool valid ( ) const
inlinenoexcept

Definition at line 119 of file MessagePtr.h.

Friends And Related Function Documentation

friend class MessagePtr
friend

Definition at line 262 of file MessagePtr.h.


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