Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

Cargo Class Reference

Cargo object class. More...

#include <TraplasObject.h>

Inheritance diagram for Cargo:

Inheritance graph
[legend]
Collaboration diagram for Cargo:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Cargo (int carg_id, int type_carg, osg::Node *carg_model)
string toString ()

Detailed Description

Cargo object class.

Contains all information about a cargo object class. Inherits most functions from TraplasObject.

Definition at line 150 of file TraplasObject.h.


Constructor & Destructor Documentation

Cargo::Cargo int  carg_id,
int  type_carg,
osg::Node *  carg_model
 

Constructor.

Parameters:
carg_id The id of the object.
type_carg the type of TraplasObject we're contstructing.
carg_model The osg-model of this type of object.

Definition at line 156 of file TraplasObject.cpp.

References TraplasObject::id, TraplasObject::model, TraplasObject::selected, TraplasObject::setDescription(), and TraplasObject::type.

Here is the call graph for this function:


Member Function Documentation

string Cargo::toString  )  [virtual]
 

Returns:
A string with information about this TraplasObject.

Reimplemented from TraplasObject.

Definition at line 168 of file TraplasObject.cpp.

References TraplasObject::description.


The documentation for this class was generated from the following files:
Generated on Mon Jun 19 10:22:13 2006 for TraplasVisualisation by  doxygen 1.4.4