MotionReport.cc
Go to the documentation of this file.00001 #include "Behaviors/Controls/NullControl.h"
00002 #include "Motion/MotionManager.h"
00003
00004
00005 class MotionReport : public NullControl {
00006 public:
00007
00008 MotionReport()
00009 : NullControl("Motion Report","Triggers MotionManager::motionReport() to display currently active motions and their output usage on stderr")
00010 {}
00011
00012 MotionReport(const std::string& n)
00013 : NullControl(n,"Triggers MotionManager::motionReport() to display currently active motions and their output usage on stderr")
00014 {}
00015
00016 MotionReport(const std::string& n, const std::string& d)
00017 : NullControl(n,d)
00018 {}
00019
00020
00021 virtual ~MotionReport() {}
00022
00023 virtual ControlBase * activate(MC_ID disp_id, Socket * gui) {
00024 motman->motionReport();
00025 return NullControl::activate(disp_id,gui);
00026 }
00027
00028 private:
00029 MotionReport(const MotionReport&);
00030 MotionReport& operator=(const MotionReport&);
00031 };
00032
00033 REGISTER_CONTROL(MotionReport,"Status Reports");
00034
00035
00036
00037
00038