|
libqi-api
2.4.3.28
|
#include <signal.hpp>
Public Types | |
| typedef T | FunctionType |
Public Types inherited from qi::SignalBase | |
| typedef boost::function< void(bool)> | OnSubscribers |
Additional Inherited Members | |
Public Attributes inherited from qi::SignalBase | |
| boost::shared_ptr < SignalBasePrivate > | _p |
Static Public Attributes inherited from qi::SignalBase | |
| static const SignalLink | invalidSignalLink |
Protected Types inherited from qi::SignalBase | |
| typedef boost::function< void(const GenericFunctionParameters ¶ms, MetaCallType callType)> | Trigger |
Protected Member Functions inherited from qi::SignalBase | |
| void | callSubscribers (const GenericFunctionParameters ¶ms, MetaCallType callType=MetaCallType_Auto) |
| void | setTriggerOverride (Trigger trigger) |
| void | setOnSubscribers (OnSubscribers onSubscribers) |
| void | callOnSubscribe (bool v) |
| void | createNewTrackLink (int &id, SignalLink *&trackLink) |
| void | disconnectTrackLink (int id) |
Definition at line 125 of file signal.hpp.
| typedef T qi::SignalF< T >::FunctionType |
Definition at line 134 of file signal.hpp.
| qi::SignalF< T >::SignalF | ( | OnSubscribers | onSubscribers = OnSubscribers() | ) |
Signal constructor
| onSubscribers | invoked each time number of subscribers switch between 0 and 1, with argument '!subscribers.empty()' Will not be called when destructor is invoked and all subscribers are removed |
Definition at line 171 of file signal.hxx.
| SignalSubscriber & qi::SignalF< T >::connect | ( | ... | ) |
Connect a subscriber to this signal.
Multiple forms can be used:
| runtime_error | if the connection could not be made (because of invalid callback arity or argument type) |
Definition at line 69 of file signal.hxx.
|
virtual |
Reimplemented from qi::SignalBase.
Reimplemented in qi::GenericProperty.
Definition at line 180 of file signal.hxx.