VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Protected Attributes
makVrv::DtTaxiwaySignLetter Class Reference

Public Types

enum  ForegroundColor { FG_NONE, FG_BLACK, FG_WHITE, FG_YELLOW }
enum  BackgroundColor { BG_NONE, BG_YELLOW, BG_RED, BG_BLACK }
enum  Side { SIDE_NONE, SIDE_FRONT, SIDE_BACK }
enum  Frame {
  FRAME_NONE, FRAME_BEGIN, FRAME_MIDDLE, FRAME_END,
  FRAME_CHAR
}
enum  Special { SPECIAL_NONE, SPECIAL_CRITICAL, SPECIAL_SAFETY, SPECIAL_HAZARD }

Public Member Functions

 DtTaxiwaySignLetter ()
 DtTaxiwaySignLetter (ForegroundColor fgC, BackgroundColor bgC, Side side, Frame frame, Special special, std::string text)
virtual ~DtTaxiwaySignLetter ()
virtual std::string foregroundAsString ()
 Get the foreground enum as a string (FG_YELLOW -> "Yellow") If you change this, update the taxiway sign dxtc file.
virtual std::string backgroundAsString ()
 Get the background enum as a string (BG_YELLOW -> "Yellow") If you change this, update the taxiway sign dxtc file.
virtual std::string specialAsString ()
 Get the special enum for this character as a string (ex.
Get and set the foreground color of a taxiway sign character
virtual ForegroundColor foreground ()
virtual void setForeground (ForegroundColor fgC)
Get and set the background color of a taxiway sign character
virtual BackgroundColor backround ()
virtual void setBackground (BackgroundColor bgC)
Get and set which side (front/back) the character appears
virtual Side side ()
virtual void setSide (Side side)
Get and set the glyph name for the letter (ex. "A", "Hazard1")
virtual std::string & label ()
virtual void setLabel (std::string label)
Get/set/check the frame for a character
virtual Frame frame ()
virtual void setFrame (Frame frame)
virtual bool hasFrame ()
Get/set/check whether this frame is a special character

("Critical","Hazard","Safety") which needs to be expanded if it is the only character on a side

virtual Special special ()
virtual void setSpecial (Special special)
virtual bool isSpecial ()

Protected Attributes

ForegroundColor myForegroundColor
BackgroundColor myBackgroundColor
Side mySide
Frame myFrame
Special mySpecial
std::string myLabel

Member Enumeration Documentation

Enumerator:
FG_NONE 
FG_BLACK 
FG_WHITE 
FG_YELLOW 
Enumerator:
BG_NONE 
BG_YELLOW 
BG_RED 
BG_BLACK 
Enumerator:
SIDE_NONE 
SIDE_FRONT 
SIDE_BACK 
Enumerator:
FRAME_NONE 
FRAME_BEGIN 
FRAME_MIDDLE 
FRAME_END 
FRAME_CHAR 
Enumerator:
SPECIAL_NONE 
SPECIAL_CRITICAL 
SPECIAL_SAFETY 
SPECIAL_HAZARD 

Constructor & Destructor Documentation

makVrv::DtTaxiwaySignLetter::DtTaxiwaySignLetter ( )
makVrv::DtTaxiwaySignLetter::DtTaxiwaySignLetter ( ForegroundColor  fgC,
BackgroundColor  bgC,
Side  side,
Frame  frame,
Special  special,
std::string  text 
)
virtual makVrv::DtTaxiwaySignLetter::~DtTaxiwaySignLetter ( )
inlinevirtual

Member Function Documentation

virtual ForegroundColor makVrv::DtTaxiwaySignLetter::foreground ( )
virtual
virtual void makVrv::DtTaxiwaySignLetter::setForeground ( ForegroundColor  fgC)
virtual
virtual BackgroundColor makVrv::DtTaxiwaySignLetter::backround ( )
virtual
virtual void makVrv::DtTaxiwaySignLetter::setBackground ( BackgroundColor  bgC)
virtual
virtual Side makVrv::DtTaxiwaySignLetter::side ( )
virtual
virtual void makVrv::DtTaxiwaySignLetter::setSide ( Side  side)
virtual
virtual std::string& makVrv::DtTaxiwaySignLetter::label ( )
virtual
virtual void makVrv::DtTaxiwaySignLetter::setLabel ( std::string  label)
virtual
virtual Frame makVrv::DtTaxiwaySignLetter::frame ( )
virtual
virtual void makVrv::DtTaxiwaySignLetter::setFrame ( Frame  frame)
virtual
virtual bool makVrv::DtTaxiwaySignLetter::hasFrame ( )
virtual
virtual Special makVrv::DtTaxiwaySignLetter::special ( )
inlinevirtual
virtual void makVrv::DtTaxiwaySignLetter::setSpecial ( Special  special)
virtual
virtual bool makVrv::DtTaxiwaySignLetter::isSpecial ( )
virtual
virtual std::string makVrv::DtTaxiwaySignLetter::foregroundAsString ( )
virtual

Get the foreground enum as a string (FG_YELLOW -> "Yellow") If you change this, update the taxiway sign dxtc file.

virtual std::string makVrv::DtTaxiwaySignLetter::backgroundAsString ( )
virtual

Get the background enum as a string (BG_YELLOW -> "Yellow") If you change this, update the taxiway sign dxtc file.

virtual std::string makVrv::DtTaxiwaySignLetter::specialAsString ( )
virtual

Get the special enum for this character as a string (ex.

SPECIAL_CRITICAL -> "Critical")

Member Data Documentation

ForegroundColor makVrv::DtTaxiwaySignLetter::myForegroundColor
protected
BackgroundColor makVrv::DtTaxiwaySignLetter::myBackgroundColor
protected
Side makVrv::DtTaxiwaySignLetter::mySide
protected
Frame makVrv::DtTaxiwaySignLetter::myFrame
protected
Special makVrv::DtTaxiwaySignLetter::mySpecial
protected
std::string makVrv::DtTaxiwaySignLetter::myLabel
protected

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

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)