nn::nex::UpdatableTimeProvider Class

Syntax

class UpdatableTimeProvider : public nn::nex::TimeProvider

Description

Time provider that returns the cached time value.

The cached time value is updated at fixed intervals by a special internal thread.

You need to register an UpdatableTimeProvider object with SystemClock::RegisterTimeProvider.

Member Constants

S DEFAULT_THREAD_STACK_SIZE The default stack size for the update thread.
S DEFAULT_SLEEP_TIME The default sleep time (in msec) for the update thread.

Member Functions

UpdatableTimeProvider Constructor.
V ~UpdatableTimeProvider Destructor.
V GetTime Returns the cached time value.
Stop Stops the cache update thread.

Class Hierarchy

nn::nex::RootObject
  nn::nex::TimeProvider
    nn::nex::UpdatableTimeProvider

See Also

SystemClock::RegisterTimeProvider

Revision History

2011/10/20
Initial version.

CONFIDENTIAL