1 #include "abstract_class.h" 2 3 #if GOLDEN_MEMBER_DIFF 4 #define CLASS_MEMBERS \ 5 long long speaker_long_long; \ 6 long long * speaker_long_long_star; 7 #elif GOLDEN_MEMBER_FAKE_DIFF 8 #define CLASS_MEMBERS \ 9 char32_t speaker_uint_t;\ 10 float *speaker_float_star; 11 #elif GOLDEN_MEMBER_INTEGRAL_TYPE_DIFF 12 #define CLASS_MEMBERS \ 13 float speaker_float;\ 14 float *speaker_float_star; 15 #elif GOLDEN_MEMBER_CV_DIFF 16 #define CLASS_MEMBERS \ 17 unsigned int speaker_uint_t;\ 18 const float *const_speaker_float_star; 19 #elif GOLDEN_CHANGE_MEMBER_NAME_SAME_OFFSET 20 #define CLASS_MEMBERS \ 21 unsigned int speaker_uint_t_;\ 22 float *speaker_float_star_; 23 #else 24 #define CLASS_MEMBERS \ 25 unsigned int speaker_uint_t; \ 26 float *speaker_float_star; 27 #endif 28 29 class LowVolumeSpeaker : public SuperSpeaker { 30 public: 31 virtual void Speak() override; 32 virtual LISTEN_RETURN_TYPE Listen() override; 33 #if GOLDEN_CHANGE_MEMBER_ACCESS 34 private: 35 #else 36 public: 37 #endif 38 CLASS_MEMBERS 39 }; 40