Quantum Fog  0.9.3
C_PHASOR_YZER_AMP_GEN.h
1 #pragma once
2 #include "C_AMP_GEN.h"
3 #include "POL_ROTATOR.h"
4 #include "POLARIZER.h"
5 class QB_NET;
6 class C_PI_WIND;
7 
8 enum PHASOR_ANALYZER { k_pol, k_pol_rot};
9 
10 //******************************************
12 {
13 private:
14  PHASOR_ANALYZER its_type;
15 
16  DOUBLE its_theta;//angle in degrees between pol axis and x axis
17  USHORT its_max_m_sum; //m_sum = mx + my
18 
19 public:
20 
21  C_PHASOR_YZER_AMP_GEN(PHASOR_ANALYZER type, NODE * nd_p, QB_NET * net_p, C_PI_WIND * pi_wind_p);
22  const DOUBLE & get_theta() const;
23  VOID set_theta(const DOUBLE & theta);
24  USHORT get_expected_degen(const USHORT * mx_p, const USHORT * my_p);
25  BOOLEAN parents_are_canonical();
26  BOOLEAN dialog_entries_are_legal(Str255 theta);
27  VOID fill_trans_mat_and_st_names_of_nd();
28  BOOLEAN talk();
29 
30 };
31 #pragma mark -
32 
33 //******************************************
34 inline
35 const DOUBLE & C_PHASOR_YZER_AMP_GEN::get_theta() const
36 {
37  return its_theta;
38 }
Definition: QB_NET.h:34
Definition: C_PHASOR_YZER_AMP_GEN.h:11
Definition: NODE.h:52
Definition: C_PI_WIND.h:18
Definition: C_AMP_GEN.h:10