Gobelijn API documentation  - generated for commit a0cbea7
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros Pages
UA_CoMP::Timekeeper::Utils Struct Reference

Utilities to tag clocks and to reformat number of ticks to a string. More...

#include <Utils.h>

Collaboration diagram for UA_CoMP::Timekeeper::Utils:
Collaboration graph

Static Public Member Functions

static std::string ToColonString (std::chrono::seconds d)
 Procude string in hh:mm:ss format. More...
 
static std::string ToColonString (std::chrono::milliseconds d)
 Produce string in hh:mm:ss:mus format. More...
 
static std::string ToColonString (std::chrono::microseconds d)
 Produce string in hh:mm:ss:ms:mus format. More...
 
static std::string ToColonString (std::chrono::nanoseconds d)
 Produce string in hh:mm:ss:ms:mus:ns format. More...
 

Detailed Description

Utilities to tag clocks and to reformat number of ticks to a string.

Definition at line 33 of file Utils.h.

Member Function Documentation

static std::string UA_CoMP::Timekeeper::Utils::ToColonString ( std::chrono::seconds  d)
inlinestatic

Procude string in hh:mm:ss format.

Definition at line 36 of file Utils.h.

Referenced by UA_CoMP::Timekeeper::Stopwatch< T >::ToString().

Here is the caller graph for this function:

static std::string UA_CoMP::Timekeeper::Utils::ToColonString ( std::chrono::milliseconds  d)
inlinestatic

Produce string in hh:mm:ss:mus format.

Definition at line 52 of file Utils.h.

static std::string UA_CoMP::Timekeeper::Utils::ToColonString ( std::chrono::microseconds  d)
inlinestatic

Produce string in hh:mm:ss:ms:mus format.

Definition at line 69 of file Utils.h.

static std::string UA_CoMP::Timekeeper::Utils::ToColonString ( std::chrono::nanoseconds  d)
inlinestatic

Produce string in hh:mm:ss:ms:mus:ns format.

Definition at line 87 of file Utils.h.


The documentation for this struct was generated from the following file: