Main Page | Modules | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages | Examples

ac_reg< T > Class Template Reference

#include <ac_reg.H>

Inheritance diagram for ac_reg< T >:

Inheritance graph
[legend]
Collaboration diagram for ac_reg< T >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

const T & read () const
 Reading contents. Overloaded Method.

void write (T datum)
 Writing to the register. Overloaded Method.

 ac_reg (char *name, T value=0)
 Constructor.

 operator const T & () const
 Convertion operator.

ac_reg< T > & operator= (const ac_reg< T > &r)
 Overloaded assign operators.

ac_reg< T > & operator= (const T &d)
ac_reg< T > & operator *= (const T v)
 ac_reg<T> *= Type T

ac_reg< T > & operator *= (ac_reg< T > &r)
 ac_reg<T> *= ac_reg

ac_reg< T > & operator/= (const T d)
 ac_reg<T> /= Type T

ac_reg< T > & operator/= (ac_reg< T > &r)
 ac_reg<T> /= ac_reg

ac_reg< T > & operator%= (const T d)
 ac_reg<T> = Type T

ac_reg< T > & operator%= (ac_reg< T > &r)
 ac_reg<T> = ac_reg

ac_reg< T > & operator+= (const T &d)
 ac_reg<T> += Type T

ac_reg< T > & operator+= (ac_reg< T > &r)
 ac_reg<T> += ac_reg

ac_reg< T > & operator-= (const T d)
 ac_reg<T> -= Type T

ac_reg< T > & operator-= (ac_reg< T > &r)
 ac_reg<T> -= ac_reg

ac_reg< T > & operator<<= (const T d)
 ac_reg<T> <<= Type T

ac_reg< T > & operator<<= (ac_reg< T > &r)
 ac_reg<T> <<= ac_reg

ac_reg< T > & operator>>= (const T d)
 ac_reg<T> >>= Type T

ac_reg< T > & operator>>= (ac_reg< T > &r)
 ac_reg<T> >>= ac_reg

ac_reg< T > & operator &= (const T d)
 ac_reg<T> &= Type T

ac_reg< T > & operator &= (ac_reg< T > &r)
 ac_reg<T> &= ac_reg

ac_reg< T > & operator^= (const T d)
 ac_reg<T> ^= Type T

ac_reg< T > & operator^= (ac_reg< T > &r)
 ac_reg<T> ^= ac_reg

ac_reg< T > & operator|= (const T d)
 ac_reg<T> |= Type T

ac_reg< T > & operator|= (ac_reg< T > &r)
 ac_reg<T> |= ac_reg


Protected Attributes

Data
 The data stored into the device.


Detailed Description

template<class T>
class ac_reg< T >

ArchC class specialized for modeling registers.//

Definition at line 44 of file ac_reg.H.


The documentation for this class was generated from the following files:
Generated on Thu Jun 24 08:30:09 2004 for ArchC by doxygen 1.3.4