#include #include "../Definitions.h" class ZaphodCompressor { private: Compressor *compressor; Solenoid *solenoid1, *solenoid2; public: enum { EXTENDED, RETRACTED, IDLE }e_CollectorSolenoidState; ZaphodCompressor(); void compressorSystemPeriodic(); void extendCollector(); void retractCollector(); void startCompressing(); void stopCompressing(); };