VISH  0.2
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes
CViewer Class Reference

List of all members.

Public Member Functions

Public Attributes

Protected Member Functions

Protected Attributes


Member Function Documentation

bool CViewer::request ( VRequest request,
double  precision,
const WeakVObjectPtr ImmediateRequestor,
const WeakVObjectPtr RootRequestor 
) [virtual]

Request an action, to be performed with a certain precision.

Its main purpose is to iterate all parameters and forward the request to them. If this all parameters have fullfilled their request(), then the virtual update() function is called.

In rare case, an object might want to overload this function, for instance when request shall be forwarded to input objects only under certain circumstances (e.g. an Viewer object that is not visible at the moment).

Returns:
true if the object was changed
Exceptions:
VRequest::Incompletemight occur if a synchroneous request is issued but some operations are still in asynchroneous construction. This is the case when a synchroneous request is issued after an asynchroneous one that has not yet been completed. In such a case, the caller may just repeat the same request. The caller may and should do something else in the meantime, as the async request may still take a while to finish.
Note:
Requests are only processed if enableRequestProcessing() has been called for this object. By default, processing of requests is disabled to avoid requests() to be processed when an object is yet incomplete during construction which may happen in a multithreading environment. This flag must be set after an object is completely constructed.

Check the age of the local state

Some parameter has changed, so call object's update().

Reimplemented from Wizt::VObject.


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