The Nebula Device 3: Jobs::TPJobCommand Class Reference

The Nebula Device 3

Jobs::TPJobCommand Class Reference

#include <tpjobcommand.h>


Detailed Description

A command queue entry for the worker threads.

(C) 2009 Radon Labs GmbH

Public Types

enum  Code
 commands

Public Member Functions

 TPJobCommand ()
 constructor
void SetupSync (const Threading::Event *syncEvent)
 setup for sync command
void SetupRun (TPJobSlice *firstSlice, ushort numSlices, ushort stride)
 setup for run job slices command
Code GetCode () const
 get the command code
const Threading::EventGetSyncEvent () const
 get pointer to sync event object
TPJobSliceGetFirstSlice () const
 get pointer to first job slice
ushort GetNumSlices () const
 get number of slices
ushort GetStride () const
 get slice array stride