Go to the documentation of this file.00001
00002 #ifndef __DATA_LOGGER_SERVICE_IMPL_H__
00003 #define __DATA_LOGGER_SERVICE_IMPL_H__
00004
00005 #include "hrpsys/idl/DataLoggerService.hh"
00006
00007 using namespace OpenHRP;
00008
00009 class DataLogger;
00010 class DataLoggerService_impl
00011 : public virtual POA_OpenHRP::DataLoggerService,
00012 public virtual PortableServer::RefCountServantBase
00013 {
00014 public:
00015 DataLoggerService_impl();
00016 virtual ~DataLoggerService_impl();
00017
00018 void setLogger(DataLogger *i_logger) { m_logger = i_logger; }
00019
00020 CORBA::Boolean add(const char *type, const char *name);
00021 CORBA::Boolean save(const char *basename);
00022 CORBA::Boolean clear();
00023 void maxLength(CORBA::ULong len);
00024 private:
00025 DataLogger *m_logger;
00026 };
00027
00028 #endif