Public Member Functions | Private Attributes

control::Replay Class Reference

Replay animation of a Aircraft. More...

#include <_src_control_replay.hh>

List of all members.

Public Member Functions

 Replay (shptr< Aircraft > aircraft, const Milliseconds freq, const Command::ExecuteMode commandExecuteMode)
 ~Replay ()
bool Record (void)
bool Play (void)
void Stop (void)
bool IfPlaying (void) const
bool Save (const string &filename)
bool Load (const string &filename)

Private Attributes

shptr< AircraftmAircraft
shptr< ReplayRecordermRecorder
shptr< ReplayPlayermPlayer

Detailed Description

Replay animation of a Aircraft.

Implementation (see module.txt): Replay is an interface class composed of player and recorder objects.


Constructor & Destructor Documentation

control::Replay::Replay ( shptr< Aircraft aircraft,
const Milliseconds  freq,
const Command::ExecuteMode  commandExecuteMode 
)
control::Replay::~Replay (  ) 

Member Function Documentation

bool control::Replay::IfPlaying ( void   )  const
Returns:
True if replay is executing.
bool control::Replay::Load ( const string &  filename  ) 

Load replay data from a file. THROWS EXCEPTION.

bool control::Replay::Play ( void   ) 

Do a replay.

bool control::Replay::Record ( void   ) 

Start recording replay data.

bool control::Replay::Save ( const string &  filename  ) 

Save replay data to a file. THROWS EXCEPTION.

void control::Replay::Stop ( void   ) 

Stop playing or recording.


Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Palomino Flight Simulator documents generated by doxygen 1.7.1 on Tue May 15 2012 22:40:11