VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtOculusSettingsRecord.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 
15 
16 #include <string>
17 
18 namespace makArchives
19 {
25  {
26  public:
27 
30 
33 
36 
38  DtOculusSettingsRecord& operator=( const DtOculusSettingsRecord& orig );
39 
41  void setName(const std::string& name);
42 
44  const std::string& name() const;
45 
47  void setMirroring(bool mirror);
48 
50  bool isMirroring() const;
51 
53  void setMonoscopic(bool mirror);
54 
56  bool isMonoscopic() const;
57 
59  void setPixelsPerDisplayPixel(float pixels);
60 
62  float getPixelsPerDisplayPixel() const;
63 
64  protected:
65  friend class boost::serialization::access;
66 
67  template <typename Archive>
68  void serialize(Archive& ar, unsigned int version)
69  {
70  ar & BOOST_SERIALIZATION_NVP(myMirroring);
71  ar & BOOST_SERIALIZATION_NVP(myMonoscopic);
72  ar & BOOST_SERIALIZATION_NVP(myPixelsPerDisplayPixel);
73  }
74 
75  protected:
79  };
80 }
81 

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)