hpp-fcl: hpp::fcl::tools::Profiler::ScopedStart Class Reference

hpp-fcl 1.6.0 HPP fork of FCL -- The Flexible Collision Library

Public Member Functions | List of all members
hpp::fcl::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 <hpp/fcl/profile.h>`

## Public Member Functions
| ScopedStart (Profiler &prof=Profiler::Instance())
| Take as argument the profiler instance to operate on (prof) More...
| ~ScopedStart (void)

## 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.

## Constructor & Destructor Documentation

## ◆ ScopedStart()

hpp::fcl::tools::Profiler::ScopedStart::ScopedStart | ( | Profiler & | prof = `Profiler::Instance()` | ) |
| inline

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

## ◆ ~ScopedStart()

hpp::fcl::tools::Profiler::ScopedStart::~ScopedStart | ( | void |  | ) |
| inline

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

- include/hpp/fcl/profile.h