GvInit Class Reference Graph View

#include <c4d_graphview.h>

详细描述

Structure for GvNodeMaster::InitCalculation() .

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

公共成员函数

void  SetError ( GvCalcError error)
GvCalcError   GetError (void)

Public Attributes

Int32   cpu_count
GvCalcFlags   flags

私有成员函数

  GvInit ()
  ~GvInit ()

构造函数 & 析构函数文档编制

◆  GvInit()

GvInit () private

◆  ~GvInit()

~ GvInit () private

成员函数文档编制

◆  SetError()

void SetError ( GvCalcError   error )

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

注意
GvInit::SetError() is not used very often, as in GvOperatorData::InitCalculation() there is a GvRun instead with its own GvRun::SetError() .
参数
[in] error The error flag: GvError

◆  GetError()

GvCalcError GetError ( void  )

Retrieves the error flag.

返回
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 .