GvInit Class Reference

#include <c4d_graphview.h>

Detailed Description

Structure for GvNodeMaster::InitCalculation().

Note
Cannot be instantiated manually. Has to be allocated with GvNodeMaster::AllocInit() and destroyed with GvNodeMaster::FreeInit().

Public Member Functions

void SetError (GvCalcError error)
 
GvCalcError GetError (void)
 

Public Attributes

Int32 cpu_count
 
GvCalcFlags flags
 

Private Member Functions

 GvInit ()
 
 ~GvInit ()
 

Constructor & Destructor Documentation

◆ GvInit()

GvInit ( )
private

◆ ~GvInit()

~GvInit ( )
private

Member Function Documentation

◆ SetError()

void SetError ( GvCalcError  error)

Sets the error flag. Remember to return false if this flag is set.

Note
GvInit::SetError() is not used very often, as in GvOperatorData::InitCalculation() there is a GvRun instead with its own GvRun::SetError().
Parameters
[in]errorThe error flag: GvError

◆ GetError()

GvCalcError GetError ( void  )

Retrieves the error flag.

Returns
The error flag: GvError

Member Data Documentation

◆ cpu_count

Int32 cpu_count

The CPU count. Should always be set to 1.

◆ flags

GvCalcFlags flags

The calculation flags: GvCalcFlags.