AutoTestServiceSVC_impl.cpp
Go to the documentation of this file.
1 // -*-C++-*-
9 
10 /*
11  * Example implementational code for IDL interface AutoTest::MyService
12  */
14  m_msg(""),
15  m_isNew(false)
16 {
17  // Please add extra constructor code here.
18 }
19 
20 
22 {
23  // Please add extra destructor code here.
24 }
25 
26 
27 /*
28  * Methods corresponding to IDL attributes and operations
29  */
30 char* MyServiceSVC_impl::echo(const char* msg)
31 {
32  // Please insert your code here and remove the following warning pragma
33  m_msg = msg;
34  if (m_isNew)
35  std::cout << "echo's message was overwritten !!!" << std::endl;
36  m_isNew = true;
37  return CORBA::string_dup(msg);
38 }
39 
41 {
42  // Please insert your code here and remove the following warning pragma
43  return 0;
44 }
45 
46 void MyServiceSVC_impl::set_value(CORBA::Float value)
47 {
48  // Please insert your code here and remove the following warning pragma
49 }
50 
52 {
53  // Please insert your code here and remove the following warning pragma
54  return 0;
55 }
56 
58 {
59  // Please insert your code here and remove the following warning pragma
60  return 0;
61 }
62 
63 
64 
65 // End of example implementational code
66 
67 
68 
AutoTest::ValueList * get_value_history()
char * echo(const char *msg)
virtual ~MyServiceSVC_impl()
destructor
void set_value(CORBA::Float value)
AutoTest::EchoList * get_echo_history()
MyServiceSVC_impl()
standard constructor
Service implementation header of AutoTestService.idl.


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Mon Jun 10 2019 14:07:50