Skip to content
Snippets Groups Projects
Commit ba017291 authored by kongr45gpen's avatar kongr45gpen
Browse files

Add documentation on some functions

parent d6612d8b
No related branches found
No related tags found
No related merge requests found
#ifndef ECSS_SERVICES_MACROS_HPP #ifndef ECSS_SERVICES_MACROS_HPP
#define ECSS_SERVICES_MACROS_HPP #define ECSS_SERVICES_MACROS_HPP
/**
* Perform an assertion that, if failed, throws an ErrorHandler::Internal error
*
* @todo Actually hold program execution or throw an exception here
*/
#define assertI(cond, error) (ErrorHandler::assertInternal((cond), (error))) #define assertI(cond, error) (ErrorHandler::assertInternal((cond), (error)))
/**
* A wrapper for ErrorHandler::assertRequest() that uses `this` as the Message object.
*
* Only to be used within the Message class.
*/
#define assertR(cond, error) (ErrorHandler::assertRequest((cond), *this, (error))) #define assertR(cond, error) (ErrorHandler::assertRequest((cond), *this, (error)))
#endif //ECSS_SERVICES_MACROS_HPP #endif //ECSS_SERVICES_MACROS_HPP
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment