gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Friends | List of all members
Callback Class Referenceabstract

Generic callback class. More...

#include <callback.hh>

Inheritance diagram for Callback:
AbstractController::StatsCallback AnnotateDumpCallback BaseTagsCallback BaseTagsDumpCallback ClockedObjectDumpCallback ComputeUnit::CUExitCallback CowDiskCallback DRAMCtrl::RankDumpCallback MakeCallback< T, F > MakeCallback< PciVirtIO,&PciVirtIO::kick > MakeCallback< Uart,&Uart::dataAvailable > MakeCallback< VirtIOConsole::VirtIOConsole::TermRecvQueue,&VirtIOConsole::VirtIOConsole::TermRecvQueue::trySend > Network::StatsCallback RubyStatsCallback Stats::SimTicksReset

Public Member Functions

virtual ~Callback ()
 virtualize the destructor to make sure that the correct one gets called. More...
 
virtual void process ()=0
 virtual process function that is invoked when the callback queue is executed. More...
 

Protected Member Functions

virtual void autoDestruct ()
 

Friends

class CallbackQueue
 

Detailed Description

Generic callback class.

This base class provides a virtual process function that gets called when the callback queue is processed.

Definition at line 41 of file callback.hh.

Constructor & Destructor Documentation

virtual Callback::~Callback ( )
inlinevirtual

virtualize the destructor to make sure that the correct one gets called.

Definition at line 52 of file callback.hh.

Member Function Documentation

virtual void Callback::autoDestruct ( )
inlineprotectedvirtual
virtual void Callback::process ( )
pure virtual

Friends And Related Function Documentation

friend class CallbackQueue
friend

Definition at line 44 of file callback.hh.


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

Generated on Fri Jun 9 2017 13:04:04 for gem5 by doxygen 1.8.6