ApraLinuxUtils 1.0.0
C++ utility library for embedded Linux systems
 
Loading...
Searching...
No Matches
apra::I2CError Class Reference

#include <I2CError.h>

Inheritance diagram for apra::I2CError:
apra::GenericError

Public Member Functions

 I2CError ()
 
 I2CError (std::string message)
 
 I2CError (std::string message, I2C_ERROR_CODE code)
 
 I2CError (I2C_ERROR_CODE code)
 
 I2CError (std::string message, std::string debugMessage)
 
 I2CError (std::string message, std::string debugMessage, I2C_ERROR_CODE code)
 
 I2CError (I2C_ERROR_CODE code, std::string debugMessage)
 
virtual ~I2CError ()
 
I2CErroroperator= (I2CError other)
 
I2C_ERROR_CODE getCode ()
 
- Public Member Functions inherited from apra::GenericError
 GenericError ()
 
 GenericError (std::string message)
 
 GenericError (std::string message, std::string debugMessages)
 
virtual ~GenericError ()
 
bool isError ()
 
std::string getMessage ()
 
std::string getDebugMessage ()
 

Protected Attributes

I2C_ERROR_CODE m_code
 
- Protected Attributes inherited from apra::GenericError
std::string m_message
 
std::string m_debugMessage
 
bool m_isError
 

Detailed Description

Definition at line 25 of file I2CError.h.

Constructor & Destructor Documentation

◆ I2CError() [1/7]

apra::I2CError::I2CError ( )

Definition at line 17 of file I2CError.cpp.

◆ I2CError() [2/7]

apra::I2CError::I2CError ( std::string  message)

Definition at line 22 of file I2CError.cpp.

◆ I2CError() [3/7]

apra::I2CError::I2CError ( std::string  message,
I2C_ERROR_CODE  code 
)

Definition at line 28 of file I2CError.cpp.

◆ I2CError() [4/7]

apra::I2CError::I2CError ( I2C_ERROR_CODE  code)

Definition at line 33 of file I2CError.cpp.

◆ I2CError() [5/7]

apra::I2CError::I2CError ( std::string  message,
std::string  debugMessage 
)

Definition at line 38 of file I2CError.cpp.

◆ I2CError() [6/7]

apra::I2CError::I2CError ( std::string  message,
std::string  debugMessage,
I2C_ERROR_CODE  code 
)

Definition at line 43 of file I2CError.cpp.

◆ I2CError() [7/7]

apra::I2CError::I2CError ( I2C_ERROR_CODE  code,
std::string  debugMessage 
)

Definition at line 49 of file I2CError.cpp.

◆ ~I2CError()

apra::I2CError::~I2CError ( )
virtual

Definition at line 69 of file I2CError.cpp.

Member Function Documentation

◆ getCode()

I2C_ERROR_CODE apra::I2CError::getCode ( )

Definition at line 64 of file I2CError.cpp.

References m_code.

Referenced by operator=().

◆ operator=()

Member Data Documentation

◆ m_code

I2C_ERROR_CODE apra::I2CError::m_code
protected

Definition at line 40 of file I2CError.h.

Referenced by getCode(), and operator=().


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