bactria
0.0.1
The bactria library is a header-only C++14 library for profiling and tracing.
|
The context. More...
#include <Context.hpp>
Public Member Functions | |
Context ()=default | |
The constructor. More... | |
Context (Context const &other) noexcept=default | |
The copy constructor. More... | |
auto | operator= (Context const &rhs) noexcept -> Context &=default |
The copy assignment operator. More... | |
Context (Context &&other) noexcept | |
The move constructor. More... | |
auto | operator= (Context &&rhs) noexcept -> Context & |
The move assignment operator. More... | |
~Context () | |
The destructor. More... | |
The context.
The bactria context. As long as at least one instance of this object exists in the process the user can use bactria's functionality. However, frequent Context creations and destructions should be avoided as they might result in significant overhead.
|
default |
|
defaultnoexcept |
The copy constructor.
Copies a context. Internally, both Context objects will point to the same plugins.
[in] | other | The context to copy from. |
|
inlinenoexcept |
The move constructor.
Moves another context into this. The state of the original context is undefined afterwards, while this will maintain the original state.
[in,out] | other | The context to move into this. |
|
inline |
The move assignment operator.
Moves another context into this. The state of the original context is undefined afterwards, while this will maintain the original state.
[in,out] | rhs | The context to move into this. |
The copy assignment operator.
Copies a context. Internally, both Context objects will point to the same plugins.
[in] | rhs | The context to copy from. |