00001 // -*-C++-*- 00002 #ifndef TIMEKEEPERSERVICE_IMPL_H 00003 #define TIMEKEEPERSERVICE_IMPL_H 00004 00005 #include "hrpsys/idl/TimeKeeperService.hh" 00006 00007 using namespace OpenHRP; 00008 00009 class StateHolder; 00010 00011 class TimeKeeperService_impl 00012 : public virtual POA_OpenHRP::TimeKeeperService, 00013 public virtual PortableServer::RefCountServantBase 00014 { 00015 public: 00016 TimeKeeperService_impl(); 00017 virtual ~TimeKeeperService_impl(); 00018 void setComponent(StateHolder *i_comp) { m_comp = i_comp; } 00019 void sleep(CORBA::Double tm); 00020 private: 00021 StateHolder *m_comp; 00022 }; 00023 00024 #endif