Functor class used by osvr::common::serialize to serialize a message (passed as the "process" argument to the class's processMessage method).
More...
#include <Serialization.h>
|
| SerializeFunctor (BufferType &buf) |
| Constructor, taking the buffer.
|
|
template<typename T > |
void | operator() (T const &v) |
| Main function call operator method. More...
|
|
template<typename Tag , typename T > |
void | operator() (T const &v, Tag const &tag=Tag()) |
| Main function call operator method, taking a "tag type" to specify non-default serialization-related behavior. More...
|
|
std::true_type | isSerialize () const |
|
std::false_type | isDeserialize () const |
|
template<typename BufferType>
class osvr::common::serialization::SerializeFunctor< BufferType >
Functor class used by osvr::common::serialize to serialize a message (passed as the "process" argument to the class's processMessage method).
§ operator()() [1/2]
template<typename BufferType>
template<typename T >
Main function call operator method.
Thin wrapper around apply() to perform template argument deduction.
- Parameters
-
v | The value to process - in this case, to add to the buffer. |
§ operator()() [2/2]
template<typename BufferType>
template<typename Tag , typename T >
Main function call operator method, taking a "tag type" to specify non-default serialization-related behavior.
Thin wrapper around apply() to perform template argument deduction.
- Parameters
-
v | The value to process - in this case, to add to the buffer. |
The documentation for this class was generated from the following file: