libqi-api
2.8.7.4
|
#include <property.hpp>
Public Types | |
using | ImplType = PropertyImpl< T > |
using | Getter = typename ImplType::Getter |
using | Setter = typename ImplType::Setter |
![]() | |
using | Setter = boost::function< bool(boost::reference_wrapper< T >, const T &)> |
using | Getter = boost::function< T(boost::reference_wrapper< const T >)> |
using | SignalType = SignalF< void(const T &)> |
using | PropertyType = T |
![]() | |
using | FunctionType = void(const T &) |
![]() | |
using | OnSubscribers = boost::function< Future< void >(bool)> |
Additional Inherited Members | |
![]() | |
static const SignalLink | invalidSignalLink |
![]() | |
using | Trigger = boost::function< void(const GenericFunctionParameters ¶ms, MetaCallType callType)> |
![]() | |
T | getImpl () const |
void | setImpl (const T &v) |
![]() | |
void | callSubscribers (const GenericFunctionParameters ¶ms, MetaCallType callType=MetaCallType_Auto) |
void | setTriggerOverride (Trigger trigger) |
void | callOnSubscribe (bool v) |
void | createNewTrackLink (int &id, SignalLink *&trackLink) |
void | disconnectTrackLink (int id) |
ExecutionContext * | executionContext () const |
void | clearExecutionContext () |
![]() | |
Getter | _getter |
Setter | _setter |
T | _value |
![]() | |
boost::shared_ptr < SignalBasePrivate > | _p |
Povide thread-safe access to a stored value and signal to connected callbacks when the value changed.
Definition at line 157 of file property.hpp.
using qi::Property< T >::Getter = typename ImplType::Getter |
Definition at line 161 of file property.hpp.
using qi::Property< T >::ImplType = PropertyImpl<T> |
Definition at line 160 of file property.hpp.
using qi::Property< T >::Setter = typename ImplType::Setter |
Definition at line 162 of file property.hpp.
|
inline |
Instantiates a strand by default and owns it. That strand will be used to wrap the getters and setters and synchronize them.
Definition at line 166 of file property.hpp.
|
inline |
Uses the strand that is passed but does not own it. That strand will be used to wrap the getters and setters and synchronize them.
Definition at line 173 of file property.hpp.
|
inline |
Instantiates a strand by default and owns it. That strand will be used to wrap the getters and setters and synchronize them.
Definition at line 184 of file property.hpp.
|
inline |
Uses the strand that is passed but does not own it. That strand will be used to wrap the getters and setters and synchronize them.
Definition at line 191 of file property.hpp.
|
override |
Definition at line 125 of file property.hxx.
|
overridevirtual |
Implements qi::PropertyImpl< T >.
Definition at line 133 of file property.hxx.
|
inline |
Definition at line 207 of file property.hpp.
|
overridevirtual |
Implements qi::PropertyImpl< T >.
Definition at line 139 of file property.hxx.
|
overridevirtual |
Implements qi::PropertyBase.
Definition at line 151 of file property.hxx.
|
inlineoverridevirtual |
Reimplemented from qi::PropertyImpl< T >.
Definition at line 212 of file property.hpp.
|
overridevirtual |
Implements qi::PropertyBase.
Definition at line 145 of file property.hxx.