VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtRunwayLightGroupCache.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2019 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCore/vrvCore.h>
13 
15 
17 
18 #include <string>
19 #include <deque>
20 
21 namespace makVrv
22 {
23  class DtDe;
24 
27  {
28  public:
29 
32  static DtRunwayLightGroupCache& instance(DtDe& de);
33 
36  static void registerInstance(DtDe& de, DtRunwayLightGroupCache *manager);
37 
39  static const std::string& theClassName();
40 
43 
45  virtual ~DtRunwayLightGroupCache();
46 
48  virtual void addRunwayLightGroup(const std::string& lightGroup);
49 
51  virtual void clearRunwayLightGroups();
52 
55  virtual void setDefaultGroupColor(const DtColorValue& colorValue);
56 
58  virtual const DtColorValue& defaultGroupColor() const;
59 
60  private:
61 
64 
67 
69  DtRunwayLightGroupCache& operator = (const DtRunwayLightGroupCache& rhs);
70 
71  protected:
72 
75 
76  typedef std::deque<std::string> RunwayLightGroupContainer;
78  };
79 }
DtColorValue class.
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
DtColorValue myDefaultGroupColor
Definition: DtRunwayLightGroupCache.h:74
DtDe & myDe
Definition: DtRunwayLightGroupCache.h:73
Contains makVrv::DtVirtualBaseClass class.
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
std::deque< std::string > RunwayLightGroupContainer
Definition: DtRunwayLightGroupCache.h:76
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
RunwayLightGroupContainer myRunwayLightGroupContainer
Definition: DtRunwayLightGroupCache.h:77
Template for Color values in [0,1] range.
Definition: DtColorValue.h:20
Definition: DtRunwayLightGroupCache.h:26
Contains DLL export macros.

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)