HTK_Reference

class HTK_Reference

Provides HOOPS/3dGS-specific handling of the TKE_Reference opcode.

This class complements the read/write functionality implemented in the base class by overloading the Interpret and Execute methods to provide HOOPS/3dGS-specific opcode handling.

Writing: The HOOPS/3dGS database is queried in the Interpret method, and this data is then written to the HSF file by the Write method Reading: The data is read from the HSF file by the Read method, and is mapped to the HOOPS/3dGS scene-graph within the Execute method.

Export/import of additional user-data (which is associated with this HSF object) would typically be done by overloading the Write and Read methods.

Inherits from: TK_Reference

Methods

HTK_Reference::HTK_Reference()

constructor

TK_Status HTK_Reference::Write(BStreamFileToolkit &tk)
TK_Status HTK_Reference::Execute(BStreamFileToolkit &tk)
TK_Status HTK_Reference::Interpret(BStreamFileToolkit &tk, ID_Key key, int variant = 0)
TK_Status HTK_Reference::Interpret(BStreamFileToolkit &tk, ID_Key key, char const *special)
bool HTK_Reference::NeedsContext(BStreamFileToolkit &tk) const

const

void HTK_Reference::Reset()
TK_Status HTK_Reference::Clone(BStreamFileToolkit &tk, BBaseOpcodeHandler **handler) const

const

bool HTK_Reference::Direct() const

const

Variables

int HTK_Reference::mh_stage

protected

int

create a class-specific ‘stage’ var to avoid confusion with base class ‘stage’ variable

ID_Key HTK_Reference::mh_owner

protected

ID_Key

owner will need to be reopened if we delay & revisit solitary references