LogCabin
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
LogCabin::Core::Time::MockableClock< _BaseClock >::Mocker Struct Reference

RAII class to mock out the clock and then restore it. More...

#include <Time.h>

List of all members.

Public Member Functions

 Mocker (time_point value=now())
 ~Mocker ()

Detailed Description

template<typename _BaseClock>
struct LogCabin::Core::Time::MockableClock< _BaseClock >::Mocker

RAII class to mock out the clock and then restore it.

Definition at line 132 of file Time.h.


Constructor & Destructor Documentation

template<typename _BaseClock >
LogCabin::Core::Time::MockableClock< _BaseClock >::Mocker::Mocker ( time_point  value = now()) [inline, explicit]

Definition at line 133 of file Time.h.

template<typename _BaseClock >
LogCabin::Core::Time::MockableClock< _BaseClock >::Mocker::~Mocker ( ) [inline]

Definition at line 138 of file Time.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines