35 lines
626 B
C++
35 lines
626 B
C++
#ifndef CONNECTOR_H
|
|
#define CONNECTOR_H
|
|
|
|
#include "CableTestBenchDefs.h"
|
|
#include <QBitArray>
|
|
#include "IOModulesInterface.h"
|
|
|
|
|
|
class CConnector
|
|
{
|
|
public:
|
|
CConnector();
|
|
|
|
int GetPinCount();
|
|
virtual int SetConnectorType(CConnectorDefs::eConnectorType type);
|
|
bool IsConnectorDefined();
|
|
int SetIOInterface(CIOModulesInterface *IFHandle);
|
|
CConnectorDefs::eConnectorType GetConnectorType();
|
|
|
|
|
|
|
|
protected:
|
|
unsigned int mPinCount;
|
|
CConnectorDefs::eConnectorType mConnectorType;
|
|
|
|
int mIOModuleRangeBegin, mIOModuleRangeEnd;
|
|
|
|
CIOModulesInterface *mIOInterfaceHandle;
|
|
|
|
|
|
|
|
};
|
|
|
|
#endif // CONNECTOR_H
|