OpenASIP  2.0
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. More...
 
LongImmUpdateActionoperator= (const LongImmUpdateAction &)
 Assignment not allowed. More...
 

Private Attributes

SimValue value_
 Value to be updated. More...
 
LongImmediateRegisterStatestate_
 Destination register. More...
 

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 }

◆ ~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 }

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:
LongImmediateRegisterState::setValue
virtual void setValue(const SimValue &value)
Definition: LongImmediateRegisterState.cc:69
LongImmUpdateAction::state_
LongImmediateRegisterState & state_
Destination register.
Definition: LongImmUpdateAction.hh:59
LongImmUpdateAction::value_
SimValue value_
Value to be updated.
Definition: LongImmUpdateAction.hh:57