gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::ExtensionBase Class Referenceabstract

This is base of every extension. More...

#include <extensible.hh>

Inheritance diagram for gem5::ExtensionBase:
gem5::Extension< Request, PartitionFieldExtension > gem5::Extension< Packet, TracingExtension > gem5::Extension< Target, T > gem5::ArmISA::mpam::PartitionFieldExtension gem5::TracingExtension

Public Member Functions

 ExtensionBase (const unsigned int id)
 
virtual ~ExtensionBase ()=default
 
virtual std::unique_ptr< ExtensionBaseclone () const =0
 
unsigned int getExtensionID () const
 

Static Public Member Functions

static unsigned int maxNumExtensions ()
 

Private Attributes

const unsigned int extID
 

Detailed Description

This is base of every extension.

Definition at line 51 of file extensible.hh.

Constructor & Destructor Documentation

◆ ExtensionBase()

gem5::ExtensionBase::ExtensionBase ( const unsigned int id)
inlineexplicit

Definition at line 54 of file extensible.hh.

◆ ~ExtensionBase()

virtual gem5::ExtensionBase::~ExtensionBase ( )
virtualdefault

Member Function Documentation

◆ clone()

virtual std::unique_ptr< ExtensionBase > gem5::ExtensionBase::clone ( ) const
pure virtual

◆ getExtensionID()

unsigned int gem5::ExtensionBase::getExtensionID ( ) const
inline

Definition at line 68 of file extensible.hh.

References extID.

◆ maxNumExtensions()

static unsigned int gem5::ExtensionBase::maxNumExtensions ( )
inlinestatic

Definition at line 62 of file extensible.hh.

Member Data Documentation

◆ extID

const unsigned int gem5::ExtensionBase::extID
private

Definition at line 71 of file extensible.hh.

Referenced by getExtensionID().


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

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