OpenASIP  2.0
Public Member Functions | Private Member Functions | List of all members
ClockedState Class Referenceabstract

#include <ClockedState.hh>

Inheritance diagram for ClockedState:
Inheritance graph
Collaboration diagram for ClockedState:
Collaboration graph

Public Member Functions

 ClockedState ()
 
virtual ~ClockedState ()
 
virtual void endClock ()=0
 
virtual void advanceClock ()=0
 
virtual void reset ()
 this is called at (re)initialization of the simulation More...
 

Private Member Functions

 ClockedState (const ClockedState &)
 Copying not allowed. More...
 
ClockedStateoperator= (const ClockedState &)
 Assignment not allowed. More...
 

Detailed Description

Interface implemented by state classes that need to update their internal state whenever elapsing of a processor clock cycle is simulated.

Definition at line 40 of file ClockedState.hh.

Constructor & Destructor Documentation

◆ ClockedState() [1/2]

ClockedState::ClockedState ( )

Constructor.

Definition at line 38 of file ClockedState.cc.

38  {
39 }

◆ ~ClockedState()

ClockedState::~ClockedState ( )
virtual

Destructor.

Definition at line 44 of file ClockedState.cc.

44  {
45 }

◆ ClockedState() [2/2]

ClockedState::ClockedState ( const ClockedState )
private

Copying not allowed.

Member Function Documentation

◆ advanceClock()

virtual void ClockedState::advanceClock ( )
pure virtual

◆ endClock()

virtual void ClockedState::endClock ( )
pure virtual

◆ operator=()

ClockedState& ClockedState::operator= ( const ClockedState )
private

Assignment not allowed.

◆ reset()

virtual void ClockedState::reset ( )
inlinevirtual

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