VR-Forces 4.1.1 Class Documentation
DtSkyConditionsManager.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2011 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtSkyConditionsManager.h,v $ $Revision: 1.0 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 
15 #include <vrvCore/vrvCore.h>
20 
21 static const char* theSkyConditionsFilename = "../appData/settings/vrfSkyConditions.xml";
22 
23 namespace makVrv
24 {
25  class DtDe;
26 
31  {
32  public:
33 
35  static DtSkyConditionsManager& instance(DtDe& de);
36 
38  virtual ~DtSkyConditionsManager();
39 
41  unsigned int currentSkyConditions() const;
42 
44  virtual void setCurrentSkyConditions( const std::string& value);
45 
47  virtual void setCurrentSkyConditions(unsigned int value);
48 
50  virtual void createDefaultFile();
51 
52  protected:
53 
56 
58  virtual void applySkyCondition( makArchives::DtSkyConditionRecord& rec);
59 
61  virtual bool hasCloudLayer(const makArchives::DtCloudLayerRecord& rec) const;
63  virtual void loadDefaults();
64 
66  virtual void saveAsDefaults();
67 
68  protected:
69 
73 
74  };
75 }
76 

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)