FreeRTOS C++ Wrappers  1.6.0
C++ interface to FreeRTOS
Public Member Functions | Private Attributes | List of all members
cpp_freertos::SemaphoreCreateException Class Reference

#include <semaphore.hpp>

Inheritance diagram for cpp_freertos::SemaphoreCreateException:
Inheritance graph
[legend]
Collaboration diagram for cpp_freertos::SemaphoreCreateException:
Collaboration graph
[legend]

Public Member Functions

 SemaphoreCreateException ()
 
 SemaphoreCreateException (const char *info)
 
virtual const char * what () const throw ()
 

Private Attributes

char errorString [80]
 

Detailed Description

This is the exception that is thrown if a Semaphore constructor fails.

Definition at line 69 of file semaphore.hpp.

Constructor & Destructor Documentation

◆ SemaphoreCreateException() [1/2]

cpp_freertos::SemaphoreCreateException::SemaphoreCreateException ( )
inline

Create the exception.

Definition at line 75 of file semaphore.hpp.

◆ SemaphoreCreateException() [2/2]

cpp_freertos::SemaphoreCreateException::SemaphoreCreateException ( const char *  info)
inlineexplicit

Create the exception.

Definition at line 83 of file semaphore.hpp.

Member Function Documentation

◆ what()

virtual const char* cpp_freertos::SemaphoreCreateException::what ( ) const
throw (
)
inlinevirtual

Get what happened as a string. We are overriding the base implementation here.

Definition at line 93 of file semaphore.hpp.

Member Data Documentation

◆ errorString

char cpp_freertos::SemaphoreCreateException::errorString[80]
private

A text string representing what failed.

Definition at line 102 of file semaphore.hpp.


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