VR-Forces 5.0.2 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)
 
 ~trpgAttach (void)
 
void Reset (void)
 
void SetParentID (int)
 
bool GetParentID (int &) const
 
void SetChildPos (int)
 
bool GetChildPos (int &) const
 
bool isValid (void) const
 
bool Write (trpgWriteBuffer &)
 
bool Read (trpgReadBuffer &)
 
bool Print (trpgPrintBuffer &) const
 
- Public Member Functions inherited from trpgGroup
 trpgGroup (void)
 
virtual ~trpgGroup (void)
 
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  )
trpgAttach::~trpgAttach ( void  )

Member Function Documentation

void trpgAttach::Reset ( void  )
virtual

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
bool trpgAttach::isValid ( void  ) const
virtual

Validity check.

Reimplemented from trpgGroup.

bool trpgAttach::Write ( trpgWriteBuffer )
virtual

Writes this class to a write buffer.

Reimplemented from trpgGroup.

bool trpgAttach::Read ( trpgReadBuffer )
virtual

Reads this class from a read buffer.

Reimplemented from trpgGroup.

bool trpgAttach::Print ( trpgPrintBuffer ) const
virtual

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 Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)