F´ Flight Software - C/C++ Documentation  devel
A framework for building embedded system applications to NASA flight quality standards.
Fw::TrapHandler Class Referenceabstract

#include <Fw/Trap/TrapHandler.hpp>

Public Member Functions

 TrapHandler ()
 
virtual ~TrapHandler ()
 constructor More...
 
virtual void doTrap (U32 trap)=0
 destructor More...
 

Detailed Description

TrapHandler: A framework class used to handle traps that occur during the execution of the the F' framework. Must be registered with a trap register. The user should inherit from this class and ensure that the doTrap function is implemented. The default implementation will be do-nothing.

Definition at line 13 of file TrapHandler.hpp.

Constructor & Destructor Documentation

◆ TrapHandler()

Fw::TrapHandler::TrapHandler ( )
inline

Definition at line 15 of file TrapHandler.hpp.

◆ ~TrapHandler()

virtual Fw::TrapHandler::~TrapHandler ( )
inlinevirtual

constructor

Definition at line 16 of file TrapHandler.hpp.

Member Function Documentation

◆ doTrap()

virtual void Fw::TrapHandler::doTrap ( U32  trap)
pure virtual

destructor

Handles the incoming trap. Note: if user does not supply an implementer of this function, a do-nothing version will be run.

Parameters
traptrap number

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