Remove unused methods
This commit is contained in:
@@ -2218,54 +2218,6 @@ asynStatus Orca::setFeature(int featureIndex, double value) {
|
||||
return asynSuccess;
|
||||
}
|
||||
|
||||
//============================================================================
|
||||
int Orca::getProperties() {
|
||||
printf("\n[DEBUG] Function:getProperties\n");
|
||||
|
||||
int32 iProp = 0; // property IDs
|
||||
|
||||
double value = 50;
|
||||
dcamprop_getvalue(m_hdcam, DCAM_IDPROP_SENSORTEMPERATURE, &value);
|
||||
printf("The SENSOR TEMPERATURE = %f\n", value);
|
||||
|
||||
DCAMERR err;
|
||||
err = dcamprop_getnextid(m_hdcam, &iProp, DCAMPROP_OPTION_SUPPORT);
|
||||
if (failed(err)) {
|
||||
printError(m_hdcam, err, "dcamprop_getnextid()",
|
||||
"IDPROP:0x%08x, OPTION:SUPPORT", 0);
|
||||
return err;
|
||||
}
|
||||
|
||||
do {
|
||||
// get property name
|
||||
char text[64];
|
||||
err = dcamprop_getname(m_hdcam, iProp, text, sizeof(text));
|
||||
if (failed(err)) {
|
||||
printError(m_hdcam, err, "dcamprop_getname()", "IDPROP:0x%08x", iProp);
|
||||
return err;
|
||||
}
|
||||
|
||||
printf("0x%08x: %s\n", iProp, text);
|
||||
|
||||
// get property attribute
|
||||
DCAMPROP_ATTR basepropattr;
|
||||
memset(&basepropattr, 0, sizeof(basepropattr));
|
||||
basepropattr.cbSize = sizeof(basepropattr);
|
||||
basepropattr.iProp = iProp;
|
||||
|
||||
err = dcamprop_getattr(m_hdcam, &basepropattr);
|
||||
|
||||
// get next property id
|
||||
err = dcamprop_getnextid(m_hdcam, &iProp, DCAMPROP_OPTION_SUPPORT);
|
||||
if (failed(err)) {
|
||||
return err;
|
||||
}
|
||||
|
||||
} while (iProp != 0);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int Orca::roundToNearestMultipleOfFour(int value) {
|
||||
int remainder = value % 4;
|
||||
if (remainder == 0)
|
||||
|
||||
Reference in New Issue
Block a user