Public Member Functions | Private Attributes
ScopedTimer Class Reference

#include <UWSimUtils.h>

List of all members.

Public Member Functions

 ScopedTimer (const std::string &description, std::ostream &output_stream=std::cout, bool endline_after_time=true)
 ~ScopedTimer ()

Private Attributes

bool _endline_after_time
std::ostream & _output_stream
osg::Timer_t _start

Detailed Description

Definition at line 109 of file UWSimUtils.h.


Constructor & Destructor Documentation

ScopedTimer::ScopedTimer ( const std::string &  description,
std::ostream &  output_stream = std::cout,
bool  endline_after_time = true 
) [inline]

Definition at line 112 of file UWSimUtils.h.

Definition at line 119 of file UWSimUtils.h.


Member Data Documentation

Definition at line 132 of file UWSimUtils.h.

std::ostream& ScopedTimer::_output_stream [private]

Definition at line 130 of file UWSimUtils.h.

osg::Timer_t ScopedTimer::_start [private]

Definition at line 131 of file UWSimUtils.h.


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


uwsim
Author(s): Mario Prats , Javier Perez
autogenerated on Fri Aug 28 2015 13:28:58