8 #ifndef __stir_AbsTimeInterval__H__ 9 #define __stir_AbsTimeInterval__H__ 37 : _start_time_in_secs_since_1970(0),
38 _end_time_in_secs_since_1970(0)
40 AbsTimeInterval(
double start_time_in_secs_since_1970,
double end_time_in_secs_since_1970)
41 : _start_time_in_secs_since_1970(start_time_in_secs_since_1970),
42 _end_time_in_secs_since_1970(end_time_in_secs_since_1970)
45 double get_start_time_in_secs_since_1970()
const {
return _start_time_in_secs_since_1970; }
46 double get_end_time_in_secs_since_1970()
const {
return _end_time_in_secs_since_1970; }
47 double get_duration_in_secs()
const {
return _end_time_in_secs_since_1970 - _start_time_in_secs_since_1970; }
50 double _start_time_in_secs_since_1970;
51 double _end_time_in_secs_since_1970;
Declaration of class stir::ParsingObject.
Base class for specifying a time interval (in absolute time)
Definition: AbsTimeInterval.h:31
Declaration of class stiir::RegisteredObject.
Helper class to provide registry mechanisms to a Base classSuppose you have a hierarchy of classes wi...
Definition: RegisteredObject.h:95