NASA Astrobee Robot Software  0.19.1
Flight software for the Astrobee robots operating inside the International Space Station.
localization_common::Timer Class Reference

#include <timer.h>

Public Member Functions

 Timer (const std::string &timer_name="")
 
void Start ()
 
void Stop ()
 
void Log () const
 
void LogToFile (std::ofstream &ofstream) const
 
void LogToCsv (std::ofstream &ofstream) const
 
void LogEveryN (const int num_events_per_log) const
 
void VlogEveryN (const int num_events_per_log, const int level) const
 
void StopAndLog ()
 
void StopAndLogEveryN (const int num_events_per_log)
 
void StopAndVlogEveryN (const int num_events_per_log, const int level)
 
void Vlog (const int level=2) const
 
double last_value () const
 

Constructor & Destructor Documentation

◆ Timer()

localization_common::Timer::Timer ( const std::string &  timer_name = "")
explicit

Member Function Documentation

◆ last_value()

double localization_common::Timer::last_value ( ) const

◆ Log()

void localization_common::Timer::Log ( ) const

◆ LogEveryN()

void localization_common::Timer::LogEveryN ( const int  num_events_per_log) const

◆ LogToCsv()

void localization_common::Timer::LogToCsv ( std::ofstream &  ofstream) const

◆ LogToFile()

void localization_common::Timer::LogToFile ( std::ofstream &  ofstream) const

◆ Start()

void localization_common::Timer::Start ( )

◆ Stop()

void localization_common::Timer::Stop ( )

◆ StopAndLog()

void localization_common::Timer::StopAndLog ( )

◆ StopAndLogEveryN()

void localization_common::Timer::StopAndLogEveryN ( const int  num_events_per_log)

◆ StopAndVlogEveryN()

void localization_common::Timer::StopAndVlogEveryN ( const int  num_events_per_log,
const int  level 
)

◆ Vlog()

void localization_common::Timer::Vlog ( const int  level = 2) const

◆ VlogEveryN()

void localization_common::Timer::VlogEveryN ( const int  num_events_per_log,
const int  level 
) const

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