#include <libastrog_p_testtimer.h>
Inheritance diagram for astrog::PipelineTestTimer:
This pipeline tests the functionality of the Timer core class.
Definition at line 39 of file libastrog_p_testtimer.h.
Public Member Functions | |
PipelineTestTimer () | |
Constructor for the Timer test pipeline. | |
~PipelineTestTimer () | |
Deconstructor for the Timer test pipeline. | |
int | execute () |
Execution function for the Timer test pipeline. | |
Private Attributes | |
Timer * | timer |
Timer object. |
|
Constructor for the Timer test pipeline.
Definition at line 33 of file p_testtimer.cpp. References timer. 00034 { 00035 timer = new Timer(); 00036 }
|
|
Deconstructor for the Timer test pipeline.
Definition at line 38 of file p_testtimer.cpp. References timer. 00039 { 00040 delete timer; 00041 }
|
|
Execution function for the Timer test pipeline.
Definition at line 43 of file p_testtimer.cpp. References astrog::Timer::get_time(), astrog::Timer::start(), astrog::Timer::stop(), and timer. 00044 { 00045 int err = 0; 00046 timer->start(); 00047 sleep(5); 00048 timer->stop(); 00049 std::cout << timer->get_time() << std::endl; 00050 return err; 00051 }
|
|
Timer object.
Definition at line 49 of file libastrog_p_testtimer.h. Referenced by execute(), PipelineTestTimer(), and ~PipelineTestTimer(). |