Functor class used by osvr::common::deserialize to deserialize a message (passed as the "process" argument to the class's processMessage method). More...
#include <osvr/Common/Serialization.h>
Public Member Functions | |
DeserializeFunctor (BufferReaderType &reader) | |
Constructor, taking the buffer reader. | |
template<typename T > | |
void | operator() (T &v) |
Main function call operator method. More... | |
template<typename Tag , typename T > | |
void | operator() (T &v, Tag const &tag=Tag()) |
Main function call operator method, taking a "tag type" to specify non-default serialization-related behavior. More... | |
template<typename Tag , typename T > | |
void | operator() (T *v, Tag const &tag=Tag()) |
std::false_type | isSerialize () const |
std::true_type | isDeserialize () const |
Functor class used by osvr::common::deserialize to deserialize a message (passed as the "process" argument to the class's processMessage method).
Definition at line 96 of file Serialization.h.
|
inline |
Main function call operator method.
v | The value to process - in this case, to read from the buffer. |
Definition at line 105 of file Serialization.h.
|
inline |
Main function call operator method, taking a "tag type" to specify non-default serialization-related behavior.
v | The value to process - in this case, to read from the buffer. |
Definition at line 115 of file Serialization.h.
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Handles pointers.
Definition at line 123 of file Serialization.h.