MyServiceSVC_impl.h
Go to the documentation of this file.
00001 // -*-C++-*-
00008 #include "MyServiceSkel.h"
00009 
00010 #ifndef MYSERVICESVC_IMPL_H
00011 #define MYSERVICESVC_IMPL_H
00012  
00013 /*
00014  * Example class implementing IDL interface MyService
00015  */
00016 class MyServiceSVC_impl
00017   : public virtual POA_SimpleService::MyService,
00018    public virtual PortableServer::RefCountServantBase
00019 {
00020  private:
00021    // Make sure all instances are built on the heap by making the
00022    // destructor non-public
00023    //virtual ~MyServiceSVC_impl();
00024 
00025  public:
00026    // standard constructor
00027    MyServiceSVC_impl();
00028    virtual ~MyServiceSVC_impl();
00029 
00030    // attributes and operations
00031    char* echo(const char* msg)
00032      throw (CORBA::SystemException);
00033   SimpleService::EchoList* get_echo_history()
00034      throw (CORBA::SystemException);
00035    void set_value(CORBA::Float value)
00036      throw (CORBA::SystemException);
00037    CORBA::Float get_value()
00038      throw (CORBA::SystemException);
00039   SimpleService::ValueList* get_value_history()
00040      throw (CORBA::SystemException);
00041 
00042 private:
00043   CORBA::Float m_value;
00044   SimpleService::EchoList m_echoList;
00045   SimpleService::ValueList m_valueList;
00046 };
00047 
00048 
00049 
00050 #endif // MYSERVICESVC_IMPL_H
00051 
00052 


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Sun Mar 26 2017 03:37:16