rippled
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 191 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 203 of file Path_test.cpp.

◆ signal()

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

Definition at line 212 of file Path_test.cpp.

Member Data Documentation

◆ cv_

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

Definition at line 194 of file Path_test.cpp.

◆ mutex_

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

Definition at line 195 of file Path_test.cpp.

◆ signaled_

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

Definition at line 196 of file Path_test.cpp.