VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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)
 Resets the contents back to empty.
void SetParentID (int)
 Set the parent of the group/LOD/whatever to attach to when loaded in.
bool GetParentID (int &) const
 Retrieve the parent ID we'll need to attach this thing into the scene graph.
void SetChildPos (int)
bool GetChildPos (int &) const
bool isValid (void) const
 Validity check.
bool Write (trpgWriteBuffer &)
 Writes this class to a write buffer.
bool Read (trpgReadBuffer &)
 Reads this class from a read buffer.
bool Print (trpgPrintBuffer &) const
 Prints this class to a print buffer.
- Public Member Functions inherited from trpgGroup
 trpgGroup (void)
virtual ~trpgGroup (void)
virtual void SetNumChild (int)
virtual int AddChild (void)
 Starting from 0, increments the number of children.
virtual bool GetNumChild (int &) const
virtual void SetID (int)
virtual bool GetID (int &) const
 Returns the group ID.
void SetName (const char *)
const charGetName (void) const
 Returns the group name.
- Public Member Functions inherited from trpgReadWriteable
 trpgReadWriteable ()
const chargetErrMess () const
- Public Member Functions inherited from trpgCheckable
 trpgCheckable (void)
virtual ~trpgCheckable (void)
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 Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)