00001 // -*- mode: c++; indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*- 00002 #ifndef __NULL_SERVICE_H__ 00003 #define __NULL_SERVICE_H__ 00004 00005 #include "SampleComponentService.hh" 00006 00007 class SampleComponent; 00008 00009 class SampleComponent_impl 00010 : public virtual POA_OpenHRP::SampleComponentService, 00011 public virtual PortableServer::RefCountServantBase 00012 { 00013 public: 00017 SampleComponent_impl(); 00018 00022 virtual ~SampleComponent_impl(); 00023 00024 void echo(const char *msg); 00025 00026 void sample(SampleComponent *i_sample); 00027 00028 private: 00029 SampleComponent *m_sample; 00030 }; 00031 00032 #endif