|
STIR
6.3.0
|
Base class for specifying a time interval (in absolute time) More...
#include "stir_experimental/AbsTimeInterval.h"

Public Member Functions | |
| AbsTimeInterval (double start_time_in_secs_since_1970, double end_time_in_secs_since_1970) | |
| double | get_start_time_in_secs_since_1970 () const |
| double | get_end_time_in_secs_since_1970 () const |
| double | get_duration_in_secs () const |
Public Member Functions inherited from stir::RegisteredObjectBase | |
| virtual std::string | get_registered_name () const =0 |
| Returns the name of the type of the object. More... | |
Public Member Functions inherited from stir::ParsingObject | |
| ParsingObject (const ParsingObject &) | |
| ParsingObject & | operator= (const ParsingObject &) |
| void | ask_parameters () |
| virtual std::string | parameter_info () |
| bool | parse (std::istream &f) |
| bool | parse (const char *const filename) |
Protected Attributes | |
| double | _start_time_in_secs_since_1970 |
| double | _end_time_in_secs_since_1970 |
Protected Attributes inherited from stir::ParsingObject | |
| KeyParser | parser |
Additional Inherited Members | |
Static Public Member Functions inherited from stir::RegisteredObject< AbsTimeInterval > | |
| static AbsTimeInterval * | read_registered_object (std::istream *in, const std::string ®istered_name) |
| Construct a new object (of a type derived from Root, its actual type determined by the registered_name parameter) by parsing the istream. More... | |
| static AbsTimeInterval * | ask_type_and_parameters () |
| ask the user for the type, and then calls read_registered_object(0, type) More... | |
| static void | list_registered_names (std::ostream &stream) |
| List all possible registered names to the stream. More... | |
Protected Types inherited from stir::RegisteredObject< AbsTimeInterval > | |
| typedef AbsTimeInterval *(* | RootFactory) (std::istream *) |
| The type of a root factory is a function, taking an istream* as argument, and returning a Root*. | |
| typedef FactoryRegistry< std::string, RootFactory, interfile_less > | RegistryType |
| The type of the registry. | |
Protected Member Functions inherited from stir::ParsingObject | |
| virtual void | set_defaults () |
| Set defaults before parsing. | |
| virtual void | initialise_keymap () |
| Initialise all keywords. | |
| virtual bool | post_processing () |
| This will be called at the end of the parsing. More... | |
| virtual void | set_key_values () |
| This will be called before parsing or parameter_info is called. More... | |
Static Protected Member Functions inherited from stir::RegisteredObject< AbsTimeInterval > | |
| static RegistryType & | registry () |
| Static function returning the registry. More... | |
Base class for specifying a time interval (in absolute time)
Absolute time means at present 'secs since midnight 1/1/1970 UTC'
1.8.13