| Index: ipc/ipc_message_macros.h
|
| ===================================================================
|
| --- ipc/ipc_message_macros.h (revision 69966)
|
| +++ ipc/ipc_message_macros.h (working copy)
|
| @@ -120,6 +120,9 @@
|
| #define IPC_SYNC_MESSAGE_CONTROL0_3_EXTRA(msg_class, type1_out, type2_out, type3_out) \
|
| IPC_MESSAGE_LOG(msg_class)
|
|
|
| +#define IPC_SYNC_MESSAGE_CONTROL0_4_EXTRA(msg_class, type1_out, type2_out, type3_out, type4_out) \
|
| + IPC_MESSAGE_LOG(msg_class)
|
| +
|
| #define IPC_SYNC_MESSAGE_CONTROL1_0_EXTRA(msg_class, type1_in) \
|
| IPC_MESSAGE_LOG(msg_class)
|
|
|
| @@ -132,6 +135,9 @@
|
| #define IPC_SYNC_MESSAGE_CONTROL1_3_EXTRA(msg_class, type1_in, type1_out, type2_out, type3_out) \
|
| IPC_MESSAGE_LOG(msg_class)
|
|
|
| +#define IPC_SYNC_MESSAGE_CONTROL1_4_EXTRA(msg_class, type1_in, type1_out, type2_out, type3_out, type4_out) \
|
| + IPC_MESSAGE_LOG(msg_class)
|
| +
|
| #define IPC_SYNC_MESSAGE_CONTROL2_0_EXTRA(msg_class, type1_in, type2_in) \
|
| IPC_MESSAGE_LOG(msg_class)
|
|
|
| @@ -144,6 +150,9 @@
|
| #define IPC_SYNC_MESSAGE_CONTROL2_3_EXTRA(msg_class, type1_in, type2_in, type1_out, type2_out, type3_out) \
|
| IPC_MESSAGE_LOG(msg_class)
|
|
|
| +#define IPC_SYNC_MESSAGE_CONTROL2_4_EXTRA(msg_class, type1_in, type2_in, type1_out, type2_out, type3_out, type4_out) \
|
| + IPC_MESSAGE_LOG(msg_class)
|
| +
|
| #define IPC_SYNC_MESSAGE_CONTROL3_1_EXTRA(msg_class, type1_in, type2_in, type3_in, type1_out) \
|
| IPC_MESSAGE_LOG(msg_class)
|
|
|
| @@ -165,6 +174,9 @@
|
| #define IPC_SYNC_MESSAGE_CONTROL4_3_EXTRA(msg_class, type1_in, type2_in, type3_in, type4_in, type1_out, type2_out, type3_out) \
|
| IPC_MESSAGE_LOG(msg_class)
|
|
|
| +#define IPC_SYNC_MESSAGE_CONTROL4_4_EXTRA(msg_class, type1_in, type2_in, type3_in, type4_in, type1_out, type2_out, type3_out, type4_out) \
|
| + IPC_MESSAGE_LOG(msg_class)
|
| +
|
| #define IPC_SYNC_MESSAGE_CONTROL5_1_EXTRA(msg_class, type1_in, type2_in, type3_in, type4_in, type5_in, type1_out) \
|
| IPC_MESSAGE_LOG(msg_class)
|
|
|
| @@ -174,6 +186,9 @@
|
| #define IPC_SYNC_MESSAGE_CONTROL5_3_EXTRA(msg_class, type1_in, type2_in, type3_in, type4_in, type5_in, type1_out, type2_out, type3_out) \
|
| IPC_MESSAGE_LOG(msg_class)
|
|
|
| +#define IPC_SYNC_MESSAGE_CONTROL5_4_EXTRA(msg_class, type1_in, type2_in, type3_in, type4_in, type5_in, type1_out, type2_out, type3_out, type4_out) \
|
| + IPC_MESSAGE_LOG(msg_class)
|
| +
|
| #define IPC_SYNC_MESSAGE_ROUTED0_0_EXTRA(msg_class) \
|
| IPC_MESSAGE_LOG(msg_class)
|
|
|
| @@ -186,6 +201,9 @@
|
| #define IPC_SYNC_MESSAGE_ROUTED0_3_EXTRA(msg_class, type1_out, type2_out, type3_out) \
|
| IPC_MESSAGE_LOG(msg_class)
|
|
|
| +#define IPC_SYNC_MESSAGE_ROUTED0_4_EXTRA(msg_class, type1_out, type2_out, type3_out, type4_out) \
|
| + IPC_MESSAGE_LOG(msg_class)
|
| +
|
| #define IPC_SYNC_MESSAGE_ROUTED1_0_EXTRA(msg_class, type1_in) \
|
| IPC_MESSAGE_LOG(msg_class)
|
|
|
| @@ -213,6 +231,9 @@
|
| #define IPC_SYNC_MESSAGE_ROUTED2_3_EXTRA(msg_class, type1_in, type2_in, type1_out, type2_out, type3_out) \
|
| IPC_MESSAGE_LOG(msg_class)
|
|
|
| +#define IPC_SYNC_MESSAGE_ROUTED2_4_EXTRA(msg_class, type1_in, type2_in, type1_out, type2_out, type3_out, type4_out) \
|
| + IPC_MESSAGE_LOG(msg_class)
|
| +
|
| #define IPC_SYNC_MESSAGE_ROUTED3_0_EXTRA(msg_class, type1_in, type2_in, type3_in) \
|
| IPC_MESSAGE_LOG(msg_class)
|
|
|
| @@ -240,6 +261,10 @@
|
| #define IPC_SYNC_MESSAGE_ROUTED4_3_EXTRA(msg_class, type1_in, type2_in, type3_in, type4_in, type1_out, type2_out, type3_out) \
|
| IPC_MESSAGE_LOG(msg_class)
|
|
|
| +
|
| +#define IPC_SYNC_MESSAGE_ROUTED4_4_EXTRA(msg_class, type1_in, type2_in, type3_in, type4_in, type1_out, type2_out, type3_out, type4_out) \
|
| + IPC_MESSAGE_LOG(msg_class)
|
| +
|
| #define IPC_SYNC_MESSAGE_ROUTED5_0_EXTRA(msg_class, type1_in, type2_in, type3_in, type4_in, type5_in) \
|
| IPC_MESSAGE_LOG(msg_class)
|
|
|
| @@ -252,6 +277,9 @@
|
| #define IPC_SYNC_MESSAGE_ROUTED5_3_EXTRA(msg_class, type1_in, type2_in, type3_in, type4_in, type5_in, type1_out, type2_out, type3_out) \
|
| IPC_MESSAGE_LOG(msg_class)
|
|
|
| +#define IPC_SYNC_MESSAGE_ROUTED5_4_EXTRA(msg_class, type1_in, type2_in, type3_in, type4_in, type5_in, type1_out, type2_out, type3_out, type4_out) \
|
| + IPC_MESSAGE_LOG(msg_class)
|
| +
|
| #else
|
|
|
| #define IPC_MESSAGE_CONTROL0_EXTRA(msg_class)
|
| @@ -270,14 +298,17 @@
|
| #define IPC_SYNC_MESSAGE_CONTROL0_1_EXTRA(msg_class, type1_out)
|
| #define IPC_SYNC_MESSAGE_CONTROL0_2_EXTRA(msg_class, type1_out, type2_out)
|
| #define IPC_SYNC_MESSAGE_CONTROL0_3_EXTRA(msg_class, type1_out, type2_out, type3_out)
|
| +#define IPC_SYNC_MESSAGE_CONTROL0_4_EXTRA(msg_class, type1_out, type2_out, type3_out, type4_out)
|
| #define IPC_SYNC_MESSAGE_CONTROL1_0_EXTRA(msg_class, type1_in)
|
| #define IPC_SYNC_MESSAGE_CONTROL1_1_EXTRA(msg_class, type1_in, type1_out)
|
| #define IPC_SYNC_MESSAGE_CONTROL1_2_EXTRA(msg_class, type1_in, type1_out, type2_out)
|
| #define IPC_SYNC_MESSAGE_CONTROL1_3_EXTRA(msg_class, type1_in, type1_out, type2_out, type3_out)
|
| +#define IPC_SYNC_MESSAGE_CONTROL1_4_EXTRA(msg_class, type1_in, type1_out, type2_out, type3_out, type4_out)
|
| #define IPC_SYNC_MESSAGE_CONTROL2_0_EXTRA(msg_class, type1_in, type2_in)
|
| #define IPC_SYNC_MESSAGE_CONTROL2_1_EXTRA(msg_class, type1_in, type2_in, type1_out)
|
| #define IPC_SYNC_MESSAGE_CONTROL2_2_EXTRA(msg_class, type1_in, type2_in, type1_out, type2_out)
|
| #define IPC_SYNC_MESSAGE_CONTROL2_3_EXTRA(msg_class, type1_in, type2_in, type1_out, type2_out, type3_out)
|
| +#define IPC_SYNC_MESSAGE_CONTROL2_4_EXTRA(msg_class, type1_in, type2_in, type1_out, type2_out, type3_out, type4_out)
|
| #define IPC_SYNC_MESSAGE_CONTROL3_1_EXTRA(msg_class, type1_in, type2_in, type3_in, type1_out)
|
| #define IPC_SYNC_MESSAGE_CONTROL3_2_EXTRA(msg_class, type1_in, type2_in, type3_in, type1_out, type2_out)
|
| #define IPC_SYNC_MESSAGE_CONTROL3_3_EXTRA(msg_class, type1_in, type2_in, type3_in, type1_out, type2_out, type3_out)
|
| @@ -285,13 +316,16 @@
|
| #define IPC_SYNC_MESSAGE_CONTROL4_1_EXTRA(msg_class, type1_in, type2_in, type3_in, type4_in, type1_out)
|
| #define IPC_SYNC_MESSAGE_CONTROL4_2_EXTRA(msg_class, type1_in, type2_in, type3_in, type4_in, type1_out, type2_out)
|
| #define IPC_SYNC_MESSAGE_CONTROL4_3_EXTRA(msg_class, type1_in, type2_in, type3_in, type4_in, type1_out, type2_out, type3_out)
|
| +#define IPC_SYNC_MESSAGE_CONTROL4_4_EXTRA(msg_class, type1_in, type2_in, type3_in, type4_in, type1_out, type2_out, type3_out, type4_out)
|
| #define IPC_SYNC_MESSAGE_CONTROL5_1_EXTRA(msg_class, type1_in, type2_in, type3_in, type4_in, type5_in, type1_out)
|
| #define IPC_SYNC_MESSAGE_CONTROL5_2_EXTRA(msg_class, type1_in, type2_in, type3_in, type4_in, type5_in, type1_out, type2_out)
|
| #define IPC_SYNC_MESSAGE_CONTROL5_3_EXTRA(msg_class, type1_in, type2_in, type3_in, type4_in, type5_in, type1_out, type2_out, type3_out)
|
| +#define IPC_SYNC_MESSAGE_CONTROL5_4_EXTRA(msg_class, type1_in, type2_in, type3_in, type4_in, type5_in, type1_out, type2_out, type3_out, type4_out)
|
| #define IPC_SYNC_MESSAGE_ROUTED0_0_EXTRA(msg_class)
|
| #define IPC_SYNC_MESSAGE_ROUTED0_1_EXTRA(msg_class, type1_out)
|
| #define IPC_SYNC_MESSAGE_ROUTED0_2_EXTRA(msg_class, type1_out, type2_out)
|
| #define IPC_SYNC_MESSAGE_ROUTED0_3_EXTRA(msg_class, type1_out, type2_out, type3_out)
|
| +#define IPC_SYNC_MESSAGE_ROUTED0_4_EXTRA(msg_class, type1_out, type2_out, type3_out, type4_out)
|
| #define IPC_SYNC_MESSAGE_ROUTED1_0_EXTRA(msg_class, type1_in)
|
| #define IPC_SYNC_MESSAGE_ROUTED1_1_EXTRA(msg_class, type1_in, type1_out)
|
| #define IPC_SYNC_MESSAGE_ROUTED1_2_EXTRA(msg_class, type1_in, type1_out, type2_out)
|
| @@ -301,6 +335,7 @@
|
| #define IPC_SYNC_MESSAGE_ROUTED2_1_EXTRA(msg_class, type1_in, type2_in, type1_out)
|
| #define IPC_SYNC_MESSAGE_ROUTED2_2_EXTRA(msg_class, type1_in, type2_in, type1_out, type2_out)
|
| #define IPC_SYNC_MESSAGE_ROUTED2_3_EXTRA(msg_class, type1_in, type2_in, type1_out, type2_out, type3_out)
|
| +#define IPC_SYNC_MESSAGE_ROUTED2_4_EXTRA(msg_class, type1_in, type2_in, type1_out, type2_out, type3_out, type4_out)
|
| #define IPC_SYNC_MESSAGE_ROUTED3_0_EXTRA(msg_class, type1_in, type2_in, type3_in)
|
| #define IPC_SYNC_MESSAGE_ROUTED3_1_EXTRA(msg_class, type1_in, type2_in, type3_in, type1_out)
|
| #define IPC_SYNC_MESSAGE_ROUTED3_2_EXTRA(msg_class, type1_in, type2_in, type3_in, type1_out, type2_out)
|
| @@ -310,10 +345,12 @@
|
| #define IPC_SYNC_MESSAGE_ROUTED4_1_EXTRA(msg_class, type1_in, type2_in, type3_in, type4_in, type1_out)
|
| #define IPC_SYNC_MESSAGE_ROUTED4_2_EXTRA(msg_class, type1_in, type2_in, type3_in, type4_in, type1_out, type2_out)
|
| #define IPC_SYNC_MESSAGE_ROUTED4_3_EXTRA(msg_class, type1_in, type2_in, type3_in, type4_in, type1_out, type2_out, type3_out)
|
| +#define IPC_SYNC_MESSAGE_ROUTED4_4_EXTRA(msg_class, type1_in, type2_in, type3_in, type4_in, type1_out, type2_out, type3_out, type4_out)
|
| #define IPC_SYNC_MESSAGE_ROUTED5_0_EXTRA(msg_class, type1_in, type2_in, type3_in, type4_in, type5_in)
|
| #define IPC_SYNC_MESSAGE_ROUTED5_1_EXTRA(msg_class, type1_in, type2_in, type3_in, type4_in, type5_in, type1_out)
|
| #define IPC_SYNC_MESSAGE_ROUTED5_2_EXTRA(msg_class, type1_in, type2_in, type3_in, type4_in, type5_in, type1_out, type2_out)
|
| #define IPC_SYNC_MESSAGE_ROUTED5_3_EXTRA(msg_class, type1_in, type2_in, type3_in, type4_in, type5_in, type1_out, type2_out, type3_out)
|
| +#define IPC_SYNC_MESSAGE_ROUTED5_4_EXTRA(msg_class, type1_in, type2_in, type3_in, type4_in, type5_in, type1_out, type2_out, type4_out)
|
|
|
| #endif
|
|
|
| @@ -500,6 +537,18 @@
|
| }; \
|
| IPC_SYNC_MESSAGE_CONTROL0_3_EXTRA(msg_class, type1_out, type2_out, type3_out)
|
|
|
| +#define IPC_SYNC_MESSAGE_CONTROL0_4(msg_class, type1_out, type2_out, type3_out, type4_out) \
|
| + class msg_class : \
|
| + public IPC::MessageWithReply<Tuple0, \
|
| + Tuple4<type1_out&, type2_out&, type3_out&, type4_out&> >{ \
|
| + public: \
|
| + enum { ID = (IPC_MESSAGE_START << 16) + __LINE__ }; \
|
| + msg_class(type1_out* arg1, type2_out* arg2, type3_out* arg3, type4_out* arg4); \
|
| + ~msg_class(); \
|
| + static void Log(std::string* name, const Message* msg, std::string* l); \
|
| + }; \
|
| + IPC_SYNC_MESSAGE_CONTROL0_4_EXTRA(msg_class, type1_out, type2_out, type3_out, type4_out)
|
| +
|
| #define IPC_SYNC_MESSAGE_CONTROL1_0(msg_class, type1_in) \
|
| class msg_class : \
|
| public IPC::MessageWithReply<Tuple1<type1_in>, Tuple0 > { \
|
| @@ -545,6 +594,18 @@
|
| }; \
|
| IPC_SYNC_MESSAGE_CONTROL1_3_EXTRA(msg_class, type1_in, type1_out, type2_out, type3_out)
|
|
|
| +#define IPC_SYNC_MESSAGE_CONTROL1_4(msg_class, type1_in, type1_out, type2_out, type3_out, type4_out) \
|
| + class msg_class : \
|
| + public IPC::MessageWithReply<Tuple1<type1_in>, \
|
| + Tuple4<type1_out&, type2_out&, type3_out&, type4_out&> >{ \
|
| + public: \
|
| + enum { ID = (IPC_MESSAGE_START << 16) + __LINE__ }; \
|
| + msg_class(const type1_in& arg1, type1_out* arg2, type2_out* arg3, type3_out* arg4, type4_out* arg5); \
|
| + ~msg_class(); \
|
| + static void Log(std::string* name, const Message* msg, std::string* l); \
|
| + }; \
|
| + IPC_SYNC_MESSAGE_CONTROL1_4_EXTRA(msg_class, type1_in, type1_out, type2_out, type3_out, type4_out)
|
| +
|
| #define IPC_SYNC_MESSAGE_CONTROL2_0(msg_class, type1_in, type2_in) \
|
| class msg_class : \
|
| public IPC::MessageWithReply<Tuple2<type1_in, type2_in>, Tuple0 > { \
|
| @@ -591,6 +652,18 @@
|
| }; \
|
| IPC_SYNC_MESSAGE_CONTROL2_3_EXTRA(msg_class, type1_in, type2_in, type1_out, type2_out, type3_out)
|
|
|
| +#define IPC_SYNC_MESSAGE_CONTROL2_4(msg_class, type1_in, type2_in, type1_out, type2_out, type3_out, type4_out) \
|
| + class msg_class : \
|
| + public IPC::MessageWithReply<Tuple2<type1_in, type2_in>, \
|
| + Tuple4<type1_out&, type2_out&, type3_out&, type4_out&> > { \
|
| + public: \
|
| + enum { ID = (IPC_MESSAGE_START << 16) + __LINE__ }; \
|
| + msg_class(const type1_in& arg1, const type2_in& arg2, type1_out* arg3, type2_out* arg4, type3_out* arg5, type4_out* arg6); \
|
| + ~msg_class(); \
|
| + static void Log(std::string* name, const Message* msg, std::string* l); \
|
| + }; \
|
| + IPC_SYNC_MESSAGE_CONTROL2_4_EXTRA(msg_class, type1_in, type2_in, type1_out, type2_out, type3_out, type4_out)
|
| +
|
| #define IPC_SYNC_MESSAGE_CONTROL3_1(msg_class, type1_in, type2_in, type3_in, type1_out) \
|
| class msg_class : \
|
| public IPC::MessageWithReply<Tuple3<type1_in, type2_in, type3_in>, \
|
| @@ -675,6 +748,18 @@
|
| }; \
|
| IPC_SYNC_MESSAGE_CONTROL4_3_EXTRA(msg_class, type1_in, type2_in, type3_in, type4_in, type1_out, type2_out, type3_out)
|
|
|
| +#define IPC_SYNC_MESSAGE_CONTROL4_4(msg_class, type1_in, type2_in, type3_in, type4_in, type1_out, type2_out, type3_out, type4_out) \
|
| + class msg_class : \
|
| + public IPC::MessageWithReply<Tuple4<type1_in, type2_in, type3_in, type4_in>, \
|
| + Tuple4<type1_out&, type2_out&, type3_out&, type4_out&> > { \
|
| + public: \
|
| + enum { ID = (IPC_MESSAGE_START << 16) + __LINE__ }; \
|
| + msg_class(const type1_in& arg1, const type2_in& arg2, const type3_in& arg3, const type4_in& arg4, type1_out* arg5, type2_out* arg6, type3_out* arg7, type4_out* arg8); \
|
| + ~msg_class(); \
|
| + static void Log(std::string* name, const Message* msg, std::string* l); \
|
| + }; \
|
| + IPC_SYNC_MESSAGE_CONTROL4_4_EXTRA(msg_class, type1_in, type2_in, type3_in, type4_in, type1_out, type2_out, type3_out, type4_out)
|
| +
|
| #define IPC_SYNC_MESSAGE_CONTROL5_1(msg_class, type1_in, type2_in, type3_in, type4_in, type5_in, type1_out) \
|
| class msg_class : \
|
| public IPC::MessageWithReply<Tuple5<type1_in, type2_in, type3_in, type4_in, type5_in>, \
|
| @@ -709,8 +794,20 @@
|
| ~msg_class(); \
|
| static void Log(std::string* name, const Message* msg, std::string* l); \
|
| }; \
|
| - IPC_SYNC_MESSAGE_CONTROL4_2_EXTRA(msg_class, type1_in, type2_in, type3_in, type4_in, type5_in, type1_out, type2_out, type3_out)
|
| + IPC_SYNC_MESSAGE_CONTROL5_3_EXTRA(msg_class, type1_in, type2_in, type3_in, type4_in, type5_in, type1_out, type2_out, type3_out)
|
|
|
| +#define IPC_SYNC_MESSAGE_CONTROL5_4(msg_class, type1_in, type2_in, type3_in, type4_in, type5_in, type1_out, type2_out, type3_out, type4_out) \
|
| + class msg_class : \
|
| + public IPC::MessageWithReply<Tuple5<type1_in, type2_in, type3_in, type4_in, type5_in>, \
|
| + Tuple4<type1_out&, type2_out&, type3_out&, type4_out&> > { \
|
| + public: \
|
| + enum { ID = (IPC_MESSAGE_START << 16) + __LINE__ }; \
|
| + msg_class(const type1_in& arg1, const type2_in& arg2, const type3_in& arg3, const type4_in& arg4, const type5_in& arg5, type1_out* arg6, type2_out* arg7, type3_out* arg8, type4_out* arg9); \
|
| + ~msg_class(); \
|
| + static void Log(std::string* name, const Message* msg, std::string* l); \
|
| + }; \
|
| + IPC_SYNC_MESSAGE_CONTROL5_4_EXTRA(msg_class, type1_in, type2_in, type3_in, type4_in, type5_in, type1_out, type2_out, type3_out, type4_out)
|
| +
|
| #define IPC_SYNC_MESSAGE_ROUTED0_0(msg_class) \
|
| class msg_class : public IPC::MessageWithReply<Tuple0, Tuple0 > { \
|
| public: \
|
| @@ -754,6 +851,18 @@
|
| }; \
|
| IPC_SYNC_MESSAGE_ROUTED0_3_EXTRA(msg_class, type1_out, type2_out, type3_out)
|
|
|
| +#define IPC_SYNC_MESSAGE_ROUTED0_4(msg_class, type1_out, type2_out, type3_out, type4_out) \
|
| + class msg_class : \
|
| + public IPC::MessageWithReply<Tuple0, \
|
| + Tuple4<type1_out&, type2_out&, type3_out&, type4_out&> >{ \
|
| + public: \
|
| + enum { ID = (IPC_MESSAGE_START << 16) + __LINE__ }; \
|
| + msg_class(int routing_id, type1_out* arg1, type2_out* arg2, type3_out* arg3, type4_out* arg4); \
|
| + ~msg_class(); \
|
| + static void Log(std::string* name, const Message* msg, std::string* l); \
|
| + }; \
|
| + IPC_SYNC_MESSAGE_ROUTED0_4_EXTRA(msg_class, type1_out, type2_out, type3_out, type4_out)
|
| +
|
| #define IPC_SYNC_MESSAGE_ROUTED1_0(msg_class, type1_in) \
|
| class msg_class : \
|
| public IPC::MessageWithReply<Tuple1<type1_in>, Tuple0 > { \
|
| @@ -857,6 +966,18 @@
|
| }; \
|
| IPC_SYNC_MESSAGE_ROUTED2_3_EXTRA(msg_class, type1_in, type2_in, type1_out, type2_out, type3_out)
|
|
|
| +#define IPC_SYNC_MESSAGE_ROUTED2_4(msg_class, type1_in, type2_in, type1_out, type2_out, type3_out, type4_out) \
|
| + class msg_class : \
|
| + public IPC::MessageWithReply<Tuple2<type1_in, type2_in>, \
|
| + Tuple4<type1_out&, type2_out&, type3_out&, type4_out&> > { \
|
| + public: \
|
| + enum { ID = (IPC_MESSAGE_START << 16) + __LINE__ }; \
|
| + msg_class(int routing_id, const type1_in& arg1, const type2_in& arg2, type1_out* arg3, type2_out* arg4, type3_out* arg5, type4_out* arg6); \
|
| + ~msg_class(); \
|
| + static void Log(std::string* name, const Message* msg, std::string* l); \
|
| + }; \
|
| + IPC_SYNC_MESSAGE_ROUTED2_4_EXTRA(msg_class, type1_in, type2_in, type1_out, type2_out, type3_out, type4_out)
|
| +
|
| #define IPC_SYNC_MESSAGE_ROUTED3_0(msg_class, type1_in, type2_in, type3_in) \
|
| class msg_class : \
|
| public IPC::MessageWithReply<Tuple3<type1_in, type2_in, type3_in>, Tuple0 > { \
|
| @@ -964,6 +1085,18 @@
|
| }; \
|
| IPC_SYNC_MESSAGE_ROUTED4_3_EXTRA(msg_class, type1_in, type2_in, type3_in, type4_in, type1_out, type2_out, type3_out)
|
|
|
| +#define IPC_SYNC_MESSAGE_ROUTED4_4(msg_class, type1_in, type2_in, type3_in, type4_in, type1_out, type2_out, type3_out, type4_out) \
|
| + class msg_class : \
|
| + public IPC::MessageWithReply<Tuple4<type1_in, type2_in, type3_in, type4_in>, \
|
| + Tuple4<type1_out&, type2_out&, type3_out&, type4_out&> > { \
|
| + public: \
|
| + enum { ID = (IPC_MESSAGE_START << 16) + __LINE__ }; \
|
| + msg_class(int routing_id, const type1_in& arg1, const type2_in& arg2, const type3_in& arg3, const type4_in& arg4, type1_out* arg5, type2_out* arg6, type3_out* arg7, type4_out* arg8); \
|
| + ~msg_class(); \
|
| + static void Log(std::string* name, const Message* msg, std::string* l); \
|
| + }; \
|
| + IPC_SYNC_MESSAGE_ROUTED4_4_EXTRA(msg_class, type1_in, type2_in, type3_in, type4_in, type1_out, type2_out, type3_out, type4_out)
|
| +
|
| #define IPC_SYNC_MESSAGE_ROUTED5_0(msg_class, type1_in, type2_in, type3_in, type4_in, type5_in) \
|
| class msg_class : \
|
| public IPC::MessageWithReply<Tuple5<type1_in, type2_in, type3_in, type4_in, type5_in>, \
|
| @@ -1012,8 +1145,20 @@
|
| }; \
|
| IPC_SYNC_MESSAGE_ROUTED5_3_EXTRA(msg_class, type1_in, type2_in, type3_in, type4_in, type5_in, type1_out, type2_out, type3_out)
|
|
|
| +#define IPC_SYNC_MESSAGE_ROUTED5_4(msg_class, type1_in, type2_in, type3_in, type4_in, type5_in, type1_out, type2_out, type3_out, type4_out) \
|
| + class msg_class : \
|
| + public IPC::MessageWithReply<Tuple5<type1_in, type2_in, type3_in, type4_in, type5_in>, \
|
| + Tuple4<type1_out&, type2_out&, type3_out&, type4_out&> > { \
|
| + public: \
|
| + enum { ID = (IPC_MESSAGE_START << 16) + __LINE__ }; \
|
| + msg_class(int routing_id, const type1_in& arg1, const type2_in& arg2, const type3_in& arg3, const type4_in& arg4, const type4_in& arg5, type1_out* arg6, type2_out* arg7, type3_out* arg8, type4_out* arg9); \
|
| + ~msg_class(); \
|
| + static void Log(std::string* name, const Message* msg, std::string* l); \
|
| + }; \
|
| + IPC_SYNC_MESSAGE_ROUTED5_4_EXTRA(msg_class, type1_in, type2_in, type3_in, type4_in, type5_in, type1_out, type2_out, type3_out, type4_out)
|
|
|
|
|
| +
|
| // Message crackers and handlers.
|
| // Prefer to use the IPC_BEGIN_MESSAGE_MAP_EX to the older macros since they
|
| // allow you to detect when a message could not be de-serialized. Usage:
|
|
|