VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
trpgAttach Class Reference
Inheritance diagram for trpgAttach:
Inheritance graph
[legend]

Public Member Functions

 trpgAttach (void)
 
virtual ~trpgAttach (void) override
 
virtual void Reset (void) override
 
void SetParentID (int)
 
bool GetParentID (int &) const
 
void SetChildPos (int)
 
bool GetChildPos (int &) const
 
virtual bool isValid (void) const override
 
virtual bool Write (trpgWriteBuffer &) override
 
virtual bool Read (trpgReadBuffer &) override
 
virtual bool Print (trpgPrintBuffer &) const override
 
- Public Member Functions inherited from trpgGroup
 trpgGroup (void)
 
virtual ~trpgGroup (void) override
 
virtual void SetNumChild (int)
 
virtual int AddChild (void)
 
virtual bool GetNumChild (int &) const
 
virtual void SetID (int)
 
virtual bool GetID (int &) const
 
void SetName (const char *)
 
const charGetName (void) const
 
- Public Member Functions inherited from trpgReadWriteable
 trpgReadWriteable ()
 
const chargetErrMess () const
 
- Public Member Functions inherited from trpgCheckable
 trpgCheckable (void)
 
virtual ~trpgCheckable (void)
 
bool isValid (void) const
 
virtual TeAttrHdl GetHandle () const
 
virtual void SetHandle (TeAttrHdl hdl)
 

Protected Attributes

int parentID
 
int childPos
 
- Protected Attributes inherited from trpgGroup
int id
 
int numChild
 
charname
 
- Protected Attributes inherited from trpgReadWriteable
char errMess [512]
 
- Protected Attributes inherited from trpgCheckable
bool valid
 
TeAttrHdl handle
 
bool writeHandle
 

Constructor & Destructor Documentation

trpgAttach::trpgAttach ( void  )
virtual trpgAttach::~trpgAttach ( void  )
overridevirtual

Member Function Documentation

virtual void trpgAttach::Reset ( void  )
overridevirtual

Resets the contents back to empty.

Reimplemented from trpgGroup.

void trpgAttach::SetParentID ( int  )

Set the parent of the group/LOD/whatever to attach to when loaded in.

bool trpgAttach::GetParentID ( int ) const

Retrieve the parent ID we'll need to attach this thing into the scene graph.

void trpgAttach::SetChildPos ( int  )
bool trpgAttach::GetChildPos ( int ) const
virtual bool trpgAttach::isValid ( void  ) const
overridevirtual

Validity check.

Reimplemented from trpgGroup.

virtual bool trpgAttach::Write ( trpgWriteBuffer )
overridevirtual

Writes this class to a write buffer.

Reimplemented from trpgGroup.

virtual bool trpgAttach::Read ( trpgReadBuffer )
overridevirtual

Reads this class from a read buffer.

Reimplemented from trpgGroup.

virtual bool trpgAttach::Print ( trpgPrintBuffer ) const
overridevirtual

Prints this class to a print buffer.

Reimplemented from trpgGroup.

Member Data Documentation

int trpgAttach::parentID
protected
int trpgAttach::childPos
protected

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

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)