Signals

Accounts::Watch Class Reference

Monitors an account key or group of keys. More...

#include <account.h>

List of all members.

Signals

void notify (const char *key)
 Emitted when the value of the keys monitored by this watch change.

Detailed Description

Monitors an account key or group of keys.

A watch is created via the Account::watch method and is a simple object which will emit the notify() signal when the value of the key (or group) that it is monitoring is changed.

Definition at line 87 of file account.h.


Member Function Documentation

void Accounts::Watch::notify ( const char *  key  )  [signal]

Emitted when the value of the keys monitored by this watch change.

Parameters:
key The string that was used to create this watch. Note that if this watch is monitor multiple keys this param only identifies their common prefix, and not the actual key being changed.

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