HLT::ErrorCode Class Reference

The definition of error codes in HLT. This is a class (note; before was simple enum) to enable safer operations. Each ErrorCode is composed out of 3 parts:

  1. desired action which is one of enums defined in class Action
  2. explnation of the reson of that action, defined in class Reason
  3. explnation of the reson which is internal to the steering rather than algorithms, defined in SteeringInternalReason.
More...

#include <Enums.h>

List of all members.

Public Member Functions

 ErrorCode ()
 for algo developers
 ErrorCode (Action::Code a)
 for algo developers
 ErrorCode (Action::Code a, Reason::Code r)
 for algo developers
 ErrorCode (uint32_t c)
 ErrorCode (const ErrorCode c, Reason::Code r)
 ErrorCode (Action::Code a, SteeringInternalReason::Code s)
 ErrorCode (const ErrorCode c, SteeringInternalReason::Code s)
 ErrorCode (Action::Code a, Reason::Code r, SteeringInternalReason::Code s)
bool operator== (const ErrorCode &ec) const
bool operator!= (const ErrorCode &ec) const
bool operator< (const ErrorCode &ec) const
bool operator> (const ErrorCode &ec) const
 operator uint32_t () const
Action::Code action () const
Reason::Code reason () const
SteeringInternalReason::Code steeringInternalReason () const
std::string str ()

Public Attributes

uint32_t code
 storage of error code where 4 least significant bits(0-3) are storing Reason, 2 next (4-5) are for Action and bits higher than 8 for SteeringInternalReason

Detailed Description

The definition of error codes in HLT. This is a class (note; before was simple enum) to enable safer operations. Each ErrorCode is composed out of 3 parts:

  1. desired action which is one of enums defined in class Action
  2. explnation of the reson of that action, defined in class Reason
  3. explnation of the reson which is internal to the steering rather than algorithms, defined in SteeringInternalReason.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1