|
| ~Error () override |
| Destroy the Error object.
|
|
const char * | what () const noexcept override |
| Returns the error message of the exception.
|
|
OBExceptionType | getExceptionType () const noexcept |
| Returns the exception type of the exception.
|
|
const char * | getFunction () const noexcept |
| Returns the name of the function where the exception occurred.
|
|
const char * | getArgs () const noexcept |
| Returns the arguments of the function where the exception occurred.
|
|
const char * | getMessage () const noexcept |
| Returns the error message of the exception.
|
|
const char * | getName () const noexcept |
|
Definition at line 16 of file Error.hpp.
static void ob::Error::handle |
( |
ob_error ** | error, |
|
|
bool | throw_exception = true ) |
|
inlinestatic |
A static function to handle the ob_error and throw an exception if needed.
- Parameters
-
error | The ob_error pointer to be handled. |
throw_exception | A boolean value to indicate whether to throw an exception or not, the default value is true. |
Definition at line 36 of file Error.hpp.
Referenced by ob::Align::Align(), ob::Frame::as(), ob::Frame::as(), ob::CoordinateTransformHelper::calibration2dTo2d(), ob::CoordinateTransformHelper::calibration2dTo3d(), ob::CoordinateTransformHelper::calibration3dTo2d(), ob::CoordinateTransformHelper::calibration3dTo3d(), ob::Config::Config(), ob::Context::Context(), ob::StreamProfileFactory::create(), ob::FilterFactory::createFilter(), ob::Context::createNetDevice(), ob::FilterFactory::createPrivateFilter(), ob::Sensor::createRecommendedFilters(), ob::Config::disableAllStream(), ob::Pipeline::disableFrameSync(), ob::Config::disableStream(), ob::Filter::enable(), ob::Config::enableAccelStream(), ob::Config::enableAllStream(), ob::Context::enableDeviceClockSync(), ob::Pipeline::enableFrameSync(), ob::Device::enableGlobalTimestamp(), ob::Config::enableGyroStream(), ob::Device::enableHeartbeat(), ob::Context::enableNetDeviceEnumeration(), ob::Config::enableStream(), ob::Config::enableStream(), ob::Config::enableVideoStream(), ob::Device::exportSettingsAsPresetJsonFile(), ob::FormatConvertFilter::FormatConvertFilter(), ob::Context::freeIdleMemory(), ob::StreamProfileList::getAccelStreamProfile(), ob::DeviceInfo::getAsicName(), ob::Device::getAvailablePresetList(), ob::Device::getBoolProperty(), ob::Device::getBoolPropertyRange(), ob::Device::getCalibrationCameraParamList(), ob::Pipeline::getCalibrationParam(), ob::CameraParamList::getCameraParam(), ob::Pipeline::getCameraParam(), ob::Pipeline::getCameraParamWithProfile(), ob::Pipeline::getConfig(), ob::Filter::getConfigSchema(), ob::Filter::getConfigValue(), ob::DeviceInfo::getConnectionType(), ob::DeviceList::getConnectionType(), ob::CameraParamList::getCount(), ob::DeviceList::getCount(), ob::DevicePresetList::getCount(), ob::OBDepthWorkModeList::getCount(), ob::SensorList::getCount(), ob::StreamProfileList::getCount(), ob::Device::getCurrentDepthModeName(), ob::Device::getCurrentDepthWorkMode(), ob::Device::getCurrentPresetName(), ob::Pipeline::getD2CDepthProfileList(), ob::Frame::getData(), ob::Frame::getDataSize(), ob::Device::getDepthWorkModeList(), ob::DeviceList::getDevice(), ob::Frame::getDevice(), ob::Pipeline::getDevice(), ob::DeviceList::getDeviceBySN(), ob::DeviceList::getDeviceByUid(), ob::Device::getDeviceInfo(), ob::DeviceInfo::getDeviceType(), ob::VideoStreamProfile::getDistortion(), ob::Config::getEnabledStreamProfileList(), ob::Device::getExtensionInfo(), ob::StreamProfile::getExtrinsicTo(), ob::FilterFactory::getFilterVendorSpecificCode(), ob::DeviceInfo::getFirmwareVersion(), ob::Device::getFloatProperty(), ob::Device::getFloatPropertyRange(), ob::Frame::getFormat(), ob::StreamProfile::getFormat(), ob::VideoStreamProfile::getFps(), ob::AccelStreamProfile::getFullScaleRange(), ob::GyroStreamProfile::getFullScaleRange(), ob::Frame::getGlobalTimeStampUs(), ob::StreamProfileList::getGyroStreamProfile(), ob::DeviceInfo::getHardwareVersion(), ob::VideoFrame::getHeight(), ob::VideoStreamProfile::getHeight(), ob::Frame::getIndex(), ob::Device::getIntProperty(), ob::Device::getIntPropertyRange(), ob::AccelStreamProfile::getIntrinsic(), ob::GyroStreamProfile::getIntrinsic(), ob::VideoStreamProfile::getIntrinsic(), ob::DeviceInfo::getIpAddress(), ob::DeviceList::getIpAddress(), ob::Frame::getMetadata(), ob::Frame::getMetadataSize(), ob::Frame::getMetadataValue(), ob::Device::getMultiDeviceSyncConfig(), ob::DeviceInfo::getName(), ob::DeviceList::getName(), ob::DevicePresetList::getName(), ob::OBDepthWorkModeList::getOBDepthWorkMode(), ob::DeviceInfo::getPid(), ob::DeviceList::getPid(), ob::VideoFrame::getPixelAvailableBitSize(), ob::VideoFrame::getPixelType(), ob::StreamProfileList::getProfile(), ob::AccelStreamProfile::getSampleRate(), ob::GyroStreamProfile::getSampleRate(), ob::Device::getSensor(), ob::Frame::getSensor(), ob::SensorList::getSensor(), ob::SensorList::getSensor(), ob::Device::getSensorList(), ob::SensorList::getSensorType(), ob::DeviceInfo::getSerialNumber(), ob::DeviceList::getSerialNumber(), ob::Frame::getStreamProfile(), ob::Pipeline::getStreamProfileList(), ob::Sensor::getStreamProfileList(), ob::Device::getStructuredData(), ob::DeviceInfo::getSupportedMinSdkVersion(), ob::Device::getSupportedMultiDeviceSyncModeBitmap(), ob::Device::getSupportedProperty(), ob::Device::getSupportedPropertyCount(), ob::Frame::getSystemTimeStampUs(), ob::Device::getTimestampResetConfig(), ob::Frame::getTimeStampUs(), ob::Frame::getType(), ob::Sensor::getType(), ob::StreamProfile::getType(), ob::DeviceInfo::getUid(), ob::DeviceList::getUid(), ob::DepthFrame::getValueScale(), ob::DeviceInfo::getVid(), ob::DeviceList::getVid(), ob::StreamProfileList::getVideoStreamProfile(), ob::VideoFrame::getWidth(), ob::VideoStreamProfile::getWidth(), ob::Frame::hasMetadata(), ob::DevicePresetList::hasPreset(), ob::HdrMerge::HdrMerge(), ob::Filter::init(), ob::Filter::isEnabled(), ob::Device::isExtensionInfoExist(), ob::Device::isGlobalTimestampSupported(), ob::Device::isPropertySupported(), ob::Device::loadPreset(), ob::Device::loadPresetFromJsonFile(), ob::Device::operator=(), ob::Sensor::operator=(), ob::StreamProfile::operator=(), ob::Pipeline::Pipeline(), ob::Pipeline::Pipeline(), ob::PointCloudFilter::PointCloudFilter(), ob::Filter::process(), ob::Filter::pushFrame(), ob::Context::queryDeviceList(), ob::Device::reboot(), ob::Filter::reset(), ob::Device::sendAndReceiveData(), ob::SequenceIdFilter::SequenceIdFilter(), ob::Config::setAlignMode(), ob::Device::setBoolProperty(), ob::Filter::setCallBack(), ob::Filter::setConfigValue(), ob::Config::setDepthScaleRequire(), ob::Context::setDeviceChangedCallback(), ob::Device::setDeviceStateChangedCallback(), ob::Context::setExtensionsDirectory(), ob::Device::setFloatProperty(), ob::Config::setFrameAggregateOutputMode(), ob::Device::setIntProperty(), ob::Context::setLoggerSeverity(), ob::Context::setLoggerToCallback(), ob::Context::setLoggerToConsole(), ob::Context::setLoggerToFile(), ob::Device::setMultiDeviceSyncConfig(), ob::Device::setStructuredData(), ob::Device::setTimestampResetConfig(), ob::Pipeline::start(), ob::Pipeline::start(), ob::Sensor::start(), ob::Pipeline::stop(), ob::Sensor::stop(), ob::Device::switchDepthWorkMode(), ob::Device::switchDepthWorkMode(), ob::Sensor::switchProfile(), ob::Device::timerSyncWithHost(), ob::Device::timestampReset(), ob::CoordinateTransformHelper::transformation2dto2d(), ob::CoordinateTransformHelper::transformation2dto3d(), ob::CoordinateTransformHelper::transformation3dto2d(), ob::CoordinateTransformHelper::transformation3dto3d(), ob::CoordinateTransformHelper::transformationDepthFrameToColorCamera(), ob::CoordinateTransformHelper::transformationDepthToPointCloud(), ob::CoordinateTransformHelper::transformationDepthToRGBDPointCloud(), ob::CoordinateTransformHelper::transformationInitXYTables(), ob::Device::triggerCapture(), ob::Device::updateFirmware(), ob::Device::updateFirmwareFromData(), ob::Pipeline::waitForFrameset(), ob::CameraParamList::~CameraParamList(), ob::Config::~Config(), ob::Context::~Context(), ob::Device::~Device(), ob::DeviceInfo::~DeviceInfo(), ob::DeviceList::~DeviceList(), ob::DevicePresetList::~DevicePresetList(), ob::Filter::~Filter(), ob::Frame::~Frame(), ob::OBDepthWorkModeList::~OBDepthWorkModeList(), ob::Pipeline::~Pipeline(), ob::Sensor::~Sensor(), ob::SensorList::~SensorList(), ob::StreamProfile::~StreamProfile(), and ob::StreamProfileList::~StreamProfileList().