VISH  0.2
Classes | Public Types | Public Member Functions | Public Attributes
Wizt::RemoteVish Class Reference

List of all members.

Classes

Public Types

Public Member Functions

Public Attributes


Member Function Documentation

bool RemoteVish::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.

void Wizt::RemoteVish::sendScreenshot ( const WeakPtr< Communicator > &  Rec,
socket_t  fd 
)

which color format (rgb, rgba, ...) would this grabber prefer?

which pixel type (byte, short, half, float, ...) would this grabber like?

which depth type (byte, short, half, float, ...) would this grabber like?

bool RemoteVish::update ( VRequest ,
double  precision 
) [virtual]

Virtual update function that implements some heavy action on the object.

Update function.

It is called only if any input object is newer than the current object. It must return true on successful completion. However, the object may touch() itself in the update() routine. Then, it will get a newer time than all input objects, which will trigger all dependent objects as well.

Returns:
Must return true to indicate that the object was successfully updated and may now get the age of the most recent parameter.

Reimplemented from Wizt::VObject.


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