|
REC RPC library
|
#include <QSharedPointer>#include <QDataStream>#include <QMetaType>#include <typeinfo>#include "rec/rpc/defines.h"

Go to the source code of this file.
Classes | |
| class | rec::rpc::serialization::Serializable |
| Base class for all serializable data. More... | |
Namespaces | |
| rec | |
| rec::rpc | |
| rec::rpc::serialization | |
Macros | |
| #define | DEFINE_EMPTY_PARAM(FUNCTIONNAME) DEFINE_SERIALIZABLE( FUNCTIONNAME##Param, rec::rpc::serialization::Serializable ); |
| Empty function parameter type definition. More... | |
| #define | DEFINE_EMPTY_RESULT(FUNCTIONNAME) DEFINE_SERIALIZABLE( FUNCTIONNAME##Result, rec::rpc::serialization::Serializable ); |
| Empty function result type definition. More... | |
| #define | DEFINE_EMPTY_TOPICDATA(TOPICNAME) DEFINE_SERIALIZABLE( topic##TOPICNAME##Data, rec::rpc::serialization::Serializable ); |
| Empty topic data type definition. More... | |
Functions | |
| QDataStream & | rec::rpc::serialization::operator<< (QDataStream &out, const Serializable &data) |
| Serialize the data and write it into a data stream. More... | |
| QDataStream & | rec::rpc::serialization::operator>> (QDataStream &in, Serializable &data) |
| Read data from a data stream and deserialize it. More... | |
| #define DEFINE_EMPTY_PARAM | ( | FUNCTIONNAME | ) | DEFINE_SERIALIZABLE( FUNCTIONNAME##Param, rec::rpc::serialization::Serializable ); |
Empty function parameter type definition.
| FUNCTIONNAME | Name of the RPC function. |
Definition at line 150 of file rec_rpc_serialization_Serializable.h.
| #define DEFINE_EMPTY_RESULT | ( | FUNCTIONNAME | ) | DEFINE_SERIALIZABLE( FUNCTIONNAME##Result, rec::rpc::serialization::Serializable ); |
Empty function result type definition.
| FUNCTIONNAME | Name of the RPC function. |
Definition at line 157 of file rec_rpc_serialization_Serializable.h.
| #define DEFINE_EMPTY_TOPICDATA | ( | TOPICNAME | ) | DEFINE_SERIALIZABLE( topic##TOPICNAME##Data, rec::rpc::serialization::Serializable ); |
Empty topic data type definition.
| TOPICNAME | Name of the RPC function. |
Definition at line 164 of file rec_rpc_serialization_Serializable.h.
1.8.11