DUDS
Distributed Update of Data from Something
Interstellar.hpp File Reference
#include <chrono>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <duds/data/Int128.hpp>
Include dependency graph for Interstellar.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  duds::time::interstellar::FemtoClock
 Provides Interstellar Time in Femtoseconds. More...
 
struct  duds::time::interstellar::MilliClock
 Provides Interstellar Time in Milliseconds. More...
 
struct  duds::time::interstellar::NanoClock
 Provides Interstellar Time in Nanoseconds. More...
 
struct  duds::time::interstellar::SecondClock
 Provides Interstellar Time in seconds. More...
 
class  duds::time::interstellar::TimePoint< Clock, Duration >
 An extention to the C++ std::chrono::time_point template to make time points easier to work with. More...
 

Namespaces

 duds
 
 duds::time
 Items that deal with time, a surprisingly difficult and annoying subject.
 
 duds::time::interstellar
 A first take at implementing an early definition of Interstellar Time.
 

Typedefs

typedef std::chrono::duration< int128_t, std::femto > duds::time::interstellar::Femtoseconds
 Stores a duration in femtoseconds. More...
 
typedef FemtoClock::time_point duds::time::interstellar::FemtoTime
 A point in time in Interstellar Time stored in Femtoseconds. More...
 
typedef std::chrono::duration< std::int64_t, std::milli > duds::time::interstellar::Milliseconds
 Stores a duration in milliseconds. More...
 
typedef MilliClock::time_point duds::time::interstellar::MilliTime
 A point in time in Interstellar Time stored in Milliseconds. More...
 
typedef std::chrono::duration< std::uint64_t, std::nano > duds::time::interstellar::Nanoseconds
 Stores a duration in nanoseconds. More...
 
typedef NanoClock::time_point duds::time::interstellar::NanoTime
 A point in time in Interstellar Time stored in Nanoseconds. More...
 
typedef std::chrono::duration< std::int64_t > duds::time::interstellar::Seconds
 Stores a duration in seconds. More...
 
typedef SecondClock::time_point duds::time::interstellar::SecondTime
 A point in time in Interstellar Time stored in Seconds. More...
 

Functions

template<class ISTime >
boost::posix_time::ptime duds::time::interstellar::EarthTimeTAI (const ISTime &t)
 

Variables

const int128_t duds::time::interstellar::OneE12
 1e12 in a 128-bit integer. More...
 
const int128_t duds::time::interstellar::OneE15
 1e15 in a 128-bit integer. More...
 
const int128_t duds::time::interstellar::OneE6
 1e6 in a 128-bit integer. More...