rippled
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
ripple::test::Path_test::gate Class Reference
Collaboration diagram for ripple::test::Path_test::gate:
Collaboration graph
[legend]

Public Member Functions

template<class Rep , class Period >
bool wait_for (std::chrono::duration< Rep, Period > const &rel_time)
 
void signal ()
 

Private Attributes

std::condition_variable cv_
 
std::mutex mutex_
 
bool signaled_ = false
 

Detailed Description

Definition at line 80 of file Path_test.cpp.

Member Function Documentation

◆ wait_for()

template<class Rep , class Period >
bool ripple::test::Path_test::gate::wait_for ( std::chrono::duration< Rep, Period > const &  rel_time)

Definition at line 92 of file Path_test.cpp.

◆ signal()

void ripple::test::Path_test::gate::signal ( )

Definition at line 101 of file Path_test.cpp.

Member Data Documentation

◆ cv_

std::condition_variable ripple::test::Path_test::gate::cv_
private

Definition at line 83 of file Path_test.cpp.

◆ mutex_

std::mutex ripple::test::Path_test::gate::mutex_
private

Definition at line 84 of file Path_test.cpp.

◆ signaled_

bool ripple::test::Path_test::gate::signaled_ = false
private

Definition at line 85 of file Path_test.cpp.