LASP 1.0
Library for Acoustic Signal Processing
|
Information regarding a stream. More...
#include <lasp_daq.h>
Public Types | |
enum class | StreamError { noError , inputXRun , outputXRun , driverError , systemError , threadError , logicError } |
Public Member Functions | |
bool | error () const |
Check if stream has error. | |
std::string | errorMsg () const |
bool | runningOK () const |
Returns true if everything is OK with a certain stream and the stream is running. | |
Public Attributes | |
bool | isRunning = false |
StreamError | errorType {StreamError::noError} |
Static Public Attributes | |
static const std::map< StreamError, std::string > | errorMessages |
Map between error types and messages. | |
Information regarding a stream.
Definition at line 39 of file lasp_daq.h.
|
strong |
Enumerator | |
---|---|
noError | |
inputXRun | |
outputXRun | |
driverError | |
systemError | |
threadError | |
logicError |
Definition at line 41 of file lasp_daq.h.
|
inline |
Check if stream has error.
Definition at line 70 of file lasp_daq.h.
|
inline |
Definition at line 74 of file lasp_daq.h.
|
inline |
Returns true if everything is OK with a certain stream and the stream is running.
Definition at line 82 of file lasp_daq.h.
|
inlinestatic |
Map between error types and messages.
Definition at line 54 of file lasp_daq.h.
StreamError Daq::StreamStatus::errorType {StreamError::noError} |
Definition at line 72 of file lasp_daq.h.
bool Daq::StreamStatus::isRunning = false |
Definition at line 64 of file lasp_daq.h.