7 #ifndef _BRACHYSTEPPER_H_ 8 #define _BRACHYSTEPPER_H_ 10 #include "PlusConfigure.h" 11 #include "vtkPlusDataCollectionExport.h" 33 m_BrachyStepperType = UNDEFINED_STEPPER;
34 m_PositionRequestNumber = 0;
45 virtual PlusStatus GetEncoderValues(
double& PPosition,
46 double& GPosition,
double& RPosition,
unsigned long& PositionRequestNumber) = 0;
49 virtual PlusStatus GetDeviceModelInfo(std::string& version, std::string& model, std::string& serial) = 0;
58 virtual PlusStatus SetCOMPort(
unsigned long COMPort) = 0;
64 virtual PlusStatus InitializeStepper(std::string& CalibMsg) = 0;
73 std::string strStepperType;
77 case BURDETTE_MEDICAL_SYSTEMS_DIGITAL_STEPPER:
78 strStepperType =
"Burdette Medical Systems Digital Stepper";
81 case BURDETTE_MEDICAL_SYSTEMS_DIGITAL_MOTORIZED_STEPPER:
82 strStepperType =
"Burdette Medical Systems Digital Motorized Stepper";
85 case CMS_ACCUSEED_DS300:
86 strStepperType =
"CMS Accuseed DS300";
90 strStepperType =
"CIVCO";
93 LOG_ERROR(
"Unable to recognize stepper type: " << stepperType);
94 strStepperType.clear();
97 return strStepperType;
BRACHY_STEPPER_TYPE GetBrachyStepperType() const
static std::string GetBrachyStepperTypeInString(BRACHY_STEPPER_TYPE stepperType)
unsigned long m_PositionRequestNumber
BRACHY_STEPPER_TYPE m_BrachyStepperType
long __stdcall SetBaudRate(long baudrate)
void SetBrachyStepperType(BRACHY_STEPPER_TYPE type)
virtual ~PlusBrachyStepper()