Public Member Functions | Private Attributes
moveit::tools::Profiler::ScopedStart Class Reference

This instance will call Profiler::start() when constructed and Profiler::stop() when it goes out of scope. If the profiler was already started, this block's constructor and destructor take no action. More...

#include <profiler.h>

List of all members.

Public Member Functions

 ScopedStart (Profiler &prof=Profiler::Instance())
 Take as argument the profiler instance to operate on (prof)
 ~ScopedStart (void)

Private Attributes

Profilerprof_
bool wasRunning_

Detailed Description

This instance will call Profiler::start() when constructed and Profiler::stop() when it goes out of scope. If the profiler was already started, this block's constructor and destructor take no action.

Definition at line 102 of file profiler.h.


Constructor & Destructor Documentation

Take as argument the profiler instance to operate on (prof)

Definition at line 107 of file profiler.h.

Definition at line 113 of file profiler.h.


Member Data Documentation

Definition at line 121 of file profiler.h.

Definition at line 122 of file profiler.h.


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


moveit_core
Author(s): Ioan Sucan , Sachin Chitta , Acorn Pooley
autogenerated on Thu Aug 27 2015 13:58:54