CVME< T > Class Template Reference

#include <CVME.h>

List of all members.

Public Types

enum  VmeSpace {
  a16d16, a24d16, a24d32, a32d32,
  geo
}

Public Member Functions

 CVME (VmeSpace space, UInt_t base, UInt_t length, UInt_t crate=0)
 CVME ()
 CVME (CVMEptr< T > *aCVMEptr)
 CVME (const CVME &aCVME)
CVME< T > & operator= (const CVME< T > &aCVME)
int operator== (const CVME< T > &aCVME)
UInt_t getOffset ()
UInt_t getLength ()
Address_t getStart ()
Address_t getgenptr (UInt_t nOffset)
Address_t getcurrptr ()
Toperator * ()
Toperator-> ()
Toperator[] (UInt_t nOffset)
Toperator[] (UInt_t nOffset) const
CVME< T > & operator+ (UInt_t nOffset)
CVME< T > & operator- (UInt_t nOffset)
CVME< T > & operator+= (UInt_t nOffset)
CVME< T > & operator-= (UInt_t nOffset)
CVME< T > & operator++ ()
CVME< T > & operator-- ()
CVME< T > & operator++ (Int_t)
CVME< T > & operator-- (Int_t)
volatile UChar_t * asChar ()
volatile UShort_t * asShort ()
volatile ULong_t * asLong ()

Protected Member Functions

void setRCptr (CVMEptr< T > aRCptr)

Private Attributes

CRefcountedPtr< CVMEptr< T > > m_pRCptr
UInt_t m_nOffset


Detailed Description

template<class T>
class CVME< T >

Definition at line 50 of file CVME.h.


Member Enumeration Documentation

template<class T>
enum CVME::VmeSpace

Enumerator:
a16d16 
a24d16 
a24d32 
a32d32 
geo 

Definition at line 59 of file CVME.h.


Constructor & Destructor Documentation

template<class T>
CVME< T >::CVME ( VmeSpace  space,
UInt_t  base,
UInt_t  length,
UInt_t  crate = 0 
)

Definition at line 140 of file CVME.h.

References CVME< T >::m_pRCptr.

template<class T>
CVME< T >::CVME (  ) 

Definition at line 157 of file CVME.h.

References CVME< T >::m_pRCptr.

template<class T>
CVME< T >::CVME ( CVMEptr< T > *  aCVMEptr  ) 

Definition at line 175 of file CVME.h.

References CVME< T >::m_pRCptr.

template<class T>
CVME< T >::CVME ( const CVME< T > &  aCVME  ) 

Definition at line 192 of file CVME.h.


Member Function Documentation

template<class T>
CVME< T > & CVME< T >::operator= ( const CVME< T > &  aCVME  ) 

Definition at line 210 of file CVME.h.

References CVME< T >::m_nOffset, and CVME< T >::m_pRCptr.

template<class T>
int CVME< T >::operator== ( const CVME< T > &  aCVME  )  [inline]

Definition at line 77 of file CVME.h.

References CVME< T >::m_pRCptr.

template<class T>
void CVME< T >::setRCptr ( CVMEptr< T aRCptr  )  [inline, protected]

Definition at line 84 of file CVME.h.

References CVME< T >::m_pRCptr.

template<class T>
UInt_t CVME< T >::getOffset (  )  [inline]

Definition at line 88 of file CVME.h.

References CVME< T >::m_nOffset.

template<class T>
UInt_t CVME< T >::getLength (  )  [inline]

Definition at line 89 of file CVME.h.

References CVME< T >::m_pRCptr.

template<class T>
Address_t CVME< T >::getStart (  )  [inline]

Definition at line 90 of file CVME.h.

References CVME< T >::m_pRCptr.

template<class T>
Address_t CVME< T >::getgenptr ( UInt_t  nOffset  ) 

Definition at line 504 of file CVME.h.

References CVME< T >::m_nOffset, and CVME< T >::m_pRCptr.

Referenced by CNimout::CNimout(), and CVME< T >::getcurrptr().

template<class T>
Address_t CVME< T >::getcurrptr (  ) 

Definition at line 523 of file CVME.h.

References CVME< T >::getgenptr(), CVME< T >::m_nOffset, and CVME< T >::m_pRCptr.

