Buffer Interface
|
Exception thrown when a BitFlow SDK error occurs. More...
#include <BFException.hpp>
Public Member Functions | |
BiException (void) | |
BiException (Bd hBoard, const BFU32 error) | |
BiException (BiException const &to_copy) | |
BiException (BiException &&to_take) | |
BiException & | operator= (BiException const &to_copy) |
BiException & | operator= (BiException &&to_take) |
virtual BFU32 | showErrorMsg (void) const |
Public Member Functions inherited from BFExceptionBase | |
BFExceptionBase (void) | |
BFExceptionBase (BFExceptionBase const &to_copy) | |
BFExceptionBase (BFExceptionBase &&to_take) | |
virtual | ~BFExceptionBase (void) |
BFExceptionBase & | operator= (BFExceptionBase const &to_copy) |
BFExceptionBase & | operator= (BFExceptionBase &&to_take) |
virtual BFU32 | getErrorText (PBFCHAR ErrorText, PBFU32 ErrorTextSize) const |
virtual std::string | getErrorText (void) const |
virtual BFU32 | getErrorNumber (void) const |
Static Public Member Functions | |
static void | check (Bd hBoard, const BFU32 error) |
static std::string | getErrorText (Bd hBoard, const BFU32 error) |
Additional Inherited Members | |
Protected Member Functions inherited from BFExceptionBase | |
BFExceptionBase (const BFU32 number, std::string const &message) | |
BFExceptionBase (const BFU32 number, std::string &&message) | |
Exception thrown when a BitFlow SDK error occurs.
BiException::BiException | ( | void | ) |
Referenced by check().
Initialize a BiException with the given error code and message.
[in] | hBoard | - The board which generated the error. |
[in] | error | - The error code value to check. |
BiException::BiException | ( | BiException const & | to_copy | ) |
Initialize a BiException as a copy of another BiException.
[in] | to_copy | - The exception to copy. |
BiException::BiException | ( | BiException && | to_take | ) |
Initialize a BiException, taking the contents of another BiException.
[in] | to_take | - The exception to copy. |
Throw a BFException, if error isn't BF_OK.
[in] | hBoard | - The board which generated the error. |
[in] | error | - The error code value to check. |
BiException | thrown, initialized to error, if error isn't BF_OK. |
References BiException().
Referenced by CLComm::CLAllSerial::bfSerialInit(), CLComm::CLAllSerial::bfSWConnectorSerialInit(), BufferAcquisition::BufferInterface::boardCount(), BFGTLUtilities::Device::boardCount(), BufferAcquisition::CircularInterface::cirControl(), BufferAcquisition::CircularInterface::cirErrorWait(), BufferAcquisition::CircularInterface::cleanup(), BufferAcquisition::SequenceInterface::cleanup(), BufferAcquisition::SequenceInterface::clearBufferInfo(), BufferAcquisition::BufferInterface::clearBuffers(), BufferAcquisition::BufferInterface::enumerateCameraModes(), BufferAcquisition::BufferInterface::getAbortAcqFlag(), BufferAcquisition::BufferInterface::getBrdInfo(), BufferAcquisition::BufferInterface::getBufferArrayPointers(), BufferAcquisition::SequenceInterface::getBufferInfo(), BufferAcquisition::BufferInterface::getBufferQueueSize(), BufferAcquisition::CircularInterface::getBufferStatus(), BufferAcquisition::CircularInterface::getCirError(), BufferAcquisition::BufferInterface::getCleanupAcqFlag(), BufferAcquisition::SequenceInterface::getCurFrameAcquired(), BufferAcquisition::BufferInterface::getErrorText(), BufferAcquisition::BufferInterface::getMajorVersion(), BufferAcquisition::BufferInterface::getMinorVersion(), BufferAcquisition::BufferInterface::getNumFramesCaptured(), BufferAcquisition::BufferInterface::getNumFramesMissed(), BufferAcquisition::BufferInterface::getPauseAcqFlag(), BufferAcquisition::SequenceInterface::getSeqError(), BufferAcquisition::BufferInterface::getStartAcqFlag(), BufferAcquisition::BufferInterface::getStopAcqFlag(), BufferAcquisition::BufferInterface::getTriggerMode(), BufferAcquisition::BufferInterface::getTriggerPolarity(), BufferAcquisition::BufferInterface::Properties::interface_type(), BufferAcquisition::BufferInterface::issueSoftwareTrigger(), BufferAcquisition::BufferInterface::loadCamFile(), CXPReg::Device::open(), BufferAcquisition::BufferInterface::open(), BFGTLUtilities::Device::open(), CXPReg::Device::openSWConnector(), BufferAcquisition::BufferInterface::openSWConnector(), BFGTLUtilities::Device::openSWConnector(), BufferAcquisition::BufferInterface::readSeqFile(), BufferAcquisition::SequenceInterface::seqControl(), BufferAcquisition::SequenceInterface::seqErrorWait(), BufferAcquisition::SequenceInterface::seqWaitDone(), BufferAcquisition::CircularInterface::setBufferStatus(), BufferAcquisition::BufferInterface::setCameraMode(), BufferAcquisition::SequenceInterface::setSettings(), BufferAcquisition::BufferInterface::setTimeout(), BufferAcquisition::BufferInterface::setTriggerMode(), BufferAcquisition::SequenceInterface::setup(), BufferAcquisition::CircularInterface::setup(), BufferAcquisition::BufferInterface::showError(), BufferAcquisition::CircularInterface::waitDoneFrame(), BufferAcquisition::SequenceInterface::waitDoneFrame(), BufferAcquisition::BufferInterface::writeBuffer(), and BufferAcquisition::BufferInterface::writeSeqBuffer().
Return the error text associated with the given error code.
[in] | hBoard | - The board which generated the error. |
[in] | error | - The error code value to check. |
References BI_ERROR_BUFFER_TOO_SMALL, and MAX_STRING.
BiException & BiException::operator= | ( | BiException const & | to_copy | ) |
Copy the contents of the exception to_copy.
[in] | to_copy | - The exception to be copied. |
References BFExceptionBase::operator=().
BiException & BiException::operator= | ( | BiException && | to_take | ) |
Take the contents of the exception to_take.
[in] | to_take | - The exception to be taken. |
References BFExceptionBase::operator=().
|
virtual |
Pops up a dialog displaying a text description of the error that was thrown.
Reimplemented from BFExceptionBase.
References BFExceptionBase::getErrorNumber().