Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

MotionCommand.cc

Go to the documentation of this file.
00001 #include "MotionCommand.h"
00002 #include "MotionManager.h"
00003 #include "Events/EventTranslator.h"
00004 #include "Events/EventRouter.h"
00005 #include "Events/LocomotionEvent.h"
00006 #include "IPC/ProcessID.h"
00007 #include <iostream>
00008 
00009 using namespace std;
00010 
00011 void MotionCommand::postEvent(const EventBase& event) {
00012   if(queue==NULL || ProcessID::getID()==ProcessID::MainProcess) {
00013     erouter->postEvent(event);
00014   } else {
00015     queue->encodeEvent(event);
00016   }
00017 }
00018 
00019 
00020 
00021 /*! @file
00022  * @brief Empty
00023  * @author ejt (Creator)
00024  */
00025 

Tekkotsu v5.1CVS
Generated Mon May 9 04:58:45 2016 by Doxygen 1.6.3