rippled
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ripple::detail::multi_runner_base< IsParent >::inner Struct Reference
Collaboration diagram for ripple::detail::multi_runner_base< IsParent >::inner:
Collaboration graph
[legend]

Public Member Functions

std::size_t checkout_job_index ()
 
std::size_t checkout_test_index ()
 
bool any_failed () const
 
void any_failed (bool v)
 
std::size_t tests () const
 
std::size_t suites () const
 
void inc_keep_alive_count ()
 
std::size_t get_keep_alive_count ()
 
void add (results const &r)
 
template<class S >
void print_results (S &s)
 

Public Attributes

std::atomic< std::size_tjob_index_ {0}
 
std::atomic< std::size_ttest_index_ {0}
 
std::atomic< bool > any_failed_ {false}
 
std::atomic< std::size_tkeep_alive_ {0}
 
boost::interprocess::interprocess_mutex m_
 
detail::results results_
 

Detailed Description

template<bool IsParent>
struct ripple::detail::multi_runner_base< IsParent >::inner

Definition at line 89 of file multi_runner.h.

Member Function Documentation

◆ checkout_job_index()

template<bool IsParent>
std::size_t ripple::detail::multi_runner_base< IsParent >::inner::checkout_job_index ( )

Definition at line 137 of file multi_runner.cpp.

◆ checkout_test_index()

template<bool IsParent>
std::size_t ripple::detail::multi_runner_base< IsParent >::inner::checkout_test_index ( )

Definition at line 144 of file multi_runner.cpp.

◆ any_failed() [1/2]

template<bool IsParent>
bool ripple::detail::multi_runner_base< IsParent >::inner::any_failed ( ) const

Definition at line 151 of file multi_runner.cpp.

◆ any_failed() [2/2]

template<bool IsParent>
void ripple::detail::multi_runner_base< IsParent >::inner::any_failed ( bool  v)

Definition at line 158 of file multi_runner.cpp.

◆ tests()

template<bool IsParent>
std::size_t ripple::detail::multi_runner_base< IsParent >::inner::tests ( ) const

Definition at line 165 of file multi_runner.cpp.

◆ suites()

template<bool IsParent>
std::size_t ripple::detail::multi_runner_base< IsParent >::inner::suites ( ) const

Definition at line 173 of file multi_runner.cpp.

◆ inc_keep_alive_count()

template<bool IsParent>
void ripple::detail::multi_runner_base< IsParent >::inner::inc_keep_alive_count ( )

Definition at line 181 of file multi_runner.cpp.

◆ get_keep_alive_count()

template<bool IsParent>
std::size_t ripple::detail::multi_runner_base< IsParent >::inner::get_keep_alive_count ( )

Definition at line 188 of file multi_runner.cpp.

◆ add()

template<bool IsParent>
void ripple::detail::multi_runner_base< IsParent >::inner::add ( results const &  r)

Definition at line 195 of file multi_runner.cpp.

◆ print_results()

template<bool IsParent>
template<class S >
void ripple::detail::multi_runner_base< IsParent >::inner::print_results ( S &  s)

Definition at line 204 of file multi_runner.cpp.

Member Data Documentation

◆ job_index_

template<bool IsParent>
std::atomic<std::size_t> ripple::detail::multi_runner_base< IsParent >::inner::job_index_ {0}

Definition at line 91 of file multi_runner.h.

◆ test_index_

template<bool IsParent>
std::atomic<std::size_t> ripple::detail::multi_runner_base< IsParent >::inner::test_index_ {0}

Definition at line 92 of file multi_runner.h.

◆ any_failed_

template<bool IsParent>
std::atomic<bool> ripple::detail::multi_runner_base< IsParent >::inner::any_failed_ {false}

Definition at line 93 of file multi_runner.h.

◆ keep_alive_

template<bool IsParent>
std::atomic<std::size_t> ripple::detail::multi_runner_base< IsParent >::inner::keep_alive_ {0}

Definition at line 98 of file multi_runner.h.

◆ m_

template<bool IsParent>
boost::interprocess::interprocess_mutex ripple::detail::multi_runner_base< IsParent >::inner::m_
mutable

Definition at line 100 of file multi_runner.h.

◆ results_

template<bool IsParent>
detail::results ripple::detail::multi_runner_base< IsParent >::inner::results_

Definition at line 101 of file multi_runner.h.