macros-signal.hh File Reference

Defines

#define SOT_CALL_SIG(sotName, sotType)
#define SOT_INIT_SIGNAL_1(sotFunction,sotArg1, sotArg1Type)
#define SOT_INIT_SIGNAL_2(sotFunction,sotArg1, sotArg1Type,sotArg2, sotArg2Type)
#define SOT_INIT_SIGNAL_3(sotFunction,sotArg1, sotArg1Type,sotArg2, sotArg2Type,sotArg3, sotArg3Type)
#define SOT_INIT_SIGNAL_4(sotFunction,sotArg1, sotArg1Type,sotArg2, sotArg2Type,sotArg3, sotArg3Type,sotArg4, sotArg4Type)
#define SOT_INIT_SIGNAL_5(sotFunction,sotArg1, sotArg1Type,sotArg2, sotArg2Type,sotArg3, sotArg3Type,sotArg4, sotArg4Type,sotArg5, sotArg5Type)
#define SOT_INIT_SIGNAL_6(sotFunction,sotArg1, sotArg1Type,sotArg2, sotArg2Type,sotArg3, sotArg3Type,sotArg4, sotArg4Type,sotArg5, sotArg5Type,sotArg6, sotArg6Type)
#define SOT_INIT_SIGNAL_7(sotFunction,sotArg1, sotArg1Type,sotArg2, sotArg2Type,sotArg3, sotArg3Type,sotArg4, sotArg4Type,sotArg5, sotArg5Type,sotArg6, sotArg6Type,sotArg7, sotArg7Type)
#define SOT_MEMBER_SIGNAL_1(sotFunction,sotArg1, sotArg1Type)
#define SOT_MEMBER_SIGNAL_2(sotFunction,sotArg1, sotArg1Type,sotArg2, sotArg2Type)
#define SOT_MEMBER_SIGNAL_5(sotFunction,sotArg1, sotArg1Type,sotArg2, sotArg2Type,sotArg3, sotArg3Type,sotArg4, sotArg4Type,sotArg5, sotArg5Type)
#define SOT_MEMBER_SIGNAL_6(sotFunction,sotArg1, sotArg1Type,sotArg2, sotArg2Type,sotArg3, sotArg3Type,sotArg4, sotArg4Type,sotArg5, sotArg5Type,sotArg6, sotArg6Type)

Define Documentation

#define SOT_CALL_SIG (   sotName,
  sotType 
)
Value:
boost::bind(&Signal<sotType,int>::access, \
        &sotName,_2)
#define SOT_INIT_SIGNAL_1 (   sotFunction,
  sotArg1,
  sotArg1Type 
)
Value:
boost::bind(&sotFunction,                          \
      SOT_CALL_SIG(sotArg1,sotArg1Type),_1), \
  sotArg1
#define SOT_INIT_SIGNAL_2 (   sotFunction,
  sotArg1,
  sotArg1Type,
  sotArg2,
  sotArg2Type 
)
Value:
boost::bind(&sotFunction,                          \
      SOT_CALL_SIG(sotArg1,sotArg1Type),     \
      SOT_CALL_SIG(sotArg2,sotArg2Type),_1), \
  sotArg1<<sotArg2
#define SOT_INIT_SIGNAL_3 (   sotFunction,
  sotArg1,
  sotArg1Type,
  sotArg2,
  sotArg2Type,
  sotArg3,
  sotArg3Type 
)
Value:
boost::bind(&sotFunction,                          \
      SOT_CALL_SIG(sotArg1,sotArg1Type),     \
      SOT_CALL_SIG(sotArg2,sotArg2Type),     \
      SOT_CALL_SIG(sotArg3,sotArg3Type),_1), \
  sotArg1<<sotArg2<<sotArg3
#define SOT_INIT_SIGNAL_4 (   sotFunction,
  sotArg1,
  sotArg1Type,
  sotArg2,
  sotArg2Type,
  sotArg3,
  sotArg3Type,
  sotArg4,
  sotArg4Type 
)
Value:
boost::bind(&sotFunction,                          \
      SOT_CALL_SIG(sotArg1,sotArg1Type),     \
      SOT_CALL_SIG(sotArg2,sotArg2Type),     \
      SOT_CALL_SIG(sotArg3,sotArg3Type),     \
      SOT_CALL_SIG(sotArg4,sotArg4Type),_1), \
  sotArg1<<sotArg2<<sotArg3<<sotArg4
#define SOT_INIT_SIGNAL_5 (   sotFunction,
  sotArg1,
  sotArg1Type,
  sotArg2,
  sotArg2Type,
  sotArg3,
  sotArg3Type,
  sotArg4,
  sotArg4Type,
  sotArg5,
  sotArg5Type 
)
Value:
boost::bind(&sotFunction,                          \
      SOT_CALL_SIG(sotArg1,sotArg1Type),     \
      SOT_CALL_SIG(sotArg2,sotArg2Type),     \
      SOT_CALL_SIG(sotArg3,sotArg3Type),     \
      SOT_CALL_SIG(sotArg4,sotArg4Type),     \
      SOT_CALL_SIG(sotArg5,sotArg5Type),_1), \
  sotArg1<<sotArg2<<sotArg3<<sotArg4<<sotArg5
