CppBenchmark
1.0.4.0
C++ Benchmark Library
|
#include <launcher_handler.h>
Public Member Functions | |
LauncherHandler ()=default | |
LauncherHandler (const LauncherHandler &)=default | |
LauncherHandler (LauncherHandler &&) noexcept=default | |
virtual | ~LauncherHandler ()=default |
LauncherHandler & | operator= (const LauncherHandler &)=default |
LauncherHandler & | operator= (LauncherHandler &&) noexcept=default |
Protected Member Functions | |
virtual void | onLaunching (int current, int total, const BenchmarkBase &benchmark, const Context &context, int attempt) |
Handle benchmark launching notification. More... | |
virtual void | onLaunched (int current, int total, const BenchmarkBase &benchmark, const Context &context, int attempt) |
Handle benchmark launched notification. More... | |
Friends | |
class | Benchmark |
class | BenchmarkPC |
class | BenchmarkThreads |
Launcher handler.
Provides interface to handle progress notifications from benchmark launcher.
Definition at line 21 of file launcher_handler.h.
|
default |
|
default |
|
defaultnoexcept |
|
virtualdefault |
|
inlineprotectedvirtual |
Handle benchmark launched notification.
This method is called after launched the given benchmark.
current | - Current benchmark number |
total | - Total benchmarks |
benchmark | - Benchmark |
context | - Benchmark running context |
attempt | - Benchmark attempt |
Reimplemented in CppBenchmark::LauncherConsole.
Definition at line 58 of file launcher_handler.h.
|
inlineprotectedvirtual |
Handle benchmark launching notification.
This method is called before launching the given benchmark.
current | - Current benchmark number |
total | - Total benchmarks |
benchmark | - Benchmark |
context | - Benchmark running context |
attempt | - Benchmark attempt |
Reimplemented in CppBenchmark::LauncherConsole.
Definition at line 47 of file launcher_handler.h.
|
default |
|
defaultnoexcept |
|
friend |
Definition at line 23 of file launcher_handler.h.
|
friend |
Definition at line 24 of file launcher_handler.h.
|
friend |
Definition at line 25 of file launcher_handler.h.