Abstract session telemetry base with a protected clock drawer. More...
#include <StormByte/telemetry.hxx>
Public Member Functions | |
| virtual | ~Telemetry () noexcept |
| Virtual destructor. | |
| virtual | operator CString () const =0 |
| Flatten counters into an owned StormByte CString. | |
| STORMBYTE_FORCE_INLINE | operator std::string () const |
| Flatten counters into a caller-owned standard string. | |
Protected Member Functions | |
| Telemetry () noexcept | |
| Construct an empty telemetry drawer. | |
| Telemetry (const Telemetry &)=delete | |
| Copy constructor is deleted. | |
| Telemetry (Telemetry &&other) noexcept | |
| Move constructor. | |
| Telemetry & | operator= (const Telemetry &)=delete |
| Copy assignment is deleted. | |
| Telemetry & | operator= (Telemetry &&other) noexcept |
| Move assignment. | |
| class Clock & | Clock (std::string_view name) noexcept |
| Access or create a named clock in the drawer. | |
| const class Clock & | Clock (std::string_view name) const noexcept |
| Read-only access to a named clock in the drawer. | |
Abstract session telemetry base with a protected clock drawer.
Modules derive and extend this class by adding their own domain counters or metrics. Time series and stopwatches are managed in a protected, named clock drawer.
|
virtualnoexcept |
Virtual destructor.
Defined out-of-line for DLL boundaries.
|
protectednoexcept |
Construct an empty telemetry drawer.
|
protecteddelete |
Copy constructor is deleted.
|
protectednoexcept |
Move constructor.
| other | Object to move from. |
|
protectednoexcept |
Read-only access to a named clock in the drawer.
| name | Clock name. |
|
protectednoexcept |
Access or create a named clock in the drawer.
| name | Unique clock name. |
|
pure virtual |
|
inline |
Flatten counters into a caller-owned standard string.
Copy assignment is deleted.
Move assignment.
| other | Object to move from. |