ADTF
adtf::base::flash Namespace Reference

Namespace for all functionality of the ADTF Base SDK provided since v3.5. More...

Namespaces

 detail
 Namespace for all internally used functionality implemented.
 

Classes

struct  tNanoSeconds
 A timestamp with nanosecond precision. More...
 
class  cConfiguration
 Implements all functionality required by ant::IConfiguration. More...
 
class  property_variable
 Property Variable template for the given T. More...
 
class  cErrorChecker
 Error checker implementation for easy use of the error handler elasto::IErrorHandling::IErrorHandler. More...
 
struct  cPropertyNanoSecondsConversion
 Conversion type used for property<tNanoSeconds> More...
 
struct  cPropertyStdStringConversion
 Conversion type used for adtf::base::ant::property<std::string> More...
 
class  runnable
 
class  IRunnable
 

Functions

bool operator< (const tNanoSeconds &tmA, const tNanoSeconds &tmB)
 
bool operator> (const tNanoSeconds &tmA, const tNanoSeconds &tmB)
 
bool operator<= (const tNanoSeconds &tmA, const tNanoSeconds &tmB)
 
bool operator>= (const tNanoSeconds &tmA, const tNanoSeconds &tmB)
 
bool operator== (const tNanoSeconds &tmA, const tNanoSeconds &tmB)
 
bool operator!= (const tNanoSeconds &tmA, const tNanoSeconds &tmB)
 
tNanoSeconds operator+ (const tNanoSeconds &tmA, const tNanoSeconds &tmB)
 
tNanoSeconds operator- (const tNanoSeconds &tmA, const tNanoSeconds &tmB)
 
tNanoSeconds operator* (const tNanoSeconds &tmDuration, const int64_t &nFactor)
 
tNanoSeconds operator* (const int64_t &nFactor, const tNanoSeconds &tmDuration)
 
tNanoSeconds operator/ (const tNanoSeconds &tmDuration, const int64_t &tmB)
 
int64_t operator/ (const tNanoSeconds &tmA, const tNanoSeconds &tmB)
 
template<typename DestinationTimeStamp , typename SourceTimeStamp >
DestinationTimeStamp duration_cast (const SourceTimeStamp &)
 Duration cast base template to converted between different time resolution. More...
 
template<>
tTimeStamp duration_cast (const tNanoSeconds &tmSource)
 
template<>
tNanoSeconds duration_cast (const tTimeStamp &tmSource)
 
template<>
tNanoSeconds duration_cast (const std::chrono::nanoseconds &tmSource)
 

Detailed Description

Namespace for all functionality of the ADTF Base SDK provided since v3.5.

Function Documentation

◆ duration_cast()

DestinationTimeStamp adtf::base::flash::duration_cast ( const SourceTimeStamp &  )

Duration cast base template to converted between different time resolution.

Template Parameters
DestinationTimeStampthe type to convert to
SourceTimeStampthe type to convert from

Definition at line 150 of file builds/digitalwerk/solutions/adtf_content/adtf_base/adtf_core/src/libraries/base/include/adtfbase/chrono.h.