FlightGear next
Clock Class Reference

Model a clock. More...

#include <clock.hxx>

Inherits SGSubsystem.

Public Member Functions

 Clock (SGPropertyNode *node)
 
virtual ~Clock ()
 
void init () override
 
void update (double dt) override
 

Static Public Member Functions

static const char * staticSubsystemClassId ()
 

Detailed Description

Model a clock.

Input properties:

/instrumentation/clock/serviceable /instrumentation/clock/offset-sec

Output properties:

/instrumentation/clock/indicated-sec /instrumentation/clock/indicated-string

Definition at line 31 of file clock.hxx.

Constructor & Destructor Documentation

◆ Clock()

Clock::Clock ( SGPropertyNode * node)

Definition at line 20 of file clock.cxx.

◆ ~Clock()

Clock::~Clock ( )
virtual

Definition at line 35 of file clock.cxx.

Member Function Documentation

◆ init()

void Clock::init ( )
override

Definition at line 40 of file clock.cxx.

◆ staticSubsystemClassId()

static const char * Clock::staticSubsystemClassId ( )
inlinestatic

Definition at line 42 of file clock.hxx.

◆ update()

void Clock::update ( double dt)
override

Definition at line 58 of file clock.cxx.


The documentation for this class was generated from the following files: