00001 #include "StateHolderService_impl.h" 00002 #include "StateHolder.h" 00003 00004 StateHolderService_impl::StateHolderService_impl() : m_comp(NULL) 00005 { 00006 } 00007 00008 StateHolderService_impl::~StateHolderService_impl() 00009 { 00010 } 00011 00012 void StateHolderService_impl::goActual() 00013 { 00014 if (!m_comp) return; 00015 00016 m_comp->goActual(); 00017 } 00018 00019 void StateHolderService_impl::getCommand(OpenHRP::StateHolderService::Command_out com) 00020 { 00021 com = new OpenHRP::StateHolderService::Command; 00022 m_comp->getCommand(*com); 00023 }