RawSpeed
fast raw decoding library
Loading...
Searching...
No Matches
rawspeed::ErrorLog Class Reference

#include "common/ErrorLog.h"

Inheritance diagram for rawspeed::ErrorLog:
[legend]
Collaboration diagram for rawspeed::ErrorLog:
[legend]

Public Member Functions

void setError (const std::string &err) REQUIRES(!mutex)
bool isTooManyErrors (unsigned many, std::string *firstErr=nullptr) REQUIRES(!mutex)
std::vector< std::string > && getErrors () REQUIRES(!mutex)

Private Member Functions

std::vector< std::string > errors GUARDED_BY (mutex)

Private Attributes

Mutex mutex

Detailed Description

Definition at line 30 of file ErrorLog.h.

Member Function Documentation

◆ getErrors()

std::vector< std::string > && rawspeed::ErrorLog::getErrors ( )

Definition at line 47 of file ErrorLog.cpp.

References mutex.

Referenced by GUARDED_BY(), and main().

Here is the caller graph for this function:

◆ GUARDED_BY()

std::vector< std::string > errors rawspeed::ErrorLog::GUARDED_BY ( mutex )
private

References getErrors(), mutex, and REQUIRES.

Here is the call graph for this function:

◆ isTooManyErrors()

bool rawspeed::ErrorLog::isTooManyErrors ( unsigned many,
std::string * firstErr = nullptr )

Definition at line 34 of file ErrorLog.cpp.

References mutex.

◆ setError()

void rawspeed::ErrorLog::setError ( const std::string & err)

Definition at line 29 of file ErrorLog.cpp.

References mutex.

Member Data Documentation

◆ mutex

Mutex rawspeed::ErrorLog::mutex
private

Definition at line 31 of file ErrorLog.h.

Referenced by getErrors(), GUARDED_BY(), isTooManyErrors(), and setError().


The documentation for this class was generated from the following files: