Animal Class Reference
#include <vostut8creature.hh>
Inheritance diagram for Animal:

Detailed Description
Definition at line 153 of file vostut8creature.hh.
Public Member Functions
- void setTailLength (double l)
- double getTailLength ()
- void addPrey (Creature *p)
- virtual const std::string getVOSType ()
Static Public Member Functions
- static VOS::MetaObject * new_Animal (VOS::VobjectBase *superobject, const std::string &type)
Protected Member Functions
- Animal (VOS::VobjectBase *superobject)
Constructor & Destructor Documentation
| Animal::Animal | ( | VOS::VobjectBase * | superobject | ) | [protected] |
Member Function Documentation
| void Animal::addPrey | ( | Creature * | p | ) |
| double Animal::getTailLength | ( | ) |
| const std::string Animal::getVOSType | ( | ) | [virtual] |
- Returns:
- the specific VOS type name that represents the VOS interface this object is supplying. This should always be overridden by the subclass.
Reimplemented from Creature.
Definition at line 128 of file vostut8creature.cc.
| MetaObject * Animal::new_Animal | ( | VOS::VobjectBase * | superobject, | |
| const std::string & | type | |||
| ) | [static] |
Definition at line 133 of file vostut8creature.cc.
| void Animal::setTailLength | ( | double | l | ) |
The documentation for this class was generated from the following files:
- /home/tetron/hack/vos/apps/tutorials/vostut8creature.hh
- /home/tetron/hack/vos/apps/tutorials/vostut8creature.cc