mrfioc2  2.3.0
Public Member Functions | List of all members
alarm_exception Class Reference

#include <object.h>

Inheritance diagram for alarm_exception:
Inheritance graph
[legend]
Collaboration diagram for alarm_exception:
Collaboration graph
[legend]

Public Member Functions

 alarm_exception (short sevr=INVALID_ALARM, short stat=COMM_ALARM)
 
virtual ~alarm_exception () throw ()
 
virtual const char * what () throw ()
 
short severity () const
 
short status () const
 

Detailed Description

Definition at line 94 of file object.h.

Constructor & Destructor Documentation

◆ alarm_exception()

alarm_exception::alarm_exception ( short  sevr = INVALID_ALARM,
short  stat = COMM_ALARM 
)
inlineexplicit

Definition at line 98 of file object.h.

98 : sevr(sevr), stat(stat) {}

◆ ~alarm_exception()

virtual alarm_exception::~alarm_exception ( )
throw (
)
inlinevirtual

Definition at line 99 of file object.h.

99 {}

Member Function Documentation

◆ severity()

short alarm_exception::severity ( ) const
inline

Definition at line 101 of file object.h.

101 { return sevr; }

◆ status()

short alarm_exception::status ( ) const
inline

Definition at line 102 of file object.h.

102 { return stat; }

◆ what()

const char * alarm_exception::what ( )
throw (
)
virtual

Definition at line 46 of file object.cpp.

47 {
48  return "Alarm!";
49 }

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