YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
yarp::manager::ClockStart Class Reference

Singleton class For storing execution start time. More...

#include <yarp/manager/utility.h>

Public Member Functions

 ClockStart (const ClockStart &)=delete
 
ClockStartoperator= (const ClockStart &)=delete
 
std::string getStartTime () const
 Get the starting time as a string in HH:MM:SS format.
 
void setStartTime (std::string startTimeStr)
 Set the starting time from a string in HH:MM:SS format.
 

Static Public Member Functions

static ClockStartgetInstance ()
 

Detailed Description

Singleton class For storing execution start time.

Definition at line 86 of file utility.h.

Constructor & Destructor Documentation

◆ ClockStart()

yarp::manager::ClockStart::ClockStart ( const ClockStart )
delete

Member Function Documentation

◆ getInstance()

static ClockStart & yarp::manager::ClockStart::getInstance ( )
inlinestatic

Definition at line 88 of file utility.h.

◆ getStartTime()

std::string yarp::manager::ClockStart::getStartTime ( ) const
inline

Get the starting time as a string in HH:MM:SS format.

Returns
the starting time as a string

Definition at line 100 of file utility.h.

◆ operator=()

ClockStart & yarp::manager::ClockStart::operator= ( const ClockStart )
delete

◆ setStartTime()

void yarp::manager::ClockStart::setStartTime ( std::string  startTimeStr)
inline

Set the starting time from a string in HH:MM:SS format.

Parameters
startTimeStrthe starting time as a string

Definition at line 110 of file utility.h.


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