VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtTaxiwaySignLetter.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCore/vrvCore.h>
13 #include <iostream>
14 
15 namespace makVrv
16 {
18  {
19  public:
21  {
25  FG_YELLOW
26  };
27 
29  {
33  BG_BLACK
34  };
35 
36  enum Side
37  {
40  SIDE_BACK
41  };
42 
43  enum Frame
44  {
49  FRAME_CHAR // 1 character with frame
50  };
51 
52  enum Special
53  {
57  SPECIAL_HAZARD
58  // SPECIAL_NOENTRY - this is not added since it is not expanded to fit
59  };
60 
62  DtTaxiwaySignLetter(ForegroundColor fgC, BackgroundColor bgC,
63  Side side, Frame frame, Special special, const std::string& text);
64 
65  virtual ~DtTaxiwaySignLetter() {};
66 
69  virtual ForegroundColor foreground();
70  virtual void setForeground(ForegroundColor fgC);
72 
75  virtual BackgroundColor backround();
76  virtual void setBackground(BackgroundColor bgC);
78 
81  virtual Side side();
82  virtual void setSide(Side side);
84 
87  virtual std::string& label();
88  virtual void setLabel(std::string label);
90 
93  virtual Frame frame();
94  virtual void setFrame(Frame frame);
95  virtual bool hasFrame();
96  // @}
97 
102  virtual Special special() { return mySpecial; }
103  virtual void setSpecial(Special special);
104  virtual bool isSpecial();
106 
109  virtual std::string foregroundAsString();
110 
113  virtual std::string backgroundAsString();
114 
117  virtual std::string specialAsString();
118 
119  protected:
125  std::string myLabel;
126  };
127 }
128 

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)