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_tjobIndex {0}
std::atomic< std::size_ttestIndex {0}
std::atomic< bool > anyFailedFlag {false}
std::atomic< std::size_tkeepAlive {0}
boost::interprocess::interprocess_mutex m
detail::Results results

Detailed Description

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

Definition at line 88 of file multi_runner.h.

Member Function Documentation

◆ checkoutJobIndex()

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

Definition at line 138 of file multi_runner.cpp.

◆ checkoutTestIndex()

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

Definition at line 145 of file multi_runner.cpp.

◆ anyFailed() [1/2]

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

Definition at line 152 of file multi_runner.cpp.

◆ anyFailed() [2/2]

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

Definition at line 159 of file multi_runner.cpp.

◆ tests()

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

Definition at line 166 of file multi_runner.cpp.

◆ suites()

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

Definition at line 174 of file multi_runner.cpp.

◆ incKeepAliveCount()

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

Definition at line 182 of file multi_runner.cpp.

◆ getKeepAliveCount()

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

Definition at line 189 of file multi_runner.cpp.

◆ add()

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

Definition at line 196 of file multi_runner.cpp.

◆ printResults()

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

Definition at line 205 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 90 of file multi_runner.h.

◆ testIndex

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

Definition at line 91 of file multi_runner.h.

◆ anyFailedFlag

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

Definition at line 92 of file multi_runner.h.

◆ keepAlive

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

Definition at line 97 of file multi_runner.h.

◆ m

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

Definition at line 99 of file multi_runner.h.

◆ results

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

Definition at line 100 of file multi_runner.h.