swift
Signals | Public Member Functions | Static Public Member Functions | List of all members
swift::misc::shared_state::CPassiveObserver Class Reference

Endpoint which can subscribe to events emitted by CPassiveMutator. More...

Inheritance diagram for swift::misc::shared_state::CPassiveObserver:
[legend]

Signals

void eventSubscriptionChanged (const swift::misc::CVariant &param)
 Emitted by setEventSubscription.
 

Public Member Functions

void setEventSubscription (const CVariant &param)
 Set the object that determines which events are subscribed to.
 
CVariant eventSubscription () const
 Get the object that determines which events are subscribed to.
 
void handleEvent (const CVariant &param) const
 Called when a subscribed event is emitted.
 
QWeakPointer< const CPassiveObserverweakRef () const
 Get a QWeakPointer pointing to this object.
 

Static Public Member Functions

template<typename T , typename F >
static auto create (T *parent, F eventHandler)
 Factory method.
 

Detailed Description

Endpoint which can subscribe to events emitted by CPassiveMutator.

Definition at line 27 of file passiveobserver.h.


The documentation for this class was generated from the following files: