cocos2d-x  2.2.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
signal2< arg1_type, arg2_type, mt_policy > Class Template Reference

#include <sigslot.h>

Inheritance diagram for signal2< arg1_type, arg2_type, mt_policy >:
_signal_base2< arg1_type, arg2_type, mt_policy > _signal_base< mt_policy >

Public Types

typedef std::list
< _connection_base2< arg1_type,
arg2_type, mt_policy > * > 
connections_list
typedef _signal_base2
< arg1_type, arg2_type,
mt_policy > 
signal_base
- Public Types inherited from _signal_base2< arg1_type, arg2_type, mt_policy >
typedef std::list
< _connection_base2< arg1_type,
arg2_type, mt_policy > * > 
connections_list

Public Member Functions

 signal2 ()
 signal2 (const signal2< arg1_type, arg2_type, mt_policy > &s)
template<class desttype >
void connect (desttype *pclass, void(desttype::*pmemfun)(arg1_type, arg2_type))
void emit (arg1_type a1, arg2_type a2)
void operator() (arg1_type a1, arg2_type a2)
- Public Member Functions inherited from _signal_base2< arg1_type, arg2_type, mt_policy >
 _signal_base2 ()
 _signal_base2 (const _signal_base2< arg1_type, arg2_type, mt_policy > &s)
void slot_duplicate (const has_slots< mt_policy > *oldtarget, has_slots< mt_policy > *newtarget)
 ~_signal_base2 ()
void disconnect_all ()
void disconnect (has_slots< mt_policy > *pclass)
void slot_disconnect (has_slots< mt_policy > *pslot)

Additional Inherited Members

- Protected Attributes inherited from _signal_base2< arg1_type, arg2_type, mt_policy >
connections_list m_connected_slots

Member Typedef Documentation

typedef std::list
<_connection_base2<arg1_type,
arg2_type, mt_policy>
*> connections_list
typedef _signal_base2
<arg1_type, arg2_type,
mt_policy> signal_base

Constructor & Destructor Documentation

signal2 ( )
inline
signal2 ( const signal2< arg1_type, arg2_type, mt_policy > &  s)
inline

Member Function Documentation

void connect ( desttype *  pclass,
void(desttype::*)(arg1_type, arg2_type)  pmemfun 
)
inline
void emit ( arg1_type  a1,
arg2_type  a2 
)
inline
void operator() ( arg1_type  a1,
arg2_type  a2 
)
inline

The documentation for this class was generated from the following file: