NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Public Member Functions | List of all members
niftk::SystemTimeServiceRAII Class Reference

RAII object to retrieve the system time via a SystemTimeServiceI implementation. More...

Inheritance diagram for niftk::SystemTimeServiceRAII:
Inheritance graph
[legend]
Collaboration diagram for niftk::SystemTimeServiceRAII:
Collaboration graph
[legend]

Public Member Functions

 SystemTimeServiceRAII ()
 Obtains service or throws mitk::Exception. More...
 
virtual ~SystemTimeServiceRAII ()
 Releases service. More...
 
virtual TimeType GetSystemTimeInNanoseconds () const override
 

Additional Inherited Members

- Public Types inherited from niftk::SystemTimeServiceI
typedef unsigned long long TimeType
 
- Protected Member Functions inherited from niftk::SystemTimeServiceI
 SystemTimeServiceI ()
 
virtual ~SystemTimeServiceI ()
 

Detailed Description

RAII object to retrieve the system time via a SystemTimeServiceI implementation.

Note: All errors should thrown as mitk::Exception or sub-classes thereof.

Constructor & Destructor Documentation

niftk::SystemTimeServiceRAII::SystemTimeServiceRAII ( )

Obtains service or throws mitk::Exception.

niftk::SystemTimeServiceRAII::~SystemTimeServiceRAII ( )
virtual

Releases service.

Member Function Documentation

SystemTimeServiceI::TimeType niftk::SystemTimeServiceRAII::GetSystemTimeInNanoseconds ( ) const
overridevirtual

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