The Nebula Device 3: Jobs::JobDataDesc Class Reference

The Nebula Device 3

Jobs::JobDataDesc Class Reference

#include <jobdatadesc.h>


Detailed Description

Descriptor for input/output data of a job. Input/output data is split into elements and slices. A job function may be called with any number of elements, up to the MaxElementsPerSlice number. Within a current slice, the job may perform random access on elements. Slices may not depend on each other (the job system may split a job into slices which are processed in parallel).

(C) 2009 Radon Labs GmbH

Public Member Functions

 JobDataDesc ()
 default constructor
 JobDataDesc (void *ptr, SizeT bufSize, SizeT sliceSize)
 constructor with 1 data buffer
 JobDataDesc (void *ptr0, SizeT bufSize0, SizeT sliceSize0, void *ptr1, SizeT bufSize1, SizeT sliceSize1)
 constructor with 2 data buffers
 JobDataDesc (void *ptr0, SizeT bufSize0, SizeT sliceSize0, void *ptr1, SizeT bufSize1, SizeT sliceSize1, void *ptr2, SizeT bufSize2, SizeT sliceSize2)
 constructor with 3 data buffers
 JobDataDesc (void *ptr0, SizeT bufSize0, SizeT sliceSize0, void *ptr1, SizeT bufSize1, SizeT sliceSize1, void *ptr2, SizeT bufSize2, SizeT sliceSize2, void *ptr3, SizeT bufSize3, SizeT sliceSize3)
 constructor with 4 data buffers
void Update (IndexT index, void *ptr, SizeT bufSize, SizeT sliceSize)
 update a parameter set
SizeT GetNumBuffers () const
 get number of buffers
void * GetPointer (IndexT i) const
 get buffer pointer
SizeT GetBufferSize (IndexT i) const
 get buffer size
SizeT GetSliceSize (IndexT i) const
 get slice size