degate  0.1.2
Public Member Functions | Protected Attributes
degate::MemoryMapBase< T > Class Template Reference

#include <MemoryMapBase.h>

List of all members.

Public Member Functions

 MemoryMapBase (unsigned int width, unsigned int height)
virtual ~MemoryMapBase ()
virtual int get_width () const
virtual int get_height () const
virtual void clear ()
virtual void clear_area (unsigned int min_x, unsigned int min_y, unsigned int width, unsigned int height)
virtual void set (unsigned int x, unsigned int y, T new_val)
virtual T get (unsigned int x, unsigned int y) const

Protected Attributes

unsigned int width
unsigned int height

Detailed Description

template<typename T>
class degate::MemoryMapBase< T >

Definition at line 44 of file MemoryMapBase.h.


Constructor & Destructor Documentation

template<typename T >
degate::MemoryMapBase< T >::MemoryMapBase ( unsigned int  width,
unsigned int  height 
)
template<typename T >
virtual degate::MemoryMapBase< T >::~MemoryMapBase ( ) [virtual]

Member Function Documentation

template<typename T >
virtual void degate::MemoryMapBase< T >::clear ( ) [virtual]
template<typename T >
virtual void degate::MemoryMapBase< T >::clear_area ( unsigned int  min_x,
unsigned int  min_y,
unsigned int  width,
unsigned int  height 
) [virtual]
template<typename T >
virtual T degate::MemoryMapBase< T >::get ( unsigned int  x,
unsigned int  y 
) const [virtual]
template<typename T >
virtual int degate::MemoryMapBase< T >::get_height ( ) const [inline, virtual]

Definition at line 55 of file MemoryMapBase.h.

References degate::MemoryMapBase< T >::height.

{ return height; }
template<typename T >
virtual int degate::MemoryMapBase< T >::get_width ( ) const [inline, virtual]

Definition at line 54 of file MemoryMapBase.h.

References degate::MemoryMapBase< T >::width.

{ return width; }
template<typename T >
virtual void degate::MemoryMapBase< T >::set ( unsigned int  x,
unsigned int  y,
new_val 
) [virtual]

Member Data Documentation

template<typename T >
unsigned int degate::MemoryMapBase< T >::height [protected]

Definition at line 47 of file MemoryMapBase.h.

Referenced by degate::MemoryMapBase< T >::get_height().

template<typename T >
unsigned int degate::MemoryMapBase< T >::width [protected]

Definition at line 47 of file MemoryMapBase.h.

Referenced by degate::MemoryMapBase< T >::get_width().


The documentation for this class was generated from the following file: