Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
f0589f98
Commit
f0589f98
authored
Oct 13, 2012
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made the BSP routines take their function arguments by value rather
than by reference.
parent
bcf274d6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
30 deletions
+30
-30
bsp.h
dlib/bsp/bsp.h
+20
-20
bsp_abstract.h
dlib/bsp/bsp_abstract.h
+10
-10
No files found.
dlib/bsp/bsp.h
View file @
f0589f98
...
@@ -293,7 +293,7 @@ namespace dlib
...
@@ -293,7 +293,7 @@ namespace dlib
>
>
friend
void
bsp_connect
(
friend
void
bsp_connect
(
const
std
::
vector
<
std
::
pair
<
std
::
string
,
unsigned
short
>
>&
hosts
,
const
std
::
vector
<
std
::
pair
<
std
::
string
,
unsigned
short
>
>&
hosts
,
funct_type
&
funct
funct_type
funct
);
);
template
<
template
<
...
@@ -302,7 +302,7 @@ namespace dlib
...
@@ -302,7 +302,7 @@ namespace dlib
>
>
friend
void
bsp_connect
(
friend
void
bsp_connect
(
const
std
::
vector
<
std
::
pair
<
std
::
string
,
unsigned
short
>
>&
hosts
,
const
std
::
vector
<
std
::
pair
<
std
::
string
,
unsigned
short
>
>&
hosts
,
funct_type
&
funct
,
funct_type
funct
,
ARG1
arg1
ARG1
arg1
);
);
...
@@ -313,7 +313,7 @@ namespace dlib
...
@@ -313,7 +313,7 @@ namespace dlib
>
>
friend
void
bsp_connect
(
friend
void
bsp_connect
(
const
std
::
vector
<
std
::
pair
<
std
::
string
,
unsigned
short
>
>&
hosts
,
const
std
::
vector
<
std
::
pair
<
std
::
string
,
unsigned
short
>
>&
hosts
,
funct_type
&
funct
,
funct_type
funct
,
ARG1
arg1
,
ARG1
arg1
,
ARG2
arg2
ARG2
arg2
);
);
...
@@ -326,7 +326,7 @@ namespace dlib
...
@@ -326,7 +326,7 @@ namespace dlib
>
>
friend
void
bsp_connect
(
friend
void
bsp_connect
(
const
std
::
vector
<
std
::
pair
<
std
::
string
,
unsigned
short
>
>&
hosts
,
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
...
@@ -341,7 +341,7 @@ namespace dlib
...
@@ -341,7 +341,7 @@ namespace dlib
>
>
friend
void
bsp_connect
(
friend
void
bsp_connect
(
const
std
::
vector
<
std
::
pair
<
std
::
string
,
unsigned
short
>
>&
hosts
,
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
,
...
@@ -355,7 +355,7 @@ namespace dlib
...
@@ -355,7 +355,7 @@ namespace dlib
>
>
friend
void
bsp_listen
(
friend
void
bsp_listen
(
unsigned
short
listening_port
,
unsigned
short
listening_port
,
funct_type
&
funct
funct_type
funct
);
);
template
<
template
<
...
@@ -364,7 +364,7 @@ namespace dlib
...
@@ -364,7 +364,7 @@ namespace dlib
>
>
friend
void
bsp_listen
(
friend
void
bsp_listen
(
unsigned
short
listening_port
,
unsigned
short
listening_port
,
funct_type
&
funct
,
funct_type
funct
,
ARG1
arg1
ARG1
arg1
);
);
...
@@ -375,7 +375,7 @@ namespace dlib
...
@@ -375,7 +375,7 @@ namespace dlib
>
>
friend
void
bsp_listen
(
friend
void
bsp_listen
(
unsigned
short
listening_port
,
unsigned
short
listening_port
,
funct_type
&
funct
,
funct_type
funct
,
ARG1
arg1
,
ARG1
arg1
,
ARG2
arg2
ARG2
arg2
);
);
...
@@ -388,7 +388,7 @@ namespace dlib
...
@@ -388,7 +388,7 @@ namespace dlib
>
>
friend
void
bsp_listen
(
friend
void
bsp_listen
(
unsigned
short
listening_port
,
unsigned
short
listening_port
,
funct_type
&
funct
,
funct_type
funct
,
ARG1
arg1
,
ARG1
arg1
,
ARG2
arg2
,
ARG2
arg2
,
ARG3
arg3
ARG3
arg3
...
@@ -403,7 +403,7 @@ namespace dlib
...
@@ -403,7 +403,7 @@ namespace dlib
>
>
friend
void
bsp_listen
(
friend
void
bsp_listen
(
unsigned
short
listening_port
,
unsigned
short
listening_port
,
funct_type
&
funct
,
funct_type
funct
,
ARG1
arg1
,
ARG1
arg1
,
ARG2
arg2
,
ARG2
arg2
,
ARG3
arg3
,
ARG3
arg3
,
...
@@ -423,7 +423,7 @@ namespace dlib
...
@@ -423,7 +423,7 @@ namespace dlib
>
>
void
bsp_connect
(
void
bsp_connect
(
const
std
::
vector
<
std
::
pair
<
std
::
string
,
unsigned
short
>
>&
hosts
,
const
std
::
vector
<
std
::
pair
<
std
::
string
,
unsigned
short
>
>&
hosts
,
funct_type
&
funct
funct_type
funct
)
)
{
{
impl1
::
map_id_to_con
cons
;
impl1
::
map_id_to_con
cons
;
...
@@ -443,7 +443,7 @@ namespace dlib
...
@@ -443,7 +443,7 @@ namespace dlib
>
>
void
bsp_connect
(
void
bsp_connect
(
const
std
::
vector
<
std
::
pair
<
std
::
string
,
unsigned
short
>
>&
hosts
,
const
std
::
vector
<
std
::
pair
<
std
::
string
,
unsigned
short
>
>&
hosts
,
funct_type
&
funct
,
funct_type
funct
,
ARG1
arg1
ARG1
arg1
)
)
{
{
...
@@ -465,7 +465,7 @@ namespace dlib
...
@@ -465,7 +465,7 @@ namespace dlib
>
>
void
bsp_connect
(
void
bsp_connect
(
const
std
::
vector
<
std
::
pair
<
std
::
string
,
unsigned
short
>
>&
hosts
,
const
std
::
vector
<
std
::
pair
<
std
::
string
,
unsigned
short
>
>&
hosts
,
funct_type
&
funct
,
funct_type
funct
,
ARG1
arg1
,
ARG1
arg1
,
ARG2
arg2
ARG2
arg2
)
)
...
@@ -489,7 +489,7 @@ namespace dlib
...
@@ -489,7 +489,7 @@ namespace dlib
>
>
void
bsp_connect
(
void
bsp_connect
(
const
std
::
vector
<
std
::
pair
<
std
::
string
,
unsigned
short
>
>&
hosts
,
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
...
@@ -515,7 +515,7 @@ namespace dlib
...
@@ -515,7 +515,7 @@ namespace dlib
>
>
void
bsp_connect
(
void
bsp_connect
(
const
std
::
vector
<
std
::
pair
<
std
::
string
,
unsigned
short
>
>&
hosts
,
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
,
...
@@ -540,7 +540,7 @@ namespace dlib
...
@@ -540,7 +540,7 @@ namespace dlib
>
>
void
bsp_listen
(
void
bsp_listen
(
unsigned
short
listening_port
,
unsigned
short
listening_port
,
funct_type
&
funct
funct_type
funct
)
)
{
{
impl1
::
map_id_to_con
cons
;
impl1
::
map_id_to_con
cons
;
...
@@ -559,7 +559,7 @@ namespace dlib
...
@@ -559,7 +559,7 @@ namespace dlib
>
>
void
bsp_listen
(
void
bsp_listen
(
unsigned
short
listening_port
,
unsigned
short
listening_port
,
funct_type
&
funct
,
funct_type
funct
,
ARG1
arg1
ARG1
arg1
)
)
{
{
...
@@ -580,7 +580,7 @@ namespace dlib
...
@@ -580,7 +580,7 @@ namespace dlib
>
>
void
bsp_listen
(
void
bsp_listen
(
unsigned
short
listening_port
,
unsigned
short
listening_port
,
funct_type
&
funct
,
funct_type
funct
,
ARG1
arg1
,
ARG1
arg1
,
ARG2
arg2
ARG2
arg2
)
)
...
@@ -603,7 +603,7 @@ namespace dlib
...
@@ -603,7 +603,7 @@ namespace dlib
>
>
void
bsp_listen
(
void
bsp_listen
(
unsigned
short
listening_port
,
unsigned
short
listening_port
,
funct_type
&
funct
,
funct_type
funct
,
ARG1
arg1
,
ARG1
arg1
,
ARG2
arg2
,
ARG2
arg2
,
ARG3
arg3
ARG3
arg3
...
@@ -628,7 +628,7 @@ namespace dlib
...
@@ -628,7 +628,7 @@ namespace dlib
>
>
void
bsp_listen
(
void
bsp_listen
(
unsigned
short
listening_port
,
unsigned
short
listening_port
,
funct_type
&
funct
,
funct_type
funct
,
ARG1
arg1
,
ARG1
arg1
,
ARG2
arg2
,
ARG2
arg2
,
ARG3
arg3
,
ARG3
arg3
,
...
...
dlib/bsp/bsp_abstract.h
View file @
f0589f98
...
@@ -120,7 +120,7 @@ namespace dlib
...
@@ -120,7 +120,7 @@ namespace dlib
>
>
void
bsp_connect
(
void
bsp_connect
(
const
std
::
vector
<
std
::
pair
<
std
::
string
,
unsigned
short
>
>&
hosts
,
const
std
::
vector
<
std
::
pair
<
std
::
string
,
unsigned
short
>
>&
hosts
,
funct_type
&
funct
funct_type
funct
);
);
// ----------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
...
@@ -131,7 +131,7 @@ namespace dlib
...
@@ -131,7 +131,7 @@ namespace dlib
>
>
void
bsp_connect
(
void
bsp_connect
(
const
std
::
vector
<
std
::
pair
<
std
::
string
,
unsigned
short
>
>&
hosts
,
const
std
::
vector
<
std
::
pair
<
std
::
string
,
unsigned
short
>
>&
hosts
,
funct_type
&
funct
,
funct_type
funct
,
ARG1
arg1
ARG1
arg1
);
);
...
@@ -144,7 +144,7 @@ namespace dlib
...
@@ -144,7 +144,7 @@ namespace dlib
>
>
void
bsp_connect
(
void
bsp_connect
(
const
std
::
vector
<
std
::
pair
<
std
::
string
,
unsigned
short
>
>&
hosts
,
const
std
::
vector
<
std
::
pair
<
std
::
string
,
unsigned
short
>
>&
hosts
,
funct_type
&
funct
,
funct_type
funct
,
ARG1
arg1
,
ARG1
arg1
,
ARG2
arg2
ARG2
arg2
);
);
...
@@ -159,7 +159,7 @@ namespace dlib
...
@@ -159,7 +159,7 @@ namespace dlib
>
>
void
bsp_connect
(
void
bsp_connect
(
const
std
::
vector
<
std
::
pair
<
std
::
string
,
unsigned
short
>
>&
hosts
,
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
...
@@ -176,7 +176,7 @@ namespace dlib
...
@@ -176,7 +176,7 @@ namespace dlib
>
>
void
bsp_connect
(
void
bsp_connect
(
const
std
::
vector
<
std
::
pair
<
std
::
string
,
unsigned
short
>
>&
hosts
,
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
,
...
@@ -191,7 +191,7 @@ namespace dlib
...
@@ -191,7 +191,7 @@ namespace dlib
>
>
void
bsp_listen
(
void
bsp_listen
(
unsigned
short
listening_port
,
unsigned
short
listening_port
,
funct_type
&
funct
funct_type
funct
);
);
// ----------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
...
@@ -202,7 +202,7 @@ namespace dlib
...
@@ -202,7 +202,7 @@ namespace dlib
>
>
void
bsp_listen
(
void
bsp_listen
(
unsigned
short
listening_port
,
unsigned
short
listening_port
,
funct_type
&
funct
,
funct_type
funct
,
ARG1
arg1
ARG1
arg1
);
);
...
@@ -215,7 +215,7 @@ namespace dlib
...
@@ -215,7 +215,7 @@ namespace dlib
>
>
void
bsp_listen
(
void
bsp_listen
(
unsigned
short
listening_port
,
unsigned
short
listening_port
,
funct_type
&
funct
,
funct_type
funct
,
ARG1
arg1
,
ARG1
arg1
,
ARG2
arg2
ARG2
arg2
);
);
...
@@ -230,7 +230,7 @@ namespace dlib
...
@@ -230,7 +230,7 @@ namespace dlib
>
>
void
bsp_listen
(
void
bsp_listen
(
unsigned
short
listening_port
,
unsigned
short
listening_port
,
funct_type
&
funct
,
funct_type
funct
,
ARG1
arg1
,
ARG1
arg1
,
ARG2
arg2
,
ARG2
arg2
,
ARG3
arg3
ARG3
arg3
...
@@ -247,7 +247,7 @@ namespace dlib
...
@@ -247,7 +247,7 @@ namespace dlib
>
>
void
bsp_listen
(
void
bsp_listen
(
unsigned
short
listening_port
,
unsigned
short
listening_port
,
funct_type
&
funct
,
funct_type
funct
,
ARG1
arg1
,
ARG1
arg1
,
ARG2
arg2
,
ARG2
arg2
,
ARG3
arg3
,
ARG3
arg3
,
...
...
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