#define SOT_INIT_SIGNAL_6 (   sotFunction,
  sotArg1,
  sotArg1Type,
  sotArg2,
  sotArg2Type,
  sotArg3,
  sotArg3Type,
  sotArg4,
  sotArg4Type,
  sotArg5,
  sotArg5Type,
  sotArg6,
  sotArg6Type 
)
Value:
boost::bind(&sotFunction,                          \
      SOT_CALL_SIG(sotArg1,sotArg1Type),     \
      SOT_CALL_SIG(sotArg2,sotArg2Type),     \
      SOT_CALL_SIG(sotArg3,sotArg3Type),     \
      SOT_CALL_SIG(sotArg4,sotArg4Type),     \
      SOT_CALL_SIG(sotArg5,sotArg5Type),     \
      SOT_CALL_SIG(sotArg6,sotArg6Type),_1), \
  sotArg1<<sotArg2<<sotArg3<<sotArg4<<sotArg5<<sotArg6
#define SOT_INIT_SIGNAL_7 (   sotFunction,
  sotArg1,
  sotArg1Type,
  sotArg2,
  sotArg2Type,
  sotArg3,
  sotArg3Type,
  sotArg4,
  sotArg4Type,
  sotArg5,
  sotArg5Type,
  sotArg6,
  sotArg6Type,
  sotArg7,
  sotArg7Type 
)
Value:
boost::bind(&sotFunction,                          \
      SOT_CALL_SIG(sotArg1,sotArg1Type),     \
      SOT_CALL_SIG(sotArg2,sotArg2Type),     \
      SOT_CALL_SIG(sotArg3,sotArg3Type),     \
      SOT_CALL_SIG(sotArg4,sotArg4Type),     \
      SOT_CALL_SIG(sotArg5,sotArg5Type),     \
      SOT_CALL_SIG(sotArg6,sotArg6Type),     \
      SOT_CALL_SIG(sotArg7,sotArg7Type),_1), \
  sotArg1<<sotArg2<<sotArg3<<sotArg4<<sotArg5<<sotArg6<<sotArg7
#define SOT_MEMBER_SIGNAL_1 (   sotFunction,
  sotArg1,
  sotArg1Type 
)
Value:
boost::bind(&sotFunction,this,                       \
      SOT_CALL_SIG(sotArg1,sotArg1Type),_1),   \
  sotArg1
#define SOT_MEMBER_SIGNAL_2 (   sotFunction,
  sotArg1,
  sotArg1Type,
  sotArg2,
  sotArg2Type 
)
Value:
boost::bind(&sotFunction,this,                       \
      SOT_CALL_SIG(sotArg1,sotArg1Type),       \
      SOT_CALL_SIG(sotArg2,sotArg2Type),_1),   \
  sotArg1<<sotArg2
#define SOT_MEMBER_SIGNAL_5 (   sotFunction,
  sotArg1,
  sotArg1Type,
  sotArg2,
  sotArg2Type,
  sotArg3,
  sotArg3Type,
  sotArg4,
  sotArg4Type,
  sotArg5,
  sotArg5Type 
)
Value:
boost::bind(&sotFunction,this,                       \
      SOT_CALL_SIG(sotArg1,sotArg1Type),       \
      SOT_CALL_SIG(sotArg2,sotArg2Type),       \
      SOT_CALL_SIG(sotArg3,sotArg3Type),       \
      SOT_CALL_SIG(sotArg4,sotArg4Type),       \
      SOT_CALL_SIG(sotArg5,sotArg5Type),_1),   \
  sotArg1<<sotArg2<<sotArg3<<sotArg4<<sotArg5
#define SOT_MEMBER_SIGNAL_6 (   sotFunction,
  sotArg1,
  sotArg1Type,
  sotArg2,
  sotArg2Type,
  sotArg3,
  sotArg3Type,
  sotArg4,
  sotArg4Type,
  sotArg5,
  sotArg5Type,
  sotArg6,
  sotArg6Type 
)
Value:
boost::bind(&sotFunction,this,                       \
      SOT_CALL_SIG(sotArg1,sotArg1Type),       \
      SOT_CALL_SIG(sotArg2,sotArg2Type),       \
      SOT_CALL_SIG(sotArg3,sotArg3Type),       \
      SOT_CALL_SIG(sotArg4,sotArg4Type),       \
      SOT_CALL_SIG(sotArg5,sotArg5Type),       \
      SOT_CALL_SIG(sotArg6,sotArg6Type),_1),   \
  sotArg1<<sotArg2<<sotArg3<<sotArg4<<sotArg5<<sotArg6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines