Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

SetGround Class Reference

#include <MotionNodes.h>

Inheritance diagram for SetGround:

Detailed Description

Definition at line 159 of file MotionNodes.h.

List of all members.

Public Member Functions

 SetGround (const std::string &nodename="SetGround", float _groundOffset=-10)
void setID ()
void move (float offset)
virtual void doStart ()
 Delegate function for subclasses to be notified when the behavior starts up.

Public Attributes

float groundOffset

Constructor & Destructor Documentation

SetGround::SetGround ( const std::string &  nodename = "SetGround",
float  _groundOffset = -10 
)

Definition at line 161 of file MotionNodes.h.


Member Function Documentation

virtual void SetGround::doStart (  )  [virtual]

Delegate function for subclasses to be notified when the behavior starts up.

Should be overridden by subclasses to subscribe to events, install motion commands, etc.

doStart() is basically a hook to allow subclasses to jump in and do some customization of behavior parameters while the behavior is starting. If you are writing a behavior class and do not expect further derivation, just override doStart() yourself. However, if you do expect further derivation of your class, consider using preStart() or postStart() instead, and leave doStart() for the 'leaf' classes.

Reimplemented from BehaviorBase.

Definition at line 177 of file MotionNodes.h.

void SetGround::move ( float  offset  ) 

Definition at line 172 of file MotionNodes.h.

Referenced by doStart().

void SetGround::setID (  ) 

Definition at line 163 of file MotionNodes.h.

Referenced by doStart().


Member Data Documentation

Definition at line 162 of file MotionNodes.h.

Referenced by doStart().


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

Tekkotsu v5.1CVS
Generated Fri Mar 16 05:27:27 2012 by Doxygen 1.6.3