template<class T>
T & CVME< T >::operator * (  ) 

Definition at line 232 of file CVME.h.

References CVME< T >::m_nOffset, and CVME< T >::m_pRCptr.

template<class T>
T * CVME< T >::operator-> (  ) 

Definition at line 254 of file CVME.h.

References CVME< T >::m_nOffset, CVME< T >::m_pRCptr, and T.

template<class T>
T & CVME< T >::operator[] ( UInt_t  nOffset  ) 

Definition at line 284 of file CVME.h.

References CVME< T >::m_nOffset, and CVME< T >::m_pRCptr.

template<class T>
T & CVME< T >::operator[] ( UInt_t  nOffset  )  const

Definition at line 308 of file CVME.h.

References CVME< T >::m_nOffset, and CVME< T >::m_pRCptr.

template<class T>
CVME< T > & CVME< T >::operator+ ( UInt_t  nOffset  ) 

Definition at line 336 of file CVME.h.

References CVME< T >::m_nOffset.

Referenced by CVME< T >::operator-().

template<class T>
CVME< T > & CVME< T >::operator- ( UInt_t  nOffset  ) 

Definition at line 356 of file CVME.h.

References CVME< T >::operator+().

template<class T>
CVME< T > & CVME< T >::operator+= ( UInt_t  nOffset  ) 

Definition at line 377 of file CVME.h.

References CVME< T >::m_nOffset.

template<class T>
CVME< T > & CVME< T >::operator-= ( UInt_t  nOffset  ) 

Definition at line 399 of file CVME.h.

References CVME< T >::m_nOffset.

template<class T>
CVME< T > & CVME< T >::operator++ (  ) 

Definition at line 418 of file CVME.h.

References CVME< T >::m_nOffset.

template<class T>
CVME< T > & CVME< T >::operator-- (  ) 

Definition at line 437 of file CVME.h.

References CVME< T >::m_nOffset.

template<class T>
CVME< T > & CVME< T >::operator++ ( Int_t   ) 

Definition at line 459 of file CVME.h.

References CVME< T >::m_nOffset.

template<class T>
CVME< T > & CVME< T >::operator-- ( Int_t   ) 

Definition at line 482 of file CVME.h.

References CVME< T >::m_nOffset.

template<class T>
volatile UChar_t * CVME< T >::asChar (  ) 

Definition at line 541 of file CVME.h.

References CVME< T >::m_pRCptr, and T.

template<class T>
volatile UShort_t * CVME< T >::asShort (  ) 

Definition at line 562 of file CVME.h.

References CVME< T >::m_nOffset, CVME< T >::m_pRCptr, and T.

template<class T>
volatile ULong_t * CVME< T >::asLong (  ) 

Definition at line 582 of file CVME.h.

References CVME< T >::m_nOffset, CVME< T >::m_pRCptr, and T.


Member Data Documentation

template<class T>
CRefcountedPtr<CVMEptr<T> > CVME< T >::m_pRCptr [private]

Definition at line 53 of file CVME.h.

Referenced by CVME< T >::asChar(), CVME< T >::asLong(), CVME< T >::asShort(), CVME< T >::CVME(), CVME< T >::getcurrptr(), CVME< T >::getgenptr(), CVME< T >::getLength(), CVME< T >::getStart(), CVME< T >::operator *(), CVME< T >::operator->(), CVME< T >::operator=(), CVME< T >::operator==(), CVME< T >::operator[](), and CVME< T >::setRCptr().

template<class T>
UInt_t CVME< T >::m_nOffset [private]

Definition at line 55 of file CVME.h.

Referenced by CVME< T >::asLong(), CVME< T >::asShort(), CVME< T >::getcurrptr(), CVME< T >::getgenptr(), CVME< T >::getOffset(), CVME< T >::operator *(), CVME< T >::operator+(), CVME< T >::operator++(), CVME< T >::operator+=(), CVME< T >::operator--(), CVME< T >::operator-=(), CVME< T >::operator->(), CVME< T >::operator=(), and CVME< T >::operator[]().


The documentation for this class was generated from the following file:
Generated on Wed Sep 17 08:38:11 2008 for NSCL Device support. by  doxygen 1.5.1