FreePOOMA
2.4.1
|
This class has two functions. More...
#include <DataObject.h>
This class has two functions.
In cases where the engine contains an expression, the request will be passed on to engines in the expression that have data objects. For example, if we use DataObjectRequest to request a lock on a stencil engine, it uses forEach to request the same lock on all the engines in the expression contained inside the stencil.
To implement a version of DataObjectRequest<Request>, the following interface is required:
Type_t is the return type of the functor. Combine_t is a ForEach combine tag that will be used if the engine contains an expression. operator() lets you compute the return value given a pointer to the actual data object. defaultValue() returns the value that should be returned when there is no data object.