scenario_simulator_v2 C++ API
Public Member Functions | Public Attributes | List of all members
traffic_simulator::helper::StopWatch< T > Class Template Reference

#include <stop_watch.hpp>

Public Member Functions

 StopWatch (const std::string &name, bool verbose=false, bool autostart=true)
 
void start ()
 
void stop ()
 
void print ()
 

Public Attributes

const std::string name
 
const bool verbose
 

Constructor & Destructor Documentation

◆ StopWatch()

template<typename T >
traffic_simulator::helper::StopWatch< T >::StopWatch ( const std::string &  name,
bool  verbose = false,
bool  autostart = true 
)
inlineexplicit

Member Function Documentation

◆ print()

template<typename T >
void traffic_simulator::helper::StopWatch< T >::print ( )
inline

◆ start()

template<typename T >
void traffic_simulator::helper::StopWatch< T >::start ( )
inline

◆ stop()

template<typename T >
void traffic_simulator::helper::StopWatch< T >::stop ( )
inline

Member Data Documentation

◆ name

template<typename T >
const std::string traffic_simulator::helper::StopWatch< T >::name

◆ verbose

template<typename T >
const bool traffic_simulator::helper::StopWatch< T >::verbose

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