Functor class used by osvr::common::deserialize to deserialize a message (passed as the "process" argument to the class's processMessage method).
More...
#include <Serialization.h>
|
| 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()) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.Handles pointers. More...
|
|
std::false_type | isSerialize () const |
|
std::true_type | isDeserialize () const |
|
template<typename BufferReaderType>
class osvr::common::serialization::DeserializeFunctor< BufferReaderType >
Functor class used by osvr::common::deserialize to deserialize a message (passed as the "process" argument to the class's processMessage method).
§ operator()() [1/3]
template<typename BufferReaderType>
template<typename T >
Main function call operator method.
- Parameters
-
v | The value to process - in this case, to read from the buffer. |
§ operator()() [2/3]
template<typename BufferReaderType>
template<typename Tag , typename T >
Main function call operator method, taking a "tag type" to specify non-default serialization-related behavior.
- Parameters
-
v | The value to process - in this case, to read from the buffer. |
§ operator()() [3/3]
template<typename BufferReaderType>
template<typename Tag , typename T >
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.Handles pointers.
The documentation for this class was generated from the following file: