gem5  v21.1.0.2
Classes | Public Member Functions | Private Attributes | List of all members
gem5::ruby::ExpectedMap< RespType, DataType > Class Template Reference

#include <ExpectedMap.hh>

Classes

struct  ExpectedState
 

Public Member Functions

 ExpectedMap ()
 
void clear (int dataChunks)
 
void addExpectedRespType (const RespType &val)
 
void addExpectedDataType (const DataType &val)
 
void setExpectedCount (int val)
 
void addExpectedCount (int val)
 
int received () const
 
int expected () const
 
bool hasExpected () const
 
bool hasReceivedData () const
 
bool hasReceivedResp () const
 
bool receiveResp (const RespType &val)
 
bool receiveData (const DataType &val)
 
bool receivedDataType (const DataType &val) const
 
bool receivedRespType (const RespType &val) const
 
void print (std::ostream &out) const
 

Private Attributes

ExpectedState< DataType > expectedData
 
ExpectedState< RespType > expectedResp
 
int totalExpected
 

Detailed Description

template<typename RespType, typename DataType>
class gem5::ruby::ExpectedMap< RespType, DataType >

Definition at line 59 of file ExpectedMap.hh.

Constructor & Destructor Documentation

◆ ExpectedMap()

template<typename RespType , typename DataType >
gem5::ruby::ExpectedMap< RespType, DataType >::ExpectedMap ( )
inline

Definition at line 137 of file ExpectedMap.hh.

Member Function Documentation

◆ addExpectedCount()

template<typename RespType , typename DataType >
void gem5::ruby::ExpectedMap< RespType, DataType >::addExpectedCount ( int  val)
inline

◆ addExpectedDataType()

template<typename RespType , typename DataType >
void gem5::ruby::ExpectedMap< RespType, DataType >::addExpectedDataType ( const DataType &  val)
inline

◆ addExpectedRespType()

template<typename RespType , typename DataType >
void gem5::ruby::ExpectedMap< RespType, DataType >::addExpectedRespType ( const RespType &  val)
inline

◆ clear()

template<typename RespType , typename DataType >
void gem5::ruby::ExpectedMap< RespType, DataType >::clear ( int  dataChunks)
inline

◆ expected()

template<typename RespType , typename DataType >
int gem5::ruby::ExpectedMap< RespType, DataType >::expected ( ) const
inline

◆ hasExpected()

template<typename RespType , typename DataType >
bool gem5::ruby::ExpectedMap< RespType, DataType >::hasExpected ( ) const
inline

◆ hasReceivedData()

template<typename RespType , typename DataType >
bool gem5::ruby::ExpectedMap< RespType, DataType >::hasReceivedData ( ) const
inline

◆ hasReceivedResp()

template<typename RespType , typename DataType >
bool gem5::ruby::ExpectedMap< RespType, DataType >::hasReceivedResp ( ) const
inline

◆ print()

template<typename RespType , typename DataType >
void gem5::ruby::ExpectedMap< RespType, DataType >::print ( std::ostream &  out) const
inline

◆ received()

template<typename RespType , typename DataType >
int gem5::ruby::ExpectedMap< RespType, DataType >::received ( ) const
inline

◆ receiveData()

template<typename RespType , typename DataType >
bool gem5::ruby::ExpectedMap< RespType, DataType >::receiveData ( const DataType &  val)
inline

◆ receivedDataType()

template<typename RespType , typename DataType >
bool gem5::ruby::ExpectedMap< RespType, DataType >::receivedDataType ( const DataType &  val) const
inline

◆ receivedRespType()

template<typename RespType , typename DataType >
bool gem5::ruby::ExpectedMap< RespType, DataType >::receivedRespType ( const RespType &  val) const
inline

◆ receiveResp()

template<typename RespType , typename DataType >
bool gem5::ruby::ExpectedMap< RespType, DataType >::receiveResp ( const RespType &  val)
inline

◆ setExpectedCount()

template<typename RespType , typename DataType >
void gem5::ruby::ExpectedMap< RespType, DataType >::setExpectedCount ( int  val)
inline

Member Data Documentation

◆ expectedData

template<typename RespType , typename DataType >
ExpectedState<DataType> gem5::ruby::ExpectedMap< RespType, DataType >::expectedData
private

◆ expectedResp

template<typename RespType , typename DataType >
ExpectedState<RespType> gem5::ruby::ExpectedMap< RespType, DataType >::expectedResp
private

◆ totalExpected

template<typename RespType , typename DataType >
int gem5::ruby::ExpectedMap< RespType, DataType >::totalExpected
private

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

Generated on Tue Sep 21 2021 12:32:04 for gem5 by doxygen 1.8.17