| 
    LogCabin
   
    
   
   | 
  
  
  
 
Reads the current time. More...
#include <Time.h>
Classes | |
| struct | Mocker | 
| RAII class to mock out the clock and then restore it.  More... | |
Public Types | |
| typedef _BaseClock | BaseClock | 
| typedef BaseClock::duration | duration | 
| typedef BaseClock::rep | rep | 
| typedef BaseClock::period | period | 
| typedef BaseClock::time_point | time_point | 
Static Public Member Functions | |
| static time_point | now () | 
Static Public Attributes | |
| static const bool | is_steady | 
| static bool | useMockValue | 
| static time_point | mockValue | 
Reads the current time.
This time may not correspond to wall time, depending on the underlying BaseClock. This class gives unit tests a way to fake the current time.
| typedef _BaseClock LogCabin::Core::Time::MockableClock< _BaseClock >::BaseClock | 
| typedef BaseClock::duration LogCabin::Core::Time::MockableClock< _BaseClock >::duration | 
| typedef BaseClock::rep LogCabin::Core::Time::MockableClock< _BaseClock >::rep | 
| typedef BaseClock::period LogCabin::Core::Time::MockableClock< _BaseClock >::period | 
| typedef BaseClock::time_point LogCabin::Core::Time::MockableClock< _BaseClock >::time_point | 
| static time_point LogCabin::Core::Time::MockableClock< _BaseClock >::now | ( | ) |  [inline, static] | 
        
const bool LogCabin::Core::Time::MockableClock< _BaseClock >::is_steady [static] | 
        
bool LogCabin::Core::Time::MockableClock< BaseClock >::useMockValue [static] | 
        
MockableClock< BaseClock >::time_point LogCabin::Core::Time::MockableClock< BaseClock >::mockValue [static] | 
        
 1.7.6.1