BObserver Class Reference
[Binder]

#include <support/Observer.h>

Inheritance diagram for BObserver:

BBinder IBinder SAtom BCatalogMirror BRandomIterator BSerialObserver List of all members.

Detailed Description

Generic target of Binder links.


Public Member Functions

 BObserver (const SContext &context)

Protected Member Functions

virtual status_t DispatchEffect (const SValue &told)
 Turn an effect into into a series of Observed() calls.
virtual status_t HandleEffect (const SValue &in, const SValue &inBindings, const SValue &outBindings, SValue *out)
 Capture effect calls and send through DispatchEffect().
virtual void Observed (const SValue &key, const SValue &value)=0
 Override this to receive observed events.
virtual ~BObserver ()


Constructor & Destructor Documentation

BObserver const SContext context  ) 
 

~BObserver  )  [protected, virtual]
 


Member Function Documentation

status_t DispatchEffect const SValue told  )  [protected, virtual]
 

Turn an effect into into a series of Observed() calls.

Reimplemented in BSerialObserver.

status_t HandleEffect const SValue in,
const SValue inBindings,
const SValue outBindings,
SValue out
[protected, virtual]
 

Capture effect calls and send through DispatchEffect().

Reimplemented from BBinder.

virtual void Observed const SValue key,
const SValue value
[protected, pure virtual]
 

Override this to receive observed events.

Implemented in BCatalogMirror, and BRandomIterator.


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