#include <signal_wrapper.h>
Static Public Attributes | |
static const int | argument_count = internal::count_signal_arguments<Glib::SignalTimeout>::value |
Package Types | |
typedef Glib::SignalTimeout | signal_type |
typedef signal_wrapper < signal_type, signal_group, argument_count > | this_type |
typedef bool | result_type |
typedef sigc::slot< bool > | slot_type |
typedef signal_type(* | fp_sig_getter_type )(signal_source_ptr) |
Package Functions | |
signal_wrapper () | |
Constructs an empty signal_wrapper. | |
signal_wrapper (const shared_dispatchable &_A_disp, const std::tr1::shared_ptr< signal_source_base > &_A_sigsource) | |
Creates a signal_wrapper from a signal source. | |
template<typename T_functor > | |
connection_wrapper | connect (const T_functor &_A_func, unsigned int interval, int priority=Glib::PRIORITY_DEFAULT) const |
Connects a functor, tunnels it automatically if not yet tunneled and activates validity tracking for sigc::trackableS. | |
Static Package Attributes | |
__pad0__:signal_group signal_group = internal::SIGGROUP_IRRELEVANT |
typedef signal_type(* sigx::signal_wrapper< Glib::SignalTimeout >::fp_sig_getter_type)(signal_source_ptr) [package] |
typedef bool sigx::signal_wrapper< Glib::SignalTimeout >::result_type [package] |
typedef Glib::SignalTimeout sigx::signal_wrapper< Glib::SignalTimeout >::signal_type [package] |
typedef sigc::slot<bool> sigx::signal_wrapper< Glib::SignalTimeout >::slot_type [package] |
typedef signal_wrapper<signal_type, signal_group, argument_count> sigx::signal_wrapper< Glib::SignalTimeout >::this_type [package] |
sigx::signal_wrapper< Glib::SignalTimeout >::signal_wrapper | ( | ) | [inline, package] |
Constructs an empty signal_wrapper.
Might | throw a std::bad_alloc exception (from dispatchable's ctor) |
sigx::signal_wrapper< Glib::SignalTimeout >::signal_wrapper | ( | const shared_dispatchable & | _A_disp, | |
const std::tr1::shared_ptr< signal_source_base > & | _A_sigsource | |||
) | [inline, package] |
Creates a signal_wrapper from a signal source.
_A_disp | The dispatchable to operate on | |
_A_sigsource | A double pointer to the server thread's signal source. |
connection_wrapper sigx::signal_wrapper< Glib::SignalTimeout >::connect | ( | const T_functor & | _A_func, | |
unsigned int | interval, | |||
int | priority = Glib::PRIORITY_DEFAULT | |||
) | const [inline, package] |
Connects a functor, tunnels it automatically if not yet tunneled and activates validity tracking for sigc::trackableS.
auto tunneling is successful only if the passed in functor is a "dispatchable" functor, i.e. a functor on a dispatchable's method or one explicitly created with "dispatch_with". You will get compiler errors if the dispatchable can't be deduced from the passed in functor.
passed in functor must not be a slot or adapt a slot; we have to apply this restriction because slots might have bound trackables that can cause non-threadsafe access to the passed in slot which will live in the context of the server thread
References sigx::signal_wrapper_base::connect().
sigx::signal_wrapper< Glib::SignalTimeout >::__pad0__ [static, package] |
const int sigx::signal_wrapper< Glib::SignalTimeout >::argument_count = internal::count_signal_arguments<Glib::SignalTimeout>::value [static] |