|
libqi-api
2.8.7.4
|
Type-erased property, simulating a typed property but using AnyValue. More...
#include <property.hpp>
Additional Inherited Members | |
Public Types inherited from qi::Property< AnyValue > | |
| using | ImplType = PropertyImpl< AnyValue > |
| using | Getter = typename ImplType::Getter |
| using | Setter = typename ImplType::Setter |
Public Types inherited from qi::PropertyImpl< AnyValue > | |
| using | Setter = boost::function< bool(boost::reference_wrapper< AnyValue >, const AnyValue &)> |
| using | Getter = boost::function< AnyValue(boost::reference_wrapper< const AnyValue >)> |
| using | SignalType = SignalF< void(const AnyValue &)> |
| using | PropertyType = AnyValue |
Public Types inherited from qi::SignalF< void(const AnyValue &)> | |
| using | FunctionType = void(const AnyValue &) |
Public Types inherited from qi::SignalBase | |
| using | OnSubscribers = boost::function< Future< void >(bool)> |
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::PropertyImpl< AnyValue > | |
| AnyValue | getImpl () const |
| void | setImpl (const AnyValue &v) |
Protected Member Functions inherited from qi::SignalBase | |
| 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 () |
Protected Attributes inherited from qi::PropertyImpl< AnyValue > | |
| Getter | _getter |
| Setter | _setter |
| AnyValue | _value |
Protected Attributes inherited from qi::SignalBase | |
| boost::shared_ptr < SignalBasePrivate > | _p |
Type-erased property, simulating a typed property but using AnyValue.
Definition at line 237 of file property.hpp.
|
inlineexplicit |
Constructs a property with a default value. The property type is the type of the given value.
This means that if the property is exposed, its signature will be the one of the type of the value instead of AnyValue's default signature (i.e. dynamic).
All arguments are forwarded to the constructor of the base class.
Precondition: The value must have a valid type.
Definition at line 251 of file property.hpp.
|
inlineexplicit |
Constructs a property of the given type.
This means that if the property is exposed, its signature will be the one of the type instead of AnyValue's default signature (i.e. dynamic).
A default constructed value of the type and the rest of the arguments are forwarded to the constructor of the base class.
Precondition: The type must be valid (not null).
Definition at line 269 of file property.hpp.
|
inline |
Definition at line 274 of file property.hpp.
|
inlineoverridevirtual |
Implements qi::PropertyImpl< AnyValue >.
Definition at line 16 of file property.hxx.
|
inlineoverridevirtual |
Implements qi::PropertyBase.
Definition at line 280 of file property.hpp.
|
inlineoverridevirtual |
Reimplemented from qi::SignalF< void(const AnyValue &)>.
Definition at line 287 of file property.hpp.