OKVIS ROS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
okvis::timing::Timer Class Reference

#include <Timer.hpp>

Public Member Functions

 Timer (size_t handle, bool constructStopped=false)
 
 Timer (std::string const &tag, bool constructStopped=false)
 
 ~Timer ()
 
void start ()
 
void stop ()
 
bool isTiming ()
 
void discardTiming ()
 

Private Attributes

boost::posix_time::ptime m_time
 
bool m_timing
 
size_t m_handle
 

Constructor & Destructor Documentation

okvis::timing::Timer::Timer ( size_t  handle,
bool  constructStopped = false 
)
okvis::timing::Timer::Timer ( std::string const &  tag,
bool  constructStopped = false 
)
okvis::timing::Timer::~Timer ( )

Member Function Documentation

void okvis::timing::Timer::discardTiming ( )
bool okvis::timing::Timer::isTiming ( )
void okvis::timing::Timer::start ( )
void okvis::timing::Timer::stop ( )

Member Data Documentation

size_t okvis::timing::Timer::m_handle
private
boost::posix_time::ptime okvis::timing::Timer::m_time
private
bool okvis::timing::Timer::m_timing
private

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