Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
RoverControllerBehavior Class Reference#include <RoverControllerBehavior.h>
Inheritance diagram for RoverControllerBehavior:
![]() Detailed DescriptionDESCRIPTION.Definition at line 18 of file RoverControllerBehavior.h.
Constructor & Destructor Documentation
don't call (copy constructor)
Member Function Documentation
returns theOne, initializing it if necessary
Definition at line 23 of file RoverControllerBehavior.h.
By default, merely adds to the reference counter (through AddReference()); Note you should still call this from your overriding methods.
Reimplemented from BehaviorBase.
By default, subtracts from the reference counter (RemoveReference()), and thus may deletex if zero; Don't forget to still call this when you override this; Warning: call this at the end of your DoStop(), not beginning (it might
Reimplemented from BehaviorBase. Referenced by ~RoverControllerBehavior().
Gives a short description of what this class of behaviors does... you should override this (but don't have to). If you do override this, also consider overriding getDescription() to return it Reimplemented from BehaviorBase. Definition at line 39 of file RoverControllerBehavior.h. Referenced by getDescription().
Gives a short description of what this particular instantiation does (in case a more specific description is needed on an individual basis). By default simply returns getName(), because any calls from a BehaviorBase function to getClassDescription() are going to call BehaviorBase::getClassDescription(), not ~YourSubClass~getClassDescription(), because static functions can't be virtual in C++ (doh!) This means that getDescription called on a pointer to a BehaviorBase of unknown subtype would always return an empty string, which is pretty useless. So instead we return the name in this situation. If you want getDescription to return getClassDescription, you'll have to override it in your subclass to do so. Reimplemented from BehaviorBase. Definition at line 40 of file RoverControllerBehavior.h.
Referenced by RoverControllerBehavior().
called by wireless when there's new data, forwards call to theOne->update
Definition at line 59 of file RoverControllerBehavior.h.
don't call (assignment operator)
Member Data Documentation
Definition at line 66 of file RoverControllerBehavior.h. Referenced by callback(), getInstance(), and ~RoverControllerBehavior().
Definition at line 68 of file RoverControllerBehavior.h.
Definition at line 69 of file RoverControllerBehavior.h.
Definition at line 70 of file RoverControllerBehavior.h.
Definition at line 71 of file RoverControllerBehavior.h.
Definition at line 72 of file RoverControllerBehavior.h.
Definition at line 73 of file RoverControllerBehavior.h.
Definition at line 75 of file RoverControllerBehavior.h.
Definition at line 76 of file RoverControllerBehavior.h.
Definition at line 77 of file RoverControllerBehavior.h.
Definition at line 78 of file RoverControllerBehavior.h.
Definition at line 79 of file RoverControllerBehavior.h.
Definition at line 80 of file RoverControllerBehavior.h.
Definition at line 82 of file RoverControllerBehavior.h.
Definition at line 83 of file RoverControllerBehavior.h.
Definition at line 85 of file RoverControllerBehavior.h.
Definition at line 86 of file RoverControllerBehavior.h.
Definition at line 87 of file RoverControllerBehavior.h.
Definition at line 88 of file RoverControllerBehavior.h.
Definition at line 92 of file RoverControllerBehavior.h.
Definition at line 93 of file RoverControllerBehavior.h.
The documentation for this class was generated from the following file: |
Tekkotsu v4.0 |
Generated Thu Nov 22 00:58:40 2007 by Doxygen 1.5.4 |