6e8fbca745
match the genesis editor version 1.3.0.653.
43 lines
901 B
C++
43 lines
901 B
C++
//------------------------------------------------------------------------------
|
|
// tpjobslice.cc
|
|
// (C) 2009 Radon Labs GmbH
|
|
//------------------------------------------------------------------------------
|
|
#include "stdneb.h"
|
|
#include "jobs/tp/tpjobslice.h"
|
|
#include "jobs/tp/tpjob.h"
|
|
|
|
namespace Jobs
|
|
{
|
|
|
|
//------------------------------------------------------------------------------
|
|
/**
|
|
*/
|
|
TPJobSlice::TPJobSlice() :
|
|
job(0),
|
|
sliceIndex(InvalidIndex)
|
|
{
|
|
// empty
|
|
}
|
|
|
|
//------------------------------------------------------------------------------
|
|
/**
|
|
*/
|
|
TPJobSlice::~TPJobSlice()
|
|
{
|
|
this->job = 0;
|
|
}
|
|
|
|
//------------------------------------------------------------------------------
|
|
/**
|
|
*/
|
|
void
|
|
TPJobSlice::Setup(TPJob* job_, IndexT sliceIndex_)
|
|
{
|
|
n_assert(0 == this->job);
|
|
n_assert(0 != job_);
|
|
this->job = job_;
|
|
this->sliceIndex = sliceIndex_;
|
|
}
|
|
|
|
} // namespace Jobs
|