Go to the documentation of this file.00001
00002 #ifndef IMPEDANCESERVICESVC_IMPL_H
00003 #define IMPEDANCESERVICESVC_IMPL_H
00004
00005 #include "hrpsys/idl/ImpedanceControllerService.hh"
00006
00007 using namespace OpenHRP;
00008
00009 class ImpedanceController;
00010
00011 class ImpedanceControllerService_impl
00012 : public virtual POA_OpenHRP::ImpedanceControllerService,
00013 public virtual PortableServer::RefCountServantBase
00014 {
00015 public:
00016 ImpedanceControllerService_impl();
00017 virtual ~ImpedanceControllerService_impl();
00018
00019 CORBA::Boolean startImpedanceController(const char *i_name_);
00020 CORBA::Boolean startImpedanceControllerNoWait(const char *i_name_);
00021 CORBA::Boolean stopImpedanceController(const char *i_name_);
00022 CORBA::Boolean stopImpedanceControllerNoWait(const char *i_name_);
00023 CORBA::Boolean setImpedanceControllerParam(const char *i_name_, const OpenHRP::ImpedanceControllerService::impedanceParam &i_param_);
00024 CORBA::Boolean getImpedanceControllerParam(const char *i_name_, OpenHRP::ImpedanceControllerService::impedanceParam_out i_param_);
00025 void waitImpedanceControllerTransition(const char *i_name_);
00026
00027
00028 void impedance(ImpedanceController *i_impedance);
00029 private:
00030 ImpedanceController *m_impedance;
00031 };
00032
00033 #endif