Main Page   Modules   Namespace List   Class Hierarchy   Data Structures   File List   Namespace Members   Data Fields   Globals   Related Pages  

SctPixelRod::RodStatus Class Reference

This is a class for ROD status reports. More...

#include <RodStatus.h>


Public Member Functions

 RodStatus ()
 RodStatus (const RodStatus &)
 ~RodStatus ()
RodStatus & operator= (const RodStatus &)
long getSlotNumber () const
 Accessor function to get slot number.

long getSerialNumber () const
 Accessor function to get serial number.

long getNumSlaves () const
 Accessor function to get number of slaves installed.

unsigned long getStatusReg (long regNumber) const
 Accessor function to get a status register.

unsigned long getCommandReg (long regNumber) const
 Accessor function to get a command register.

PrimState getPrimState () const
 Accessor function to get the Primitive state.

TextBuffState getTextState () const
 Accessor function to get the Text state.

void snapShot (RodModule &rod)

Private Attributes

unsigned long m_serialNumber
 The ROD serial number.

unsigned long m_slotNumber
 The ROD slot number.

unsigned long m_numSlaves
 The number of slave DSPs installed.

unsigned long m_statusReg [3]
 The status registers.

unsigned long m_commandReg [2]
 The command registers.

PrimState m_primState
 The state of the Primitive transfer operation.

TextBuffState m_textState
 The state of the Text buffer transfer operation.


Friends

ostream & operator<< (ostream &os, RodModule &rod)


Detailed Description

This is a class for ROD status reports.

This class contains the status information for a ROD. For now it does very little.

Author:
Tom Meyer (meyer@iastate.edu) - originator

Definition at line 21 of file RodStatus.h.


Constructor & Destructor Documentation

SctPixelRod::RodStatus::RodStatus  
 

SctPixelRod::RodStatus::RodStatus const RodStatus &   
 

SctPixelRod::RodStatus::~RodStatus  
 


Member Function Documentation

unsigned long SctPixelRod::RodStatus::getCommandReg long    regNumber const [inline]
 

Accessor function to get a command register.

Definition at line 44 of file RodStatus.h.

References m_commandReg.

long SctPixelRod::RodStatus::getNumSlaves   const [inline]
 

Accessor function to get number of slaves installed.

Definition at line 37 of file RodStatus.h.

References m_numSlaves.

PrimState SctPixelRod::RodStatus::getPrimState   const [inline]
 

Accessor function to get the Primitive state.

Definition at line 48 of file RodStatus.h.

References m_primState, and SctPixelRod::PrimState.

long SctPixelRod::RodStatus::getSerialNumber   const [inline]
 

Accessor function to get serial number.

Definition at line 34 of file RodStatus.h.

References m_serialNumber.

long SctPixelRod::RodStatus::getSlotNumber   const [inline]
 

Accessor function to get slot number.

Definition at line 31 of file RodStatus.h.

References m_slotNumber.

unsigned long SctPixelRod::RodStatus::getStatusReg long    regNumber const [inline]
 

Accessor function to get a status register.

Definition at line 40 of file RodStatus.h.

References m_statusReg.

TextBuffState SctPixelRod::RodStatus::getTextState   const [inline]
 

Accessor function to get the Text state.

Definition at line 51 of file RodStatus.h.

References m_textState, and SctPixelRod::TextBuffState.

RodStatus& SctPixelRod::RodStatus::operator= const RodStatus &   
 

void SctPixelRod::RodStatus::snapShot RodModule   rod
 


Friends And Related Function Documentation

ostream& operator<< ostream &    os,
RodModule   rod
[friend]
 


Field Documentation

unsigned long SctPixelRod::RodStatus::m_commandReg[2] [private]
 

The command registers.

Definition at line 67 of file RodStatus.h.

Referenced by getCommandReg().

unsigned long SctPixelRod::RodStatus::m_numSlaves [private]
 

The number of slave DSPs installed.

Definition at line 63 of file RodStatus.h.

Referenced by getNumSlaves().

PrimState SctPixelRod::RodStatus::m_primState [private]
 

The state of the Primitive transfer operation.

Definition at line 69 of file RodStatus.h.

Referenced by getPrimState().

unsigned long SctPixelRod::RodStatus::m_serialNumber [private]
 

The ROD serial number.

Definition at line 59 of file RodStatus.h.

Referenced by getSerialNumber().

unsigned long SctPixelRod::RodStatus::m_slotNumber [private]
 

The ROD slot number.

Definition at line 61 of file RodStatus.h.

Referenced by getSlotNumber().

unsigned long SctPixelRod::RodStatus::m_statusReg[3] [private]
 

The status registers.

Definition at line 65 of file RodStatus.h.

Referenced by getStatusReg().

TextBuffState SctPixelRod::RodStatus::m_textState [private]
 

The state of the Text buffer transfer operation.

Definition at line 71 of file RodStatus.h.

Referenced by getTextState().


The documentation for this class was generated from the following file:
Generated on Mon Dec 15 19:38:08 2003 for SCT DAQ/DCS Software by doxygen1.3-rc3