ApparatusFramework::KernelMultipleObservable Class Reference
[Pattern Services]

#include <PatternServices/current/include/KernelObservable.h>

Inheritance diagram for ApparatusFramework::KernelMultipleObservable:
ApparatusFramework::MultipleObservable< Msg * > ApparatusFramework::Observable< Msg * > ApparatusFramework::Connection ApparatusFramework::CanConnection

List of all members.

Public Member Functions

 KernelMultipleObservable ()
 ~KernelMultipleObservable ()
virtual void dispatch (Msg *msg, KernelMultipleObservable *origin=0)

Detailed Description

KernelMultipleObservable implements a specialized version of a multiple observable class. The sent update event is always a kernel message. This class is a mixin class.

Definition at line 95 of file KernelObservable.h.

Constructor & Destructor Documentation

ApparatusFramework::KernelMultipleObservable::KernelMultipleObservable (  ) 

constructors, destructors Constructs a new kernel multiple observable object.

ApparatusFramework::KernelMultipleObservable::~KernelMultipleObservable (  ) 

Destructs the Observable freeing all used ressources.

Member Function Documentation

virtual void ApparatusFramework::KernelMultipleObservable::dispatch ( Msg msg,
KernelMultipleObservable origin = 0 
) [virtual]

notification Dispatches the message to all registered observers. Each observer receives her own copy of a kernel message. She is responsible to release the message when it is no more needed.

msg messge to be dispatched to all observers.
origin if you use a model with more than one observable, here is a place to tell the observe which observable has change its state. It is set to default 0 so we can call it also with just one parameter.
© 2004-2010 bbv Software Services AG / Apparatus Services