FlightGear next
TimerObj Class Reference

Inherits SGReferenced.

Public Member Functions

 TimerObj (Context *c, FGNasalSys *sys, naRef f, naRef self, double interval)
 
virtual ~TimerObj ()
 
bool isRunning () const
 
void stop ()
 
bool isSimTime () const
 
void setSimTime (bool value)
 
void start ()
 
void restart (double newInterval)
 
void invoke ()
 
void setSingleShot (bool aSingleShot)
 
bool isSingleShot () const
 
const std::string & name () const
 

Detailed Description

Definition at line 124 of file NasalSys.cxx.

Constructor & Destructor Documentation

◆ TimerObj()

TimerObj::TimerObj ( Context * c,
FGNasalSys * sys,
naRef f,
naRef self,
double interval )
inline

Definition at line 127 of file NasalSys.cxx.

◆ ~TimerObj()

virtual TimerObj::~TimerObj ( )
inlinevirtual

Definition at line 146 of file NasalSys.cxx.

Member Function Documentation

◆ invoke()

void TimerObj::invoke ( )
inline

Definition at line 200 of file NasalSys.cxx.

◆ isRunning()

bool TimerObj::isRunning ( ) const
inline

Definition at line 154 of file NasalSys.cxx.

◆ isSimTime()

bool TimerObj::isSimTime ( ) const
inline

Definition at line 164 of file NasalSys.cxx.

◆ isSingleShot()

bool TimerObj::isSingleShot ( ) const
inline

Definition at line 217 of file NasalSys.cxx.

◆ name()

const std::string & TimerObj::name ( ) const
inline

Definition at line 220 of file NasalSys.cxx.

◆ restart()

void TimerObj::restart ( double newInterval)
inline

Definition at line 193 of file NasalSys.cxx.

◆ setSimTime()

void TimerObj::setSimTime ( bool value)
inline

Definition at line 166 of file NasalSys.cxx.

◆ setSingleShot()

void TimerObj::setSingleShot ( bool aSingleShot)
inline

Definition at line 212 of file NasalSys.cxx.

◆ start()

void TimerObj::start ( )
inline

Definition at line 176 of file NasalSys.cxx.

◆ stop()

void TimerObj::stop ( )
inline

Definition at line 156 of file NasalSys.cxx.


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