Aldebaran documentation
|
C++ Libraries
|
index
libqi-api
2.4.3.28
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
qi
messaging
gateway.hpp
Go to the documentation of this file.
1
#pragma once
2
/*
3
** Copyright (C) 2012 Aldebaran Robotics
4
** See COPYING for the license
5
*/
6
7
#ifndef _QIMESSAGING_GATEWAY_HPP_
8
#define _QIMESSAGING_GATEWAY_HPP_
9
10
# include <
qi/url.hpp
>
11
12
namespace
qi
13
{
14
class
GatewayPrivate;
15
16
class
QI_API
Gateway
17
{
18
public
:
19
Gateway
();
20
~
Gateway
();
21
22
bool
attachToServiceDirectory(
const
qi::Url
&address);
23
bool
listen(
const
qi::Url
&address);
24
std::vector<qi::Url> endpoints()
const
;
25
26
private
:
27
GatewayPrivate *_p;
28
};
29
30
class
QI_API
RemoteGateway
31
{
32
public
:
33
RemoteGateway
();
34
~
RemoteGateway
();
35
36
bool
listen(
const
qi::Url
&address);
37
void
join();
38
39
private
:
40
GatewayPrivate *_p;
41
};
42
43
class
QI_API
ReverseGateway
44
{
45
public
:
46
ReverseGateway
();
47
~
ReverseGateway
();
48
49
bool
attachToServiceDirectory(
const
qi::Url
&address);
50
bool
connect(
const
qi::Url
&address);
51
void
join();
52
53
private
:
54
GatewayPrivate *_p;
55
};
56
}
57
58
#endif // _QIMESSAGING_GATEWAY_HPP_
QI_API
#define QI_API
Definition:
api.hpp:34
qi::ReverseGateway
Definition:
gateway.hpp:43
url.hpp
qi::RemoteGateway
Definition:
gateway.hpp:30
qi::Url
Definition:
url.hpp:33
qi::Gateway
Definition:
gateway.hpp:16
Copyright Aldebaran Robotics