Jamoma API  0.6.0.a19
Mirror.h
1 // Mirror.h
2 /***************************************************/
3 /*! \class Mirror
4  \brief Sound mirror class
5 
6  This class implements a sound mirror, which reflects
7  sound that originates at either a sound source or another
8  mirror.
9 
10  by Tristan Matthews and Nils Peters, 2007-2008.
11  */
12 /***************************************************/
13 
14 #ifndef _MIRROR_H_
15 #define _MIRROR_H_
16 
17 #include "Moveable.h"
18 
19 class Mirror : public Moveable {
20  private:
21  short order_;
22  long aziAngle_;
23 
24  public:
25  //! Class constructor.
26  Mirror();
27 
28  //! Get order.
29  short order() const;
30  //! Set order.
31  void order(short);
32 
33  //! Set azimuth angle.
34  void aziAngle(long angle);
35  //! Get azimuth angle.
36  long aziAngle() const;
37 
38  //! Print xyz position.
39  virtual void printPos() const;
40 
41  //! Class destructor.
42  virtual ~Mirror() {}
43 };
44 
45 #endif
46 // vim:sw=4:et:cindent:
Mirror()
Class constructor.
Definition: Mirror.cpp:22
virtual ~Mirror()
Class destructor.
Definition: Mirror.h:42
virtual void printPos() const
Print xyz position.
Definition: Mirror.cpp:33
long aziAngle() const
Get azimuth angle.
Definition: Mirror.cpp:57
Moveable class.
Definition: Moveable.h:18
short order() const
Get order.
Definition: Mirror.cpp:28
Sound mirror class.
Definition: Mirror.h:19