14 dataLink->
publish(m_mutator.data());
29 void CGenericListJournal::handleEvent(
const CVariant ¶m) { m_value.
push_back(param); }
int removeIf(Predicate p)
Remove elements for which a given predicate returns true.
void push_back(const T &value)
Appends an element at the end of the sequence.
Wrapper around QVariant which provides transparent access to CValueObject methods of the contained ob...
bool isValid() const
True if this variant is valid.
bool matches(const CVariant &event) const
If this is an event subscription, return true if it matches the given event.
static CVariant from(T &&value)
Synonym for fromValue().
Value object encapsulating a list of variants.
Dummy value class that matches any event.
void initialize(IDataLink *)
Publish using the given transport mechanism.
Interface that provides a transport mechanism for sharing state.
virtual void subscribe(const CPassiveObserver *observer)=0
Register an observer with this transport mechanism.
virtual void publish(const CPassiveMutator *mutator)=0
Register a mutator with this transport mechanism.
Utilities for sharing state between multiple objects.