OpenDaVINCI  4.15.3
odcontext::base::ControlledTimeFactory Class Reference

#include <ControlledTimeFactory.h>

Inheritance diagram for odcontext::base::ControlledTimeFactory:
Inheritance graph

Public Member Functions

 ControlledTimeFactory ()
 
virtual ~ControlledTimeFactory ()
 
virtual std::shared_ptr
< odcore::wrapper::Time
now ()
 
void setTime (const ControlledTime &ct)
 

Static Public Member Functions

static TimeFactorygetInstance ()
 

Static Protected Member Functions

static void setSingleton (TimeFactory *tf)
 

Static Protected Attributes

static TimeFactoryinstance = NULL
 
static TimeFactorycontrolledInstance = NULL
 

Detailed Description

This class provides controlled time factory.

Constructor & Destructor Documentation

odcontext::base::ControlledTimeFactory::ControlledTimeFactory ( )
odcontext::base::ControlledTimeFactory::~ControlledTimeFactory ( )
virtual

Member Function Documentation

std::shared_ptr< odcore::wrapper::Time > odcontext::base::ControlledTimeFactory::now ( )
virtual

Reimplemented from odcore::wrapper::TimeFactory.

void odcore::wrapper::TimeFactory::setSingleton ( TimeFactory tf)
staticprotectedinherited

Member Data Documentation

TimeFactory * odcore::wrapper::TimeFactory::controlledInstance = NULL
staticprotectedinherited
TimeFactory * odcore::wrapper::TimeFactory::instance = NULL
staticprotectedinherited