Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 

35 righe
626 B

  1. #ifndef CONNECTOR_H
  2. #define CONNECTOR_H
  3. #include "CableTestBenchDefs.h"
  4. #include <QBitArray>
  5. #include "IOModulesInterface.h"
  6. class CConnector
  7. {
  8. public:
  9. CConnector();
  10. int GetPinCount();
  11. virtual int SetConnectorType(CConnectorDefs::eConnectorType type);
  12. bool IsConnectorDefined();
  13. int SetIOInterface(CIOModulesInterface *IFHandle);
  14. CConnectorDefs::eConnectorType GetConnectorType();
  15. protected:
  16. unsigned int mPinCount;
  17. CConnectorDefs::eConnectorType mConnectorType;
  18. int mIOModuleRangeBegin, mIOModuleRangeEnd;
  19. CIOModulesInterface *mIOInterfaceHandle;
  20. };
  21. #endif // CONNECTOR_H