Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
IPCMotionHook Class Reference#include <IPCMotionHook.h>
Inheritance diagram for IPCMotionHook:
![]() Detailed Descriptiondescription of IPCMotionHookDefinition at line 12 of file IPCMotionHook.h.
Member Typedef Documentation
Constructor & Destructor Documentation
Definition at line 14 of file IPCMotionHook.h.
Definition at line 7 of file IPCMotionHook.cc.
Member Function Documentation
Called each time the motion process has polled active motion commands. When in realtime mode, this should be called every FrameTime*NumFrames (defined in the RobotInfo) milliseconds if running at full speed. See enteringRealtime() and leavingRealtime(). This default implementation checks to see which outputs have changed value since the last call and passes the summary on to motionUpdated(). lastOutputs will be updated with the new values after the call to motionUpdated(). If you need to process all the outputs on every frame, you only need to override this function. Your subclass doesn't need to call the MotionHook implementation unless you want to have lastOutputs updated for you. If you only need to process the changed outputs for each frame, override motionUpdated() instead. motionUpdated() is always called for each update, even if there aren't any changes, so you can still use that if there are some outputs which need to be updated every cycle. Reimplemented from MotionHook. Definition at line 12 of file IPCMotionHook.cc.
Member Data Documentation
for efficiency, reuse old buffers -- oldest at front, most recently used at back
Definition at line 24 of file IPCMotionHook.h. Referenced by getRegion(), motionCheck(), and ~IPCMotionHook().
The documentation for this class was generated from the following files: |
Tekkotsu Hardware Abstraction Layer 4.0 |
Generated Thu Nov 22 01:01:21 2007 by Doxygen 1.5.4 |