xrpld
Loading...
Searching...
No Matches
xrpl::test::Path_test::Gate Class Reference
Collaboration diagram for xrpl::test::Path_test::Gate:

Public Member Functions

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

Private Attributes

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

Detailed Description

Definition at line 112 of file Path_test.cpp.

Member Function Documentation

◆ waitFor()

template<class Rep, class Period>
bool xrpl::test::Path_test::Gate::waitFor ( std::chrono::duration< Rep, Period > const & relTime)

Definition at line 124 of file Path_test.cpp.

◆ signal()

void xrpl::test::Path_test::Gate::signal ( )

Definition at line 133 of file Path_test.cpp.

Member Data Documentation

◆ cv_

std::condition_variable xrpl::test::Path_test::Gate::cv_
private

Definition at line 115 of file Path_test.cpp.

◆ mutex_

std::mutex xrpl::test::Path_test::Gate::mutex_
private

Definition at line 116 of file Path_test.cpp.

◆ signaled_

bool xrpl::test::Path_test::Gate::signaled_ = false
private

Definition at line 117 of file Path_test.cpp.