Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
11f83eac
Commit
11f83eac
authored
Oct 07, 2012
by
Davis King
Browse files
Cleaned up the API a little.
parent
f70ea49a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
32 deletions
+32
-32
dlib/bsp/bsp.h
dlib/bsp/bsp.h
+32
-32
No files found.
dlib/bsp/bsp.h
View file @
11f83eac
...
@@ -279,8 +279,8 @@ namespace dlib
...
@@ -279,8 +279,8 @@ namespace dlib
typename
funct_type
typename
funct_type
>
>
friend
void
bsp_connect
(
friend
void
bsp_connect
(
funct_type
&
funct
,
const
std
::
vector
<
std
::
pair
<
std
::
string
,
unsigned
short
>
>&
hosts
,
const
std
::
vector
<
std
::
pair
<
std
::
string
,
unsigned
short
>
>&
hosts
funct_type
&
funct
);
);
template
<
template
<
...
@@ -288,9 +288,9 @@ namespace dlib
...
@@ -288,9 +288,9 @@ namespace dlib
typename
ARG1
typename
ARG1
>
>
friend
void
bsp_connect
(
friend
void
bsp_connect
(
const
std
::
vector
<
std
::
pair
<
std
::
string
,
unsigned
short
>
>&
hosts
,
funct_type
&
funct
,
funct_type
&
funct
,
ARG1
arg1
,
ARG1
arg1
const
std
::
vector
<
std
::
pair
<
std
::
string
,
unsigned
short
>
>&
hosts
);
);
template
<
template
<
...
@@ -299,10 +299,10 @@ namespace dlib
...
@@ -299,10 +299,10 @@ namespace dlib
typename
ARG2
typename
ARG2
>
>
friend
void
bsp_connect
(
friend
void
bsp_connect
(
const
std
::
vector
<
std
::
pair
<
std
::
string
,
unsigned
short
>
>&
hosts
,
funct_type
&
funct
,
funct_type
&
funct
,
ARG1
arg1
,
ARG1
arg1
,
ARG2
arg2
,
ARG2
arg2
const
std
::
vector
<
std
::
pair
<
std
::
string
,
unsigned
short
>
>&
hosts
);
);
template
<
template
<
...
@@ -312,11 +312,11 @@ namespace dlib
...
@@ -312,11 +312,11 @@ namespace dlib
typename
ARG3
typename
ARG3
>
>
friend
void
bsp_connect
(
friend
void
bsp_connect
(
const
std
::
vector
<
std
::
pair
<
std
::
string
,
unsigned
short
>
>&
hosts
,
funct_type
&
funct
,
funct_type
&
funct
,
ARG1
arg1
,
ARG1
arg1
,
ARG2
arg2
,
ARG2
arg2
,
ARG3
arg3
,
ARG3
arg3
const
std
::
vector
<
std
::
pair
<
std
::
string
,
unsigned
short
>
>&
hosts
);
);
// -----------------------------------
// -----------------------------------
...
@@ -325,8 +325,8 @@ namespace dlib
...
@@ -325,8 +325,8 @@ namespace dlib
typename
funct_type
typename
funct_type
>
>
friend
void
bsp_listen
(
friend
void
bsp_listen
(
f
un
ct_type
&
func
t
,
un
signed
short
listening_por
t
,
un
signed
short
listening_por
t
f
un
ct_type
&
func
t
);
);
template
<
template
<
...
@@ -334,9 +334,9 @@ namespace dlib
...
@@ -334,9 +334,9 @@ namespace dlib
typename
ARG1
typename
ARG1
>
>
friend
void
bsp_listen
(
friend
void
bsp_listen
(
unsigned
short
listening_port
,
funct_type
&
funct
,
funct_type
&
funct
,
ARG1
arg1
,
ARG1
arg1
unsigned
short
listening_port
);
);
template
<
template
<
...
@@ -345,10 +345,10 @@ namespace dlib
...
@@ -345,10 +345,10 @@ namespace dlib
typename
ARG2
typename
ARG2
>
>
friend
void
bsp_listen
(
friend
void
bsp_listen
(
unsigned
short
listening_port
,
funct_type
&
funct
,
funct_type
&
funct
,
ARG1
arg1
,
ARG1
arg1
,
ARG2
arg2
,
ARG2
arg2
unsigned
short
listening_port
);
);
template
<
template
<
...
@@ -358,11 +358,11 @@ namespace dlib
...
@@ -358,11 +358,11 @@ namespace dlib
typename
ARG3
typename
ARG3
>
>
friend
void
bsp_listen
(
friend
void
bsp_listen
(
unsigned
short
listening_port
,
funct_type
&
funct
,
funct_type
&
funct
,
ARG1
arg1
,
ARG1
arg1
,
ARG2
arg2
,
ARG2
arg2
,
ARG3
arg3
,
ARG3
arg3
unsigned
short
listening_port
);
);
// -----------------------------------
// -----------------------------------
...
@@ -377,8 +377,8 @@ namespace dlib
...
@@ -377,8 +377,8 @@ namespace dlib
typename
funct_type
typename
funct_type
>
>
void
bsp_connect
(
void
bsp_connect
(
funct_type
&
funct
,
const
std
::
vector
<
std
::
pair
<
std
::
string
,
unsigned
short
>
>&
hosts
,
const
std
::
vector
<
std
::
pair
<
std
::
string
,
unsigned
short
>
>&
hosts
funct_type
&
funct
)
)
{
{
impl
::
map_id_to_con
cons
;
impl
::
map_id_to_con
cons
;
...
@@ -397,9 +397,9 @@ namespace dlib
...
@@ -397,9 +397,9 @@ namespace dlib
typename
ARG1
typename
ARG1
>
>
void
bsp_connect
(
void
bsp_connect
(
const
std
::
vector
<
std
::
pair
<
std
::
string
,
unsigned
short
>
>&
hosts
,
funct_type
&
funct
,
funct_type
&
funct
,
ARG1
arg1
,
ARG1
arg1
const
std
::
vector
<
std
::
pair
<
std
::
string
,
unsigned
short
>
>&
hosts
)
)
{
{
impl
::
map_id_to_con
cons
;
impl
::
map_id_to_con
cons
;
...
@@ -419,10 +419,10 @@ namespace dlib
...
@@ -419,10 +419,10 @@ namespace dlib
typename
ARG2
typename
ARG2
>
>
void
bsp_connect
(
void
bsp_connect
(
const
std
::
vector
<
std
::
pair
<
std
::
string
,
unsigned
short
>
>&
hosts
,
funct_type
&
funct
,
funct_type
&
funct
,
ARG1
arg1
,
ARG1
arg1
,
ARG2
arg2
,
ARG2
arg2
const
std
::
vector
<
std
::
pair
<
std
::
string
,
unsigned
short
>
>&
hosts
)
)
{
{
impl
::
map_id_to_con
cons
;
impl
::
map_id_to_con
cons
;
...
@@ -443,11 +443,11 @@ namespace dlib
...
@@ -443,11 +443,11 @@ namespace dlib
typename
ARG3
typename
ARG3
>
>
void
bsp_connect
(
void
bsp_connect
(
const
std
::
vector
<
std
::
pair
<
std
::
string
,
unsigned
short
>
>&
hosts
,
funct_type
&
funct
,
funct_type
&
funct
,
ARG1
arg1
,
ARG1
arg1
,
ARG2
arg2
,
ARG2
arg2
,
ARG3
arg3
,
ARG3
arg3
const
std
::
vector
<
std
::
pair
<
std
::
string
,
unsigned
short
>
>&
hosts
)
)
{
{
impl
::
map_id_to_con
cons
;
impl
::
map_id_to_con
cons
;
...
@@ -467,8 +467,8 @@ namespace dlib
...
@@ -467,8 +467,8 @@ namespace dlib
typename
funct_type
typename
funct_type
>
>
void
bsp_listen
(
void
bsp_listen
(
f
un
ct_type
&
func
t
,
un
signed
short
listening_por
t
,
un
signed
short
listening_por
t
f
un
ct_type
&
func
t
)
)
{
{
impl
::
map_id_to_con
cons
;
impl
::
map_id_to_con
cons
;
...
@@ -486,9 +486,9 @@ namespace dlib
...
@@ -486,9 +486,9 @@ namespace dlib
typename
ARG1
typename
ARG1
>
>
void
bsp_listen
(
void
bsp_listen
(
unsigned
short
listening_port
,
funct_type
&
funct
,
funct_type
&
funct
,
ARG1
arg1
,
ARG1
arg1
unsigned
short
listening_port
)
)
{
{
impl
::
map_id_to_con
cons
;
impl
::
map_id_to_con
cons
;
...
@@ -507,10 +507,10 @@ namespace dlib
...
@@ -507,10 +507,10 @@ namespace dlib
typename
ARG2
typename
ARG2
>
>
void
bsp_listen
(
void
bsp_listen
(
unsigned
short
listening_port
,
funct_type
&
funct
,
funct_type
&
funct
,
ARG1
arg1
,
ARG1
arg1
,
ARG2
arg2
,
ARG2
arg2
unsigned
short
listening_port
)
)
{
{
impl
::
map_id_to_con
cons
;
impl
::
map_id_to_con
cons
;
...
@@ -530,11 +530,11 @@ namespace dlib
...
@@ -530,11 +530,11 @@ namespace dlib
typename
ARG3
typename
ARG3
>
>
void
bsp_listen
(
void
bsp_listen
(
unsigned
short
listening_port
,
funct_type
&
funct
,
funct_type
&
funct
,
ARG1
arg1
,
ARG1
arg1
,
ARG2
arg2
,
ARG2
arg2
,
ARG3
arg3
,
ARG3
arg3
unsigned
short
listening_port
)
)
{
{
impl
::
map_id_to_con
cons
;
impl
::
map_id_to_con
cons
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment