Base class for all messages.
More...
#include <AsyncMsg.h>
|
virtual | ~Msg (void) |
|
bool | packParent (std::ostream &) const |
|
size_t | packedSizeParent (void) const |
|
bool | unpackParent (std::istream &) |
|
virtual bool | pack (std::ostream &) const |
|
virtual size_t | packedSize (void) const |
|
virtual bool | unpack (std::istream &) |
|
template<typename T > |
bool | pack (std::ostream &os, const T &val) const |
|
template<typename T > |
size_t | packedSize (const T &val) const |
|
template<typename T > |
bool | unpack (std::istream &is, T &val) const |
|
template<typename T1 , typename T2 , typename... Args> |
bool | pack (std::ostream &os, const T1 &v1, const T2 &v2, const Args &... args) const |
|
template<typename T1 , typename T2 , typename... Args> |
size_t | packedSize (const T1 &v1, const T2 &v2, const Args &... args) const |
|
template<typename T1 , typename T2 , typename... Args> |
bool | unpack (std::istream &is, T1 &v1, T2 &v2, Args &... args) |
|
Base class for all messages.
- Author
- Tobias Blomberg / SM0SVX
- Date
- 2017-02-25
- Examples
- AsyncMsg_demo.cpp.
Definition at line 687 of file AsyncMsg.h.
◆ ~Msg()
virtual Async::Msg::~Msg |
( |
void | | ) |
|
|
inlinevirtual |
◆ pack() [1/3]
virtual bool Async::Msg::pack |
( |
std::ostream & | | ) |
const |
|
inlinevirtual |
◆ pack() [2/3]
template<typename T >
bool Async::Msg::pack |
( |
std::ostream & | os, |
|
|
const T & | val ) const |
|
inline |
◆ pack() [3/3]
template<typename T1 , typename T2 , typename... Args>
bool Async::Msg::pack |
( |
std::ostream & | os, |
|
|
const T1 & | v1, |
|
|
const T2 & | v2, |
|
|
const Args &... | args ) const |
|
inline |
◆ packedSize() [1/3]
template<typename T >
size_t Async::Msg::packedSize |
( |
const T & | val | ) |
const |
|
inline |
◆ packedSize() [2/3]
template<typename T1 , typename T2 , typename... Args>
size_t Async::Msg::packedSize |
( |
const T1 & | v1, |
|
|
const T2 & | v2, |
|
|
const Args &... | args ) const |
|
inline |
◆ packedSize() [3/3]
virtual size_t Async::Msg::packedSize |
( |
void | | ) |
const |
|
inlinevirtual |
◆ packedSizeParent()
size_t Async::Msg::packedSizeParent |
( |
void | | ) |
const |
|
inline |
◆ packParent()
bool Async::Msg::packParent |
( |
std::ostream & | | ) |
const |
|
inline |
◆ unpack() [1/3]
virtual bool Async::Msg::unpack |
( |
std::istream & | | ) |
|
|
inlinevirtual |
◆ unpack() [2/3]
template<typename T >
bool Async::Msg::unpack |
( |
std::istream & | is, |
|
|
T & | val ) const |
|
inline |
◆ unpack() [3/3]
template<typename T1 , typename T2 , typename... Args>
bool Async::Msg::unpack |
( |
std::istream & | is, |
|
|
T1 & | v1, |
|
|
T2 & | v2, |
|
|
Args &... | args ) |
|
inline |
◆ unpackParent()
bool Async::Msg::unpackParent |
( |
std::istream & | | ) |
|
|
inline |
The documentation for this class was generated from the following file: