Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 

35 linhas
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