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