Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
StewartPlatformBehavior Class Reference#include <StewartPlatformBehavior.h>
Inheritance diagram for StewartPlatformBehavior:
![]() Detailed Descriptionmoves the legs in synchrony to emulate the capabilities of a stewart platformDefinition at line 15 of file StewartPlatformBehavior.h.
Constructor & Destructor Documentation
don't call
Member Function Documentation
called by wireless when there's new data
Definition at line 67 of file StewartPlatformBehavior.cc. Referenced by DoStart().
By default, merely adds to the reference counter (through AddReference()); Note you should still call this from your overriding methods.
Reimplemented from BehaviorBase. Definition at line 12 of file StewartPlatformBehavior.cc.
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. Definition at line 23 of file StewartPlatformBehavior.cc.
By defining here, allows you to get away with not supplying a processEvent() function for the EventListener interface. By default, does nothing.
Reimplemented from BehaviorBase. Definition at line 47 of file StewartPlatformBehavior.cc.
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 42 of file StewartPlatformBehavior.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 47 of file StewartPlatformBehavior.h.
processes a string received from wireless
Definition at line 34 of file StewartPlatformBehavior.cc. Referenced by sax_start_element().
fills out (and returns) a xmlSAXHandler structure to control parsing of the communication stream
Definition at line 50 of file StewartPlatformBehavior.cc. Referenced by callback().
closes communications socket
Definition at line 182 of file StewartPlatformBehavior.cc. Referenced by callback(), and DoStop().
don't call
Member Data Documentation
Points to the one StewartPlatformBehavior object that the input command stream is talking to.
Definition at line 19 of file StewartPlatformBehavior.h. Referenced by callback(), isConnected(), StewartPlatformBehavior(), and ~StewartPlatformBehavior().
The input command stream socket.
Definition at line 53 of file StewartPlatformBehavior.h. Referenced by closeComm(), DoStart(), DoStop(), isConnected(), and sax_start_element().
the socket number so we can test if cmdsock is still valid
Definition at line 54 of file StewartPlatformBehavior.h. Referenced by DoStart(), and isConnected().
contains parsing context regarding communication socket
Definition at line 57 of file StewartPlatformBehavior.h. Referenced by callback(), closeComm(), and isConnected().
set to true by sax routines if the socket should be closed
Definition at line 59 of file StewartPlatformBehavior.h. Referenced by callback(), sax_end_doc(), and sax_end_element().
The documentation for this class was generated from the following files: |
Tekkotsu v4.0 |
Generated Thu Nov 22 00:58:43 2007 by Doxygen 1.5.4 |