gepetto-viewer-corba
5.8.1
Corba server for gepetto-viewer
Loading...
Searching...
No Matches
api.hh
Go to the documentation of this file.
1
#ifndef GEPETTO_VIEWER_CORBA_API_HH
2
#define GEPETTO_VIEWER_CORBA_API_HH
3
4
#include <
gepetto/viewer/corba/client.hh
>
5
6
namespace
gepetto
{
7
namespace
viewer {
8
namespace
corba {
9
10
#if __cplusplus >= 201103L
11
inline
void
applyConfiguration(
const
char
* name,
corbaserver::Transform
&& t) {
12
if
(!
connected
())
return
;
13
gui
()->applyConfiguration(name, t);
14
}
15
#endif
// __cplusplus > 201103L
16
17
inline
void
refresh
() {
18
if
(!
connected
())
return
;
19
gui
()->refresh();
20
}
21
22
}
// end of namespace corba
23
}
// end of namespace viewer
24
}
// end of namespace gepetto
25
26
#endif
// GEPETTO_VIEWER_CORBA_API_HH
client.hh
gepetto::corbaserver::Transform
float Transform[7]
Definition
graphical-interface.idl:20
gepetto::viewer::corba::refresh
void refresh()
Definition
api.hh:17
gepetto::viewer::corba::connected
bool connected()
Tells whether the connection to the gui is ok.
Definition
client.hh:54
gepetto::viewer::corba::gui
corbaserver::GraphicalInterface_var & gui()
Get a client to the GUI.
gepetto
Definition
url.hh:24
include
gepetto
viewer
corba
api.hh
Generated by
1.10.0