xrpld
Loading...
Searching...
No Matches
xrpl::detail::MultiRunnerBase< IsParent >::Inner Struct Reference
Collaboration diagram for xrpl::detail::MultiRunnerBase< IsParent >::Inner:

Public Member Functions

std::size_t checkoutJobIndex ()
std::size_t checkoutTestIndex ()
bool anyFailed () const
void anyFailed (bool v)
std::size_t tests () const
std::size_t suites () const
void incKeepAliveCount ()
std::size_t getKeepAliveCount ()
void add (Results const &r)
template<class S>
void printResults (S &s)

Public Attributes

std::atomic< std::size_t > jobIndex {0}
std::atomic< std::size_t > testIndex {0}
std::atomic< bool > anyFailedFlag {false}
std::atomic< std::size_t > keepAlive {0}
boost::interprocess::interprocess_mutex m
detail::Results results

Detailed Description

template<bool IsParent>
struct xrpl::detail::MultiRunnerBase< IsParent >::Inner

Definition at line 93 of file multi_runner.h.

Member Function Documentation

◆ checkoutJobIndex()

template<bool IsParent>
std::size_t xrpl::detail::MultiRunnerBase< IsParent >::Inner::checkoutJobIndex ( )

Definition at line 136 of file multi_runner.cpp.

◆ checkoutTestIndex()

template<bool IsParent>
std::size_t xrpl::detail::MultiRunnerBase< IsParent >::Inner::checkoutTestIndex ( )

Definition at line 143 of file multi_runner.cpp.

◆ anyFailed() [1/2]

template<bool IsParent>
bool xrpl::detail::MultiRunnerBase< IsParent >::Inner::anyFailed ( ) const

Definition at line 150 of file multi_runner.cpp.

◆ anyFailed() [2/2]

template<bool IsParent>
void xrpl::detail::MultiRunnerBase< IsParent >::Inner::anyFailed ( bool v)

Definition at line 157 of file multi_runner.cpp.

◆ tests()

template<bool IsParent>
std::size_t xrpl::detail::MultiRunnerBase< IsParent >::Inner::tests ( ) const

Definition at line 164 of file multi_runner.cpp.

◆ suites()

template<bool IsParent>
std::size_t xrpl::detail::MultiRunnerBase< IsParent >::Inner::suites ( ) const

Definition at line 172 of file multi_runner.cpp.

◆ incKeepAliveCount()

template<bool IsParent>
void xrpl::detail::MultiRunnerBase< IsParent >::Inner::incKeepAliveCount ( )

Definition at line 180 of file multi_runner.cpp.

◆ getKeepAliveCount()

template<bool IsParent>
std::size_t xrpl::detail::MultiRunnerBase< IsParent >::Inner::getKeepAliveCount ( )

Definition at line 187 of file multi_runner.cpp.

◆ add()

template<bool IsParent>
void xrpl::detail::MultiRunnerBase< IsParent >::Inner::add ( Results const & r)

Definition at line 194 of file multi_runner.cpp.

◆ printResults()

template<bool IsParent>
template<class S>
void xrpl::detail::MultiRunnerBase< IsParent >::Inner::printResults ( S & s)

Definition at line 203 of file multi_runner.cpp.

Member Data Documentation

◆ jobIndex

template<bool IsParent>
std::atomic<std::size_t> xrpl::detail::MultiRunnerBase< IsParent >::Inner::jobIndex {0}

Definition at line 95 of file multi_runner.h.

◆ testIndex

template<bool IsParent>
std::atomic<std::size_t> xrpl::detail::MultiRunnerBase< IsParent >::Inner::testIndex {0}

Definition at line 96 of file multi_runner.h.

◆ anyFailedFlag

template<bool IsParent>
std::atomic<bool> xrpl::detail::MultiRunnerBase< IsParent >::Inner::anyFailedFlag {false}

Definition at line 97 of file multi_runner.h.

◆ keepAlive

template<bool IsParent>
std::atomic<std::size_t> xrpl::detail::MultiRunnerBase< IsParent >::Inner::keepAlive {0}

Definition at line 102 of file multi_runner.h.

◆ m

template<bool IsParent>
boost::interprocess::interprocess_mutex xrpl::detail::MultiRunnerBase< IsParent >::Inner::m
mutable

Definition at line 104 of file multi_runner.h.

◆ results

template<bool IsParent>
detail::Results xrpl::detail::MultiRunnerBase< IsParent >::Inner::results

Definition at line 105 of file multi_runner.h.