preCICE
v3.2.0
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Variables
_
a
b
c
d
e
f
h
i
m
n
p
r
s
t
Typedefs
b
d
e
g
l
m
p
r
s
t
u
v
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
~
Variables
_
a
b
c
d
e
f
g
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Typedefs
a
b
c
d
e
f
i
k
m
n
o
p
r
s
t
v
w
Enumerations
Enumerator
c
d
e
i
l
m
n
o
r
s
u
v
w
Related Symbols
Files
File List
File Members
All
_
a
b
c
d
e
g
i
j
m
n
o
p
r
s
t
v
Functions
a
b
c
g
m
p
r
s
t
v
Variables
Typedefs
Macros
b
d
m
n
p
t
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
src
com
SocketRequest.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
condition_variable
>
4
#include <
mutex
>
5
#include "
Request.hpp
"
6
7
namespace
precice::com
{
8
class
SocketRequest
:
public
Request
{
9
public
:
10
void
complete
();
11
12
bool
test
()
override
;
13
14
void
wait
()
override
;
15
16
private
:
17
bool
_complete
{
false
};
18
19
std::condition_variable
_completeCondition
;
20
std::mutex
_completeMutex
;
21
};
8
class
SocketRequest
:
public
Request
{
…
};
22
}
// namespace precice::com
Request.hpp
precice::com::Request
Definition
Request.hpp:7
precice::com::SocketRequest
Definition
SocketRequest.hpp:8
precice::com::SocketRequest::complete
void complete()
Definition
SocketRequest.cpp:5
precice::com::SocketRequest::_completeMutex
std::mutex _completeMutex
Definition
SocketRequest.hpp:20
precice::com::SocketRequest::wait
void wait() override
Definition
SocketRequest.cpp:23
precice::com::SocketRequest::_completeCondition
std::condition_variable _completeCondition
Definition
SocketRequest.hpp:19
precice::com::SocketRequest::_complete
bool _complete
Definition
SocketRequest.hpp:17
precice::com::SocketRequest::test
bool test() override
Definition
SocketRequest.cpp:16
condition_variable
mutex
precice::com
contains the data communication abstraction layer.
Definition
Communication.cpp:12