QSDK 1.1 Documentation
Main Page | Modules | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members | Related Pages

Q::ScopeReactor Struct Reference
[QServer]

Scope event filter. More...

#include <Q/q.h>

Inheritance diagram for Q::ScopeReactor:

Q::ObjectBase List of all members.

Public Member Functions

 ScopeReactor ()
Utils::Result addListener (ScopeListener &l)
Utils::Result removeListener (ScopeListener &l)

Static Public Member Functions

ScopeReactor create (const Instance &instance)
ClassType classType ()
ScopeReactor cast (const ObjectBase &)

Detailed Description

Scope event filter.

The ScopeReactor is used to generate events when a particular instance moves either in to scope or out of scope. To activate a ScopeReactor it should be added to the Application.

See also:
Q::Application::add(const Q::ScopeReactor&)


Constructor & Destructor Documentation

Q::ScopeReactor::ScopeReactor  )  [inline]
 

Create a null scope reactor reference.


Member Function Documentation

Utils::Result Q::ScopeReactor::addListener ScopeListener l  ) 
 

Add l to the list of listeners called when this reactor generates an event.

ScopeReactor Q::ScopeReactor::cast const ObjectBase  )  [static]
 

If the object referenced by obj is a ScopeReactor, then return a suitable ScopeReactor reference to the object.

ClassType Q::ScopeReactor::classType  )  [static]
 

Return the type for this class.

ScopeReactor Q::ScopeReactor::create const Instance instance  )  [static]
 

Create a reference to a scope reactor which generates events when instance moves in to scope or out of scope.

Utils::Result Q::ScopeReactor::removeListener ScopeListener l  ) 
 

Remove l from the list of listeners called when this reactor generates an event.

Return to QSDK documentation Contents page. Contact details for support, information and fault-reporting.
Qube Software Limited © 2000-2004