BlackLib::errorCoreGPIO Struct Reference

Holds BlackCoreGPIO errors. More...

#include <BlackErr.h>

Public Member Functions

 errorCoreGPIO ()
 errorCoreGPIO struct's constructor. More...
 
 errorCoreGPIO (errorCore *base)
 errorCoreGPIO struct's constructor with errorCore pointer parameter. More...
 

Public Attributes

errorCorecoreErrors
 Pointer of errorCore struct, which stores errors of BlackCore class. More...
 
bool exportFileError
 Export file opening error. More...
 
bool directionFileError
 Direction file opening error. More...
 

Detailed Description

Holds BlackCoreGPIO errors.

This struct holds GPIO core errors and includes pointer of errorCore struct.

Constructor & Destructor Documentation

BlackLib::errorCoreGPIO::errorCoreGPIO ( )
inline

errorCoreGPIO struct's constructor.

This function clears all flags and initializes errorCore struct.

BlackLib::errorCoreGPIO::errorCoreGPIO ( errorCore base)
inline

errorCoreGPIO struct's constructor with errorCore pointer parameter.

Parameters
[in]*basepointer of errorCore struct.

This function clears all flags and assigns input parameter to coreErrors variable.

Member Data Documentation

errorCore* BlackLib::errorCoreGPIO::coreErrors

Pointer of errorCore struct, which stores errors of BlackCore class.

This struct initializes at constructor in BlackCoreGPIO class.
Its value can set with

  • getErrorsFromCore()

function in BlackCore class.

See also
BlackCoreGPIO::BlackCoreGPIO()
BlackCore::getErrorsFromCore()
bool BlackLib::errorCoreGPIO::directionFileError

Direction file opening error.

Its value can change, when setting direction of pin, at

  • setDirection()

function in BlackCoreGPIO class.

See also
BlackCoreGPIO::setDirection()
bool BlackLib::errorCoreGPIO::exportFileError

Export file opening error.

Its value can change, when exporting pin, at

  • doExport()

function in BlackCoreGPIO class.

See also
BlackCoreGPIO::doExport()

The documentation for this struct was generated from the following file: