Go to the source code of this file.
#define DECLARE_PRIMITIVE_MEMBER |
( |
|
DATATYPE, |
|
|
|
NAME |
|
) |
| |
Value:private: \
rec::rpc::serialization::PrimitivePtr< DATATYPE >::Type _##NAME; \
public: \
DATATYPE& NAME() { return *_##NAME; } \
const DATATYPE& NAME() const { return *_##NAME; } \
void set##NAME( const DATATYPE& value ) { _##NAME->setValue( value ); }
Serialization class for primitive objects and values.
Complex data container member definition for primitive types.
Place this macro into the declaration of a rec::rpc::serialization::Complex subclass to add a primitive member. It can be accessed via NAME() (const and non-const).
- Parameters
-
DATATYPE | Type of the data contained. |
NAME | Member name. |
- See also
- rec::rpc::serialization::Complex
Definition at line 179 of file rec_rpc_serialization_Primitive.h.
Function parameter type definition.
- Parameters
-
FUNCTIONNAME | Name of the RPC function. |
DATATYPE | Type of the data stored in the container. |
Definition at line 194 of file rec_rpc_serialization_Primitive.h.
Function result type definition.
- Parameters
-
FUNCTIONNAME | Name of the RPC function. |
DATATYPE | Type of the data stored in the container. |
Definition at line 202 of file rec_rpc_serialization_Primitive.h.
Topic data type definition.
- Parameters
-
TOPICNAME | Name of the topic. |
DATATYPE | Type of the data stored in the container. |
Definition at line 210 of file rec_rpc_serialization_Primitive.h.