AutoTestServiceSVC_impl.cpp
Go to the documentation of this file.
00001 // -*-C++-*-
00008 #include "AutoTestServiceSVC_impl.h"
00009 
00010 /*
00011  * Example implementational code for IDL interface AutoTest::MyService
00012  */
00013 MyServiceSVC_impl::MyServiceSVC_impl() : 
00014   m_msg(""),
00015   m_isNew(false)
00016 {
00017   // Please add extra constructor code here.
00018 }
00019 
00020 
00021 MyServiceSVC_impl::~MyServiceSVC_impl()
00022 {
00023   // Please add extra destructor code here.
00024 }
00025 
00026 
00027 /*
00028  * Methods corresponding to IDL attributes and operations
00029  */
00030 char* MyServiceSVC_impl::echo(const char* msg)
00031 {
00032   // Please insert your code here and remove the following warning pragma
00033   m_msg = msg;
00034   if (m_isNew)
00035     std::cout << "echo's message was overwritten !!!" << std::endl;
00036   m_isNew = true;
00037   return CORBA::string_dup(msg);
00038 }
00039 
00040 AutoTest::EchoList* MyServiceSVC_impl::get_echo_history()
00041 {
00042   // Please insert your code here and remove the following warning pragma
00043   return 0;
00044 }
00045 
00046 void MyServiceSVC_impl::set_value(CORBA::Float value)
00047 {
00048   // Please insert your code here and remove the following warning pragma
00049 }
00050 
00051 CORBA::Float MyServiceSVC_impl::get_value()
00052 {
00053   // Please insert your code here and remove the following warning pragma
00054   return 0;
00055 }
00056 
00057 AutoTest::ValueList* MyServiceSVC_impl::get_value_history()
00058 {
00059   // Please insert your code here and remove the following warning pragma
00060   return 0;
00061 }
00062 
00063 
00064 
00065 // End of example implementational code
00066 
00067 
00068 


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Thu Aug 27 2015 14:16:37