VR-Vantage 2.8 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ciGain.h
Go to the documentation of this file.
1 
2 // Copyright JRM Enterprises, Inc. 2004
3 // All rights reserved.
4 //
5 // This code is the intellectual property of JRM Enterprises, Inc.
6 // It may not be used or released as source or compiled binary form
7 // without the prior written consent of JRM Enterprises, Inc.
8 //
9 // Original Author: Mike Ortalano
10 // Date: Nov 2004
11 //
12 //
13 //
15 
16 #if !defined(_ciGAIN_H_)
17 #define _ciGAIN_H_
18 
19 #if _MSC_VER > 1000
20 #pragma once
21 #endif // _MSC_VER > 1000
22 
23 
24 
29 #include <string.h>
30 
31 class ciGain
32 {
33 
34 public: // methods
35 
36 
38 // getGain
45  double getGain() { return m_gain; }
46 
47 
49 // setGain
57  void setGain( double gain ) { m_gain = gain; }
58 
59 
61 // getLevel
68  double getLevel() { return m_level; }
69 
71 // setLevel
79  void setLevel( double level ){ m_level = level; }
80 
82 // archive
90  bool archive(char *filepath);
91 
93 // serialize
101  bool serialize(char *filepath);
103 // operator =
112 
113 
114 protected: // methods
115 
116 
117 public: // construction/destruction
118 
120 // ciGain
125  ciGain();
126 
128 // ciGain
135  ciGain(ciGain &obj);
136 
137  virtual ~ciGain();
138 
139 
140 
141 
142 protected: // variables
143 
144  double m_gain;
145  double m_level;
147 private: // variables
148 
149 
150 };
151 
152 #endif // _ciGAIN_H_


Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)