#pragma once // All pins must be listed here. // Where Used: In the Module::getPinProperties() method. // Example: enum PinNames { PIN_A, PIN_B, PIN_C, PIN_D }; class All_Pins { public: enum PinNames {PIN_HPF, PIN_LPF, PIN_S1, PIN_S2, PIN_S3, PIN_G1, PIN_G2, PIN_G3, PIN_G4 }; }; // The DSP side only sees DSP pins, so leave out the GUI pins, but list the remaining // DSP pins in the same order as All_Pins::PinNames . // Where Used: The value returned from SEPin::getPinID() can be cast to this type, // or as the index parameter passed to SEModule_base::getPin(). // Example based on previous Example: enum PinNames { PIN_B, PIN_D }; class DSP_Pins { public: enum PinNames { }; }; // The GUI side sees all the pins so it's the same as the All_Pins type. // Where Used: The value returned from SEGUIPin::getIndex() can be cast to this type, // or as the index parameter passed to SEGUI_base::getPin(). typedef All_Pins GUI_Pins;