IT_Bus::FaultCategory Class Reference

#include <it_bus/fault_exception.h>

Inheritance diagram for IT_Bus::FaultCategory:

IT_Bus::AnySimpleType IT_Bus::AnyType IT_Bus::ImplementationDetails List of all members.

Detailed Description

Class representing the categories of a fault There are a fixed number of categories that correspond to all types of system faults that may occur in a Bus.

Definition at line 28 of file fault_exception.h.

Public Types

enum  Category
 Enum capturing all the possible categories.

Public Member Functions

virtual const QNameget_type () const
 Returns the IT_Bus::QName for the type.
FaultCategoryoperator= (const FaultCategory &rhs)
void set_value (const Category value)
 Set the enum value for the category.
Category get_value () const
 Get the enum value for the category.

Private Attributes

Category m_val

Static Private Attributes

static const QName m_type


Member Function Documentation

virtual const QName& IT_Bus::FaultCategory::get_type (  )  const [virtual]

Returns the IT_Bus::QName for the type.

Derived subclasses implement this method and return their QName.

Returns:
IT_Bus::QName.

Implements IT_Bus::AnyType.

Category IT_Bus::FaultCategory::get_value (  )  const

Get the enum value for the category.

Returns:
Category enum value

void IT_Bus::FaultCategory::set_value ( const Category  value  ) 

Set the enum value for the category.

Parameters:
const Category enum value


Generated on Thu Sep 7 11:39:52 2006 for Artix by  doxygen 1.4.7