Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   Related Pages  

/var/pcce/usera/hill/rcc_1.2/RodDaq/RodCrate/RodOutList.h

Go to the documentation of this file.
00001 // File: RodOutList.h
00002 
00003 #ifndef SCTPIXELROD_RODOUTLIST_H
00004 #define SCTPIXELROD_RODOUTLIST_H
00005 
00006 #include <string>
00007 
00008 namespace SctPixelRod {
00009 
00010 /*!
00011  * @class RodOutList
00012  *
00013  * @brief  This is a class for ROD reply buffers.
00014  *
00015  * This class contains the reply lists which are responses from a primitive list.
00016  *
00017  * @author Tom Meyer (meyer@iastate.edu) - originator
00018  */
00019 
00020 class RodOutList
00021 {
00022 public:
00023         RodOutList( long length ) ;                         // Constructor
00024         RodOutList( const RodOutList& );                    // Copy constructor
00025         ~RodOutList();                                      // Destructor
00026         RodOutList& operator=( const RodOutList& );         // Overload = operator
00027 
00028         // Accessor function to get length
00029         long getLength() const { return m_length; }
00030         
00031         // Accessor function to get pointer to data body.
00032         unsigned long* getBody() const {return m_body; }
00033 
00034 private:
00035     //! The length of the reply list. 
00036         long m_length;
00037     //! A pointer to an array of UINT32 containing the reply data.
00038         unsigned long* m_body;
00039 
00040 };                                    // End of RodOutList declaration
00041 } // End namespace SctPixelRod
00042 
00043 #endif  // SCTPIXELROD_RODOUTLIST_H

Generated on Mon Mar 3 11:16:17 2003 for SCTPixelDAQ by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001