Pi-XPlane-FMC-CDU
Public Member Functions | List of all members
XfmcFMC Class Reference
Inheritance diagram for XfmcFMC:
AbstractFMC

Public Member Functions

virtual std::string getName ()
 returns name of FMC plugin. More...
 
virtual void init ()
 
virtual void deInit ()
 de-initialize the fmc. More...
 
virtual void receiveDataRef (std::string type, std::string dataref, std::string value)
 called when we receive a float dataref from the server. More...
 
virtual void keyPressEvent (int row, int col)
 
virtual void keyReleaseEvent (int row, int col)
 
- Public Member Functions inherited from AbstractFMC
virtual void subscribeDataRefs ()
 subscribe to datarefs More...
 

Member Function Documentation

§ deInit()

void XfmcFMC::deInit ( )
virtual

de-initialize the fmc.

This gets called whenever an FMC is to be removed from the "current" screen. Triggered from setCurrentFMC().

Implements AbstractFMC.

§ getName()

virtual std::string XfmcFMC::getName ( )
inlinevirtual

returns name of FMC plugin.

For "actual" FMCs, the name should be 4 characters, as it needs to fit on the RSKs on the Select screen. This name is also used as the index into FMCManager's actualFMCs map, to get to the actual FMC instances.

Implements AbstractFMC.

§ receiveDataRef()

void XfmcFMC::receiveDataRef ( std::string  type,
std::string  dataref,
std::string  value 
)
virtual

called when we receive a float dataref from the server.

Reimplemented from AbstractFMC.


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