Mitsuba Renderer  0.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
mitsuba::SeedWorkUnit Class Reference

#include <mitsuba/bidir/pathsampler.h>

+ Inheritance diagram for mitsuba::SeedWorkUnit:

Public Member Functions

void set (const WorkUnit *wu)
 Copy the content of another work unit of the same type. More...
 
const PathSeedgetSeed () const
 
void setSeed (const PathSeed &seed)
 
int getTimeout () const
 
void setTimeout (int timeout)
 
void load (Stream *stream)
 Fill the work unit with content acquired from a binary data stream. More...
 
void save (Stream *stream) const
 Serialize a work unit to a binary data stream. More...
 
std::string toString () const
 Return a string representation. More...
 
virtual const ClassgetClass () const
 Retrieve this object's class. More...
 
- Public Member Functions inherited from Object
 Object ()
 Construct a new object. More...
 
int getRefCount () const
 Return the current reference count. More...
 
void incRef () const
 Increase the reference count of the object by one. More...
 
void decRef (bool autoDeallocate=true) const
 Decrease the reference count of the object and possibly deallocate it. More...
 

Static Public Attributes

static Classm_theClass
 
- Static Public Attributes inherited from mitsuba::WorkUnit
static Classm_theClass
 
- Static Public Attributes inherited from Object
static Classm_theClass
 Pointer to the object's class descriptor. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Object
static void staticInitialization ()
 Initializes the built-in reference count debugger (if enabled) More...
 
static void staticShutdown ()
 Free the memory taken by staticInitialization() More...
 
- Protected Member Functions inherited from mitsuba::WorkUnit
virtual ~WorkUnit ()
 Virtual destructor. More...
 
- Protected Member Functions inherited from Object
virtual ~Object ()
 Virtual private deconstructor. (Will only be called by ref) More...
 

Detailed Description

MLT work unit – wraps a PathSeed into a WorkUnit instance.

Member Function Documentation

virtual const Class* mitsuba::SeedWorkUnit::getClass ( ) const
virtual

Retrieve this object's class.

Reimplemented from mitsuba::WorkUnit.

const PathSeed& mitsuba::SeedWorkUnit::getSeed ( ) const
inline
int mitsuba::SeedWorkUnit::getTimeout ( ) const
inline
void mitsuba::SeedWorkUnit::load ( Stream stream)
inlinevirtual

Fill the work unit with content acquired from a binary data stream.

Implements mitsuba::WorkUnit.

void mitsuba::SeedWorkUnit::save ( Stream stream) const
inlinevirtual

Serialize a work unit to a binary data stream.

Implements mitsuba::WorkUnit.

void mitsuba::SeedWorkUnit::set ( const WorkUnit workUnit)
inlinevirtual

Copy the content of another work unit of the same type.

Implements mitsuba::WorkUnit.

void mitsuba::SeedWorkUnit::setSeed ( const PathSeed seed)
inline
void mitsuba::SeedWorkUnit::setTimeout ( int  timeout)
inline
std::string mitsuba::SeedWorkUnit::toString ( ) const
inlinevirtual

Return a string representation.

Implements mitsuba::WorkUnit.

Member Data Documentation

Class* mitsuba::SeedWorkUnit::m_theClass
static

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