PositionInput.h
Go to the documentation of this file.
00001 // -*- C++ -*-
00007 #ifndef POSITIONINPUT_H
00008 #define POSITIONINPUT_H
00009 
00010 #include <rtm/idl/BasicDataTypeSkel.h>
00011 #include <rtm/Manager.h>
00012 #include <rtm/DataFlowComponentBase.h>
00013 #include <rtm/CorbaPort.h>
00014 #include <rtm/DataInPort.h>
00015 #include <rtm/DataOutPort.h>
00016 
00017 #include "intellirobotStub.h"
00018 // Service implementation headers
00019 // <rtc-template block="service_impl_h">
00020 
00021 // </rtc-template>
00022 
00023 // Service Consumer stub headers
00024 // <rtc-template block="consumer_stub_h">
00025 
00026 // </rtc-template>
00027 
00028 using namespace RTC;
00029 
00030 class PositionInput  : public RTC::DataFlowComponentBase
00031 {
00032  public:
00033   PositionInput(RTC::Manager* manager);
00034   ~PositionInput();
00035 
00036   // The initialize action (on CREATED->ALIVE transition)
00037   // formaer rtc_init_entry() 
00038  virtual RTC::ReturnCode_t onInitialize();
00039 
00040   // The finalize action (on ALIVE->END transition)
00041   // formaer rtc_exiting_entry()
00042   // virtual RTC::ReturnCode_t onFinalize();
00043 
00044   // The startup action when ExecutionContext startup
00045   // former rtc_starting_entry()
00046   // virtual RTC::ReturnCode_t onStartup(RTC::UniqueId ec_id);
00047 
00048   // The shutdown action when ExecutionContext stop
00049   // former rtc_stopping_entry()
00050   // virtual RTC::ReturnCode_t onShutdown(RTC::UniqueId ec_id);
00051 
00052   // The activated action (Active state entry action)
00053   // former rtc_active_entry()
00054   virtual RTC::ReturnCode_t onActivated(RTC::UniqueId ec_id);
00055 
00056   // The deactivated action (Active state exit action)
00057   // former rtc_active_exit()
00058   // virtual RTC::ReturnCode_t onDeactivated(RTC::UniqueId ec_id);
00059 
00060   // The execution action that is invoked periodically
00061   // former rtc_active_do()
00062   virtual RTC::ReturnCode_t onExecute(RTC::UniqueId ec_id);
00063 
00064   // The aborting action when main logic error occurred.
00065   // former rtc_aborting_entry()
00066   // virtual RTC::ReturnCode_t onAborting(RTC::UniqueId ec_id);
00067 
00068   // The error action in ERROR state
00069   // former rtc_error_do()
00070   // virtual RTC::ReturnCode_t onError(RTC::UniqueId ec_id);
00071 
00072   // The reset action that is invoked resetting
00073   // This is same but different the former rtc_init_entry()
00074   // virtual RTC::ReturnCode_t onReset(RTC::UniqueId ec_id);
00075   
00076   // The state update action that is invoked after onExecute() action
00077   // no corresponding operation exists in OpenRTm-aist-0.2.0
00078   // virtual RTC::ReturnCode_t onStateUpdate(RTC::UniqueId ec_id);
00079 
00080   // The action that is invoked when execution context's rate is changed
00081   // no corresponding operation exists in OpenRTm-aist-0.2.0
00082   // virtual RTC::ReturnCode_t onRateChanged(RTC::UniqueId ec_id);
00083 
00084 
00085  protected:
00086   // Configuration variable declaration
00087   // <rtc-template block="config_declare">
00088   // add:s 2011.5.19 by rtc-center
00089   double m_01_x;
00090   double m_02_y;
00091   double m_03_th;
00092   // add:s 2011.5.19 by rtc-center
00093  
00094   // </rtc-template>
00095 
00096   // DataInPort declaration
00097   // <rtc-template block="inport_declare">
00098 
00099   // </rtc-template>
00100 
00101   // DataOutPort declaration
00102   // <rtc-template block="outport_declare">
00103   IIS::TimedPose2D m_position;
00104   OutPort<IIS::TimedPose2D> m_positionOut;
00105 
00106   // </rtc-template>
00107 
00108   // CORBA Port declaration
00109   // <rtc-template block="corbaport_declare">
00110 
00111   // </rtc-template>
00112 
00113   // Service declaration
00114   // <rtc-template block="service_declare">
00115 
00116   // </rtc-template>
00117 
00118   // Consumer declaration
00119   // <rtc-template block="consumer_declare">
00120 
00121   // </rtc-template>
00122 
00123  private:
00124 
00125 };
00126 
00127 
00128 extern "C"
00129 {
00130   void PositionInputInit(RTC::Manager* manager);
00131 };
00132 
00133 #endif // POSITIONINPUT_H
00134 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


RS003
Author(s):
autogenerated on Thu Jun 27 2013 14:58:49