Base class for tools that are using multiple threads.
More...
#include <parallel_tool.h>
|
| parallel_tool (const std::string &name, const std::string &author, const std::string &what_is, const std::string &tool_description, std::string known_issues="") |
| Constructor.
|
|
std::size_t | number_of_threads () const |
| Returns the number of threads in this tool.
|
|
|
void | add_options (utilities::interface_description &desc) |
| Add the –threads option to an interface description.
|
|
void | parse_options (const utilities::command_line_parser &parser) |
| Parse non-standard options.
|
|
template<typename Tool>
class mcrl2::utilities::tools::parallel_tool< Tool >
Base class for tools that are using multiple threads.
Definition at line 29 of file parallel_tool.h.
◆ parallel_tool()
template<typename Tool >
mcrl2::utilities::tools::parallel_tool< Tool >::parallel_tool |
( |
const std::string & |
name, |
|
|
const std::string & |
author, |
|
|
const std::string & |
what_is, |
|
|
const std::string & |
tool_description, |
|
|
std::string |
known_issues = "" |
|
) |
| |
|
inline |
◆ add_options()
Add the –threads option to an interface description.
- Parameters
-
desc | An interface description |
Definition at line 37 of file parallel_tool.h.
◆ number_of_threads()
Returns the number of threads in this tool.
- Returns
- The number of threads.
Definition at line 87 of file parallel_tool.h.
◆ parse_options()
Parse non-standard options.
- Parameters
-
parser | A command line parser |
Definition at line 53 of file parallel_tool.h.
◆ m_number_of_threads
The number of threads in the parallel tool.
Definition at line 33 of file parallel_tool.h.
The documentation for this class was generated from the following file: