RMVL  1.4.0-dev
Robotic Manipulation and Vision Library
载入中...
搜索中...
未找到

定时器 更多...

#include <rmvl/core/timer.hpp>

rm::Timer 的协作图:

Public 成员函数

 Timer ()
 
 Timer (const Timer &)=delete
 
void operator= (const Timer &)=delete
 

静态 Public 成员函数

static void reset ()
 重置定时器
 
static double now ()
 返回从构造初期到现在经过的时间(单位:s)
 

详细描述

定时器

  • 在程序开始时调用 reset() 函数,之后调用 now() 函数即可返回从构造初期到现在经过的时间

构造及析构函数说明

◆ Timer() [1/2]

rm::Timer::Timer ( )
inline
函数调用图:

◆ Timer() [2/2]

rm::Timer::Timer ( const Timer & )
delete

成员函数说明

◆ now()

◆ operator=()

void rm::Timer::operator= ( const Timer & )
delete

◆ reset()

static void rm::Timer::reset ( )
inlinestatic

重置定时器


该类的文档由以下文件生成: