#include <ERRcontributionIterator.h>
Collaboration diagram for ERRcontributionIterator:
Public Member Functions | |
ERRcontributionIterator (EBFevent *event, TEMcontribution *contribution, TWRmap *map) | |
ERRcontributionIterator constructor initializing the class according to the passed in parameters. | |
ERRcontributionIterator (EBFevent *event, TEMcontribution *contribution) | |
ERRcontributionIterator constructor initializing the class according to the passed in parameters. | |
virtual int | handleError (TEMcontribution *contribution, unsigned code, unsigned p1=0, unsigned p2=0) const |
Handle all errors possible in ERRcontributionIterator. | |
ERRcontributionIterator () | |
ERRcontributionIterator constructor initializing the class to an invalid state. | |
unsigned | iterate () |
Iterate over error contributions. | |
unsigned | iterate (EBFevent *event, TEMcontribution *contribution) |
Iterate over error contributions. | |
unsigned | iterate (EBFevent *event, TEMcontribution *contribution, TWRmap *map) |
Iterate over error contributions. | |
const EBFevent * | event () const |
const TEMcontribution * | contribution () const |
const TWRmap * | map () const |
int | status () const |
unsigned | size () const |
void | offset (unsigned o) |
Set the offset into the TEM contribution where the diagnostic data starts. | |
const ErrorSummary | theError () |
virtual int | gcccError (unsigned tower, unsigned gccc, GCCCerror err) |
Dispatch function for GCCC errors. | |
virtual int | gtccError (unsigned tower, unsigned gtcc, GTCCerror err) |
Dispatch function for GTCC errors. | |
virtual int | phaseError (unsigned tower, unsigned short err) |
Dispatch function for cable phase errors. | |
virtual int | timeoutError (unsigned tower, unsigned short err) |
Dispatch function for cable timeout errors. | |
virtual int | gtrcPhaseError (unsigned tower, unsigned gtcc, unsigned gtrc, GTRCerror err) |
Dispatch function for GTCC "GTRC phase error" errors. | |
virtual int | gtfePhaseError (unsigned tower, unsigned gtcc, unsigned gtrc, unsigned short err1, unsigned short err2, unsigned short err3, unsigned short err4, unsigned short err5) |
Dispatch function for GTCC "GTFE phase error" errors. | |
virtual int | gtccFIFOerror (unsigned tower, unsigned gtcc, unsigned short err) |
Dispatch function for GTCC "FIFO full error" errors. | |
virtual int | gtccTMOerror (unsigned tower, unsigned gtcc) |
Dispatch function for GTCC "cable timeout error" errors. | |
virtual int | gtccHDRParityError (unsigned tower, unsigned gtcc) |
Dispatch function for GTCC "header parity error" errors. | |
virtual int | gtccWCParityError (unsigned tower, unsigned gtcc) |
Dispatch function for GTCC "word count parity error" errors. | |
virtual int | gtrcSummaryError (unsigned tower, unsigned gtcc) |
Dispatch function for GTCC "GTRC summary error" errors. | |
virtual int | gtccDataParityError (unsigned tower, unsigned gtcc) |
Dispatch function for GTCC "data parity error" errors. |
Copyright: Copyright 2004 by The Board of Trustees of the Leland Stanford Junior University. All rights reserved.
|
ERRcontributionIterator constructor initializing the class according to the passed in parameters.
|
|
ERRcontributionIterator constructor initializing the class according to the passed in parameters.
|
|
Return a pointer to the start of this contribution |
|
Return a pointer to the EBFevent containing this contribution |
|
Dispatch function for GCCC errors. These may be implemented by the user. These are *not* pure virtual because the user doesn't need to always implement them.
|
|
Dispatch function for GTCC "data parity error" errors. These may be implemented by the user. These are *not* pure virtual because the user doesn't need to always implement them.
|
|
Dispatch function for GTCC errors. These may be implemented by the user. These are *not* pure virtual because the user doesn't need to always implement them.
|
|
Dispatch function for GTCC "FIFO full error" errors. These may be implemented by the user. These are *not* pure virtual because the user doesn't need to always implement them.
|
|
Dispatch function for GTCC "header parity error" errors. These may be implemented by the user. These are *not* pure virtual because the user doesn't need to always implement them.
|
|
Dispatch function for GTCC "cable timeout error" errors. These may be implemented by the user. These are *not* pure virtual because the user doesn't need to always implement them.
|
|
Dispatch function for GTCC "word count parity error" errors. These may be implemented by the user. These are *not* pure virtual because the user doesn't need to always implement them.
|
|
Dispatch function for GTCC "GTFE phase error" errors. These may be implemented by the user. These are *not* pure virtual because the user doesn't need to always implement them.
Five GTFE tag words for FEphase error. Ugly construction because passing a
|
|
Dispatch function for GTCC "GTRC phase error" errors. These may be implemented by the user. These are *not* pure virtual because the user doesn't need to always implement them.
|
|
Dispatch function for GTCC "GTRC summary error" errors. These may be implemented by the user. These are *not* pure virtual because the user doesn't need to always implement them.
|
|
Handle all errors possible in ERRcontributionIterator. This method is used to handle errors occurring during the iteration over an ERRcontribution. By default it does nothing, however it is virtual and is able to be overridden by the user.
|
|
Iterate over error contributions.
|
|
Iterate over error contributions. This method iterates over the supplied contribution using the cached map.
|
|
Iterate over error contributions. This method uses the cached contribution to interate over.
|
|
Return a pointer to the tower map |
|
Dispatch function for cable phase errors. These may be implemented by the user. These are *not* pure virtual because the user doesn't need to always implement them.
|
|
Return the size of the diagnostic contribution |
|
Return the iteration status code |
|
Return the error summary word from the contribution |
|
Dispatch function for cable timeout errors. These may be implemented by the user. These are *not* pure virtual because the user doesn't need to always implement them.
|