bactria
0.0.1
The bactria library is a header-only C++14 library for profiling and tracing.
|
Go to the documentation of this file.
129 auto get_name() const noexcept -> std::
string const&
177 std::string
m_name{
"BACTRIA_GENERIC_MARKER"};
constexpr auto orange
Definition: Colors.hpp:997
Marker(std::string name, std::uint32_t color, Category category)
Constructor.
Definition: Marker.hpp:70
auto get_category() const noexcept -> Category const &
Return the marker's category.
Definition: Marker.hpp:165
std::string m_name
The name assigned to the Marker.
Definition: Marker.hpp:177
The abstract base class for markers.
Definition: Marker.hpp:50
std::uint32_t m_color
The color assigned to the Marker.
Definition: Marker.hpp:185
auto get_c_name() const noexcept -> char const *
Return the marker's name (C string).
Definition: Marker.hpp:141
Defines a category.
Definition: Category.hpp:39
auto get_color() const noexcept -> std::uint32_t
Return the marker's color.
Definition: Marker.hpp:153
Category m_category
The Category assigned to the Marker.
Definition: Marker.hpp:193
virtual ~Marker()=default
Destroy the Marker object.
auto operator=(Marker const &rhs) -> Marker &=default
Copy-assignment operator.
Marker()=default
Default constructor.
auto get_name() const noexcept -> std::string const &
Return the marker's name.
Definition: Marker.hpp:129