gem5 v24.0.0.0
Loading...
Searching...
No Matches
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()

◆ expected()

◆ 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()

◆ receiveData()

◆ 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()

◆ setExpectedCount()

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

Member Data Documentation

◆ expectedData

◆ expectedResp

◆ totalExpected


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

Generated on Tue Jun 18 2024 16:24:22 for gem5 by doxygen 1.11.0