gem5  v21.2.0.0
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
gem5::TimeBuffer< T >::wire Class Reference

#include <timebuf.hh>

Public Member Functions

 wire ()
 
 wire (const wire &i)
 
const wireoperator= (const wire &i)
 
const wireoperator= (int idx)
 
const wireoperator+= (int offset)
 
const wireoperator-= (int offset)
 
wireoperator++ ()
 
wireoperator++ (int)
 
wireoperator-- ()
 
wireoperator-- (int)
 
T & operator* () const
 
T * operator-> () const
 

Protected Member Functions

void set (int idx)
 
 wire (TimeBuffer< T > *buf, int i)
 

Protected Attributes

TimeBuffer< T > * buffer
 
int index
 

Friends

class TimeBuffer
 

Detailed Description

template<class T>
class gem5::TimeBuffer< T >::wire

Definition at line 59 of file timebuf.hh.

Constructor & Destructor Documentation

◆ wire() [1/3]

template<class T >
gem5::TimeBuffer< T >::wire::wire ( TimeBuffer< T > *  buf,
int  i 
)
inlineprotected

Definition at line 72 of file timebuf.hh.

◆ wire() [2/3]

template<class T >
gem5::TimeBuffer< T >::wire::wire ( )
inline

◆ wire() [3/3]

template<class T >
gem5::TimeBuffer< T >::wire::wire ( const wire i)
inline

Definition at line 80 of file timebuf.hh.

Member Function Documentation

◆ operator*()

template<class T >
T& gem5::TimeBuffer< T >::wire::operator* ( ) const
inline

◆ operator++() [1/2]

template<class T >
wire& gem5::TimeBuffer< T >::wire::operator++ ( )
inline

◆ operator++() [2/2]

template<class T >
wire& gem5::TimeBuffer< T >::wire::operator++ ( int  )
inline

◆ operator+=()

template<class T >
const wire& gem5::TimeBuffer< T >::wire::operator+= ( int  offset)
inline

◆ operator--() [1/2]

template<class T >
wire& gem5::TimeBuffer< T >::wire::operator-- ( )
inline

◆ operator--() [2/2]

template<class T >
wire& gem5::TimeBuffer< T >::wire::operator-- ( int  )
inline

◆ operator-=()

template<class T >
const wire& gem5::TimeBuffer< T >::wire::operator-= ( int  offset)
inline

◆ operator->()

template<class T >
T* gem5::TimeBuffer< T >::wire::operator-> ( ) const
inline

◆ operator=() [1/2]

template<class T >
const wire& gem5::TimeBuffer< T >::wire::operator= ( const wire i)
inline

◆ operator=() [2/2]

template<class T >
const wire& gem5::TimeBuffer< T >::wire::operator= ( int  idx)
inline

Definition at line 91 of file timebuf.hh.

References gem5::TimeBuffer< T >::wire::set().

◆ set()

template<class T >
void gem5::TimeBuffer< T >::wire::set ( int  idx)
inlineprotected

Friends And Related Function Documentation

◆ TimeBuffer

template<class T >
friend class TimeBuffer
friend

Definition at line 61 of file timebuf.hh.

Member Data Documentation

◆ buffer

template<class T >
TimeBuffer<T>* gem5::TimeBuffer< T >::wire::buffer
protected

◆ index

template<class T >
int gem5::TimeBuffer< T >::wire::index
protected

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

Generated on Tue Dec 21 2021 11:35:14 for gem5 by doxygen 1.8.17