|
template<typename... Args> |
| GenericProperty (const AutoAnyReference &defaultValue, Args &&...args) |
|
template<typename... Args> |
| GenericProperty (TypeInterface *type, Args &&...args) |
|
GenericProperty & | operator= (const AnyValue &v) |
|
FutureSync< void > | setValue (AutoAnyReference value) override |
|
FutureSync< void > | set (const AnyValue &v) override |
|
qi::Signature | signature () const override |
|
| Property (Getter getter=Getter(), Setter setter=Setter(), SignalBase::OnSubscribers onsubscribe=SignalBase::OnSubscribers()) |
|
| Property (Strand &strand, Getter getter=Getter(), Setter setter=Setter(), SignalBase::OnSubscribers onsubscribe=SignalBase::OnSubscribers()) |
|
| Property (AutoAnyReference defaultValue, Getter getter=Getter(), Setter setter=Setter(), SignalBase::OnSubscribers onsubscribe=SignalBase::OnSubscribers()) |
|
| Property (AutoAnyReference defaultValue, Strand &strand, Getter getter=Getter(), Setter setter=Setter(), SignalBase::OnSubscribers onsubscribe=SignalBase::OnSubscribers()) |
|
| ~Property () override |
|
Property< AnyValue > & | operator= (const AnyValue &v) |
|
FutureSync< AnyValue > | get () const override |
|
FutureSync< void > | set (const AnyValue &v) override |
|
SignalBase * | signal () override |
|
FutureSync< void > | setValue (AutoAnyReference value) override |
|
FutureSync< AnyValue > | value () const override |
|
| PropertyImpl (Getter getter=Getter(), Setter setter=Setter(), SignalBase::OnSubscribers onsubscribe=SignalBase::OnSubscribers()) |
|
| PropertyImpl (ExecutionContext *execContext, Getter getter=Getter(), Setter setter=Setter(), SignalBase::OnSubscribers onsubscribe=SignalBase::OnSubscribers()) |
|
| PropertyImpl (AutoAnyReference defaultValue, Getter getter=Getter(), Setter setter=Setter(), SignalBase::OnSubscribers onsubscribe=SignalBase::OnSubscribers()) |
|
| PropertyImpl (AutoAnyReference defaultValue, ExecutionContext *execContext=nullptr, Getter getter=Getter(), Setter setter=Setter(), SignalBase::OnSubscribers onsubscribe=SignalBase::OnSubscribers()) |
|
PropertyImpl< AnyValue > & | operator= (const AnyValue &v) |
|
| SignalF (OnSubscribers onSubscribers=OnSubscribers()) |
|
| SignalF (ExecutionContext *execContext, OnSubscribers onSubscribers) |
|
SignalSubscriber | connect (...) |
|
| SignalBase (const Signature &signature, OnSubscribers onSubscribers=OnSubscribers()) |
|
| SignalBase (const Signature &signature, ExecutionContext *execContext, OnSubscribers onSubscribers=OnSubscribers()) |
|
| SignalBase (OnSubscribers onSubscribers=OnSubscribers()) |
|
| SignalBase (ExecutionContext *execContext, OnSubscribers onSubscribers=OnSubscribers()) |
|
| SignalBase (const SignalBase &)=delete |
| SignalBase is not copyable, since subscriptions should not be duplicated. More...
|
|
SignalBase & | operator= (const SignalBase &)=delete |
|
virtual | ~SignalBase () |
|
template<typename F > |
SignalSubscriber | connect (boost::function< F > func) |
|
SignalSubscriber | connect (AnyObject object, const unsigned int slot) |
|
SignalSubscriber | connect (AnyObject object, const std::string &slot) |
|
SignalSubscriber | connect (const SignalSubscriber &s) |
| The following overloads are the lowest-level. More...
|
|
Future< SignalSubscriber > | connectAsync (const SignalSubscriber &) |
|
bool | disconnectAll () |
|
Future< bool > | disconnectAllAsync () |
|
bool | asyncDisconnectAll () |
|
bool | disconnect (const SignalLink &link) |
|
Future< bool > | disconnectAsync (const SignalLink &link) |
|
bool | asyncDisconnect (const SignalLink &link) |
|
virtual void | trigger (const GenericFunctionParameters ¶ms, MetaCallType callType=MetaCallType_Auto) |
|
void | setCallType (MetaCallType callType) |
| Set the MetaCallType used by operator()(). More...
|
|
void | operator() (qi::AutoAnyReference p1=qi::AutoAnyReference(), qi::AutoAnyReference p2=qi::AutoAnyReference(), qi::AutoAnyReference p3=qi::AutoAnyReference(), qi::AutoAnyReference p4=qi::AutoAnyReference(), qi::AutoAnyReference p5=qi::AutoAnyReference(), qi::AutoAnyReference p6=qi::AutoAnyReference(), qi::AutoAnyReference p7=qi::AutoAnyReference(), qi::AutoAnyReference p8=qi::AutoAnyReference()) |
| Trigger the signal with given arguments, and call type set by setCallType() More...
|
|
std::vector< SignalSubscriber > | subscribers () |
|
bool | hasSubscribers () |
|
void | setOnSubscribers (OnSubscribers onSubscribers) |
|
void | _setSignature (const Signature &s) |
|
| PropertyBase ()=default |
|
| PropertyBase (const PropertyBase &)=delete |
|
PropertyBase & | operator= (const PropertyBase &)=delete |
|
virtual | ~PropertyBase ()=default |
|
Type-erased property, simulating a typed property but using AnyValue.
Definition at line 237 of file property.hpp.
template<typename... Args>
qi::GenericProperty::GenericProperty |
( |
const AutoAnyReference & |
defaultValue, |
|
|
Args &&... |
args |
|
) |
| |
|
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.
- See Also
- qi::Property<AnyValue>::Property(AutoAnyReference, ...)
Precondition: The value must have a valid type.
Definition at line 251 of file property.hpp.
template<typename... Args>
qi::GenericProperty::GenericProperty |
( |
TypeInterface * |
type, |
|
|
Args &&... |
args |
|
) |
| |
|
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.
- See Also
- qi::Property<AnyValue>::Property(AutoAnyReference, ...)
Precondition: The type must be valid (not null).
Definition at line 269 of file property.hpp.