gatb.core-API-1.4.2
TimeAbstract Class Reference

Abstract implementation of ITime interface. More...

#include <TimeCommon.hpp>

Inheritance diagram for TimeAbstract:
Inheritance graph

Public Member Functions

 TimeAbstract (Unit unit)
 
Unit getUnit ()
 
std::string getDateString ()
 
- Public Member Functions inherited from ITime
virtual Value getTimeStamp ()=0
 
virtual ~ITime ()
 

Additional Inherited Members

- Public Types inherited from ITime
typedef u_int64_t Value
 

Detailed Description

Abstract implementation of ITime interface.

This implementation provides a default getDateString method.

Constructor & Destructor Documentation

TimeAbstract ( Unit  unit)
inline

Constructor.

Parameters
[in]unit: unit used for this instance

Member Function Documentation

std::string getDateString ( )
inlinevirtual

Returns
the time unit used by getTimeStamp.

Implements ITime.

Unit getUnit ( )
inlinevirtual

Returns
the time unit used by getTimeStamp.

Implements ITime.


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