OpenASIP 2.2
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
LongImmUpdateAction Class Reference

#include <LongImmUpdateAction.hh>

Collaboration diagram for LongImmUpdateAction:
Collaboration graph

Public Member Functions

 LongImmUpdateAction (SimValue value, LongImmediateRegisterState &state)
 
virtual ~LongImmUpdateAction ()
 
void execute ()
 

Private Member Functions

 LongImmUpdateAction (const LongImmUpdateAction &)
 Copying not allowed.
 
LongImmUpdateActionoperator= (const LongImmUpdateAction &)
 Assignment not allowed.
 

Private Attributes

SimValue value_
 Value to be updated.
 
LongImmediateRegisterStatestate_
 Destination register.
 

Detailed Description

Updates the value of the long immediate register state.

Definition at line 43 of file LongImmUpdateAction.hh.

Constructor & Destructor Documentation

◆ LongImmUpdateAction() [1/2]

LongImmUpdateAction::LongImmUpdateAction ( SimValue  value,
LongImmediateRegisterState state 
)

Constructor.

Parameters
valueValue to be updated.
stateDestination state.

Definition at line 45 of file LongImmUpdateAction.cc.

47 : value_(value), state_(state) {
48}
LongImmediateRegisterState & state_
Destination register.
SimValue value_
Value to be updated.

◆ ~LongImmUpdateAction()

LongImmUpdateAction::~LongImmUpdateAction ( )
virtual

Destructor.

Definition at line 53 of file LongImmUpdateAction.cc.

53 {
54}

◆ LongImmUpdateAction() [2/2]

LongImmUpdateAction::LongImmUpdateAction ( const LongImmUpdateAction )
private

Copying not allowed.

Member Function Documentation

◆ execute()

void LongImmUpdateAction::execute ( )

Updates the value of the destination register state.

Definition at line 60 of file LongImmUpdateAction.cc.

60 {
62}
virtual void setValue(const SimValue &value)

References LongImmediateRegisterState::setValue(), state_, and value_.

Here is the call graph for this function:

◆ operator=()

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

Assignment not allowed.

Member Data Documentation

◆ state_

LongImmediateRegisterState& LongImmUpdateAction::state_
private

Destination register.

Definition at line 59 of file LongImmUpdateAction.hh.

Referenced by execute().

◆ value_

SimValue LongImmUpdateAction::value_
private

Value to be updated.

Definition at line 57 of file LongImmUpdateAction.hh.

Referenced by execute().


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