|
libqi-api
release-2.5.3-2016-11-18
|
#include <signal.hpp>
Public Types | |
| using | FunctionType = T |
Public Types inherited from qi::SignalBase | |
| using | OnSubscribers = boost::function< void(bool)> |
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 | |
| using | Trigger = boost::function< void(const GenericFunctionParameters ¶ms, MetaCallType callType)> |
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 122 of file signal.hpp.
| using qi::SignalF< T >::FunctionType = T |
Definition at line 131 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 133 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 19 of file signal.hxx.
|
virtual |
Reimplemented from qi::SignalBase.
Reimplemented in qi::GenericProperty.
Definition at line 142 of file signal.hxx.