Critical Link MityCam SoC Firmware
1.0
Critical Link MityCam SoC Firmware
|
Base Class for status reporting interface. More...
#include <StatusReporter.h>
Public Types | |
enum | teStatus { eeCapturingStart, eeCapturingEnd, eeGood, eeWarning, eeError, eeClear, eeInfo } |
Public Member Functions | |
tcStatusReporter () | |
virtual | ~tcStatusReporter () |
virtual void | updateStatus (teStatus aeStatus, const char *apMessage)=0 |
virtual void | disableIndicators (bool abDisable) |
Static Public Member Functions | |
static void | UpdateStatus (teStatus aeStatus, const char *apMessage) |
static void | DisableIndicators (bool abDisable) |
Protected Member Functions | |
const char * | statusToString (teStatus aeStatus) |
Static Protected Attributes | |
static std::list< tcStatusReporter * > | mcReporters |
Base Class for status reporting interface.
The tcStatusReporter class provides a set of static utility methods and common API for status reporting / indicators for the MityCAM libaray. Designers can implement derived classes that implement the updateStatus() methods to present status information as required for their application.
|
inline |
|
inlinevirtual |
|
inlinevirtual |
This may be used to disable indicators that can generate light (like an LED).
abDisable | when true, disable any Visible indicators regardless of status |
Reimplemented in tcPCA9553Status.
|
static |
|
protected |
|
static |
|
pure virtual |
Signifies that the StatusReporter object should update.
aeStatus | - the status to report. |
Implemented in SocCamera::tcMityViewerInterface, tcGenICamStatusReporter, and tcStdOutStatusReporter.
|
staticprotected |