gem5  v20.1.0.0
Public Member Functions | Private Attributes | List of all members
AtomicGeneric3Op< T > Class Template Reference

#include <amo.hh>

Inheritance diagram for AtomicGeneric3Op< T >:
TypedAtomicOpFunctor< T > AtomicOpFunctor

Public Member Functions

 AtomicGeneric3Op (T _a, T _c, std::function< void(T *, T, T)> _op)
 
AtomicOpFunctorclone () override
 
void execute (T *b) override
 
- Public Member Functions inherited from TypedAtomicOpFunctor< T >
void operator() (uint8_t *p)
 
- Public Member Functions inherited from AtomicOpFunctor
virtual ~AtomicOpFunctor ()
 

Private Attributes

a
 
c
 
std::function< void(T *, T, T)> op
 

Detailed Description

template<typename T>
class AtomicGeneric3Op< T >

Definition at line 84 of file amo.hh.

Constructor & Destructor Documentation

◆ AtomicGeneric3Op()

template<typename T >
AtomicGeneric3Op< T >::AtomicGeneric3Op ( _a,
_c,
std::function< void(T *, T, T)>  _op 
)
inline

Definition at line 87 of file amo.hh.

Member Function Documentation

◆ clone()

template<typename T >
AtomicOpFunctor* AtomicGeneric3Op< T >::clone ( )
inlineoverridevirtual

Implements TypedAtomicOpFunctor< T >.

Definition at line 90 of file amo.hh.

◆ execute()

template<typename T >
void AtomicGeneric3Op< T >::execute ( T *  b)
inlineoverridevirtual

Member Data Documentation

◆ a

template<typename T >
T AtomicGeneric3Op< T >::a
private

Definition at line 99 of file amo.hh.

Referenced by AtomicGeneric3Op< T >::execute().

◆ c

template<typename T >
T AtomicGeneric3Op< T >::c
private

Definition at line 100 of file amo.hh.

Referenced by AtomicGeneric3Op< T >::execute().

◆ op

template<typename T >
std::function<void(T*, T, T)> AtomicGeneric3Op< T >::op
private

Definition at line 101 of file amo.hh.

Referenced by AtomicGeneric3Op< T >::execute().


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

Generated on Wed Sep 30 2020 14:02:21 for gem5 by doxygen 1.8.17