-
Notifications
You must be signed in to change notification settings - Fork 1
/
sonyService_impl.h
50 lines (38 loc) · 1019 Bytes
/
sonyService_impl.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// -*-C++-*-
/*!
* @file sonyService_impl.h
* @brief Service implementation header of sonyService.idl
*
*/
#include "sonyService.hh"
#include "sony.h"
#ifndef SONYSERVICE_IMPL_H
#define SONYSERVICE_IMPL_H
/*
* Example class implementing IDL interface OpenHRP::sonyService
*/
class sony;
class sonyService_impl
: public virtual POA_OpenHRP::sonyService,
public virtual PortableServer::RefCountServantBase
{
private:
// Make sure all instances are built on the heap by making the
// destructor non-public
//virtual ~sonyService_impl();
sony * m_comp;
public:
// standard constructor
sonyService_impl();
virtual ~sonyService_impl();
// attributes and operations
void start();
void setObjectV(::CORBA::Double x, ::CORBA::Double y, ::CORBA::Double z, ::CORBA::Double roll, ::CORBA::Double pitch, ::CORBA::Double yaw);
void testMove();
void stepping();
void stop();
void setComponent (sony * i_comp) {
m_comp = i_comp;
}
};
#endif // SONYSERVICE_IMPL_H