OpenASIP  2.0
Public Member Functions | Public Attributes | List of all members
SimpleBrokerDirector::OriginalResources Struct Reference
Collaboration diagram for SimpleBrokerDirector::OriginalResources:
Collaboration graph

Public Member Functions

 OriginalResources (TTAProgram::Terminal *, TTAProgram::Terminal *, const TTAMachine::Bus *, TTAProgram::MoveGuard *, bool)
 
 ~OriginalResources ()
 

Public Attributes

TTAProgram::Terminalsrc_
 
TTAProgram::Terminaldst_
 
const TTAMachine::Busbus_
 
TTAProgram::MoveGuardguard_
 
bool isGuarded_
 

Detailed Description

Definition at line 149 of file SimpleBrokerDirector.hh.

Constructor & Destructor Documentation

◆ OriginalResources()

SimpleBrokerDirector::OriginalResources::OriginalResources ( TTAProgram::Terminal src,
TTAProgram::Terminal dst,
const TTAMachine::Bus bus,
TTAProgram::MoveGuard guard,
bool  isGuarded 
)

Constructor for embedded structure for storing the original resources

Definition at line 772 of file SimpleBrokerDirector.cc.

777  {
778 
779  src_ = src;
780  dst_ = dst;
781  bus_ = bus;
782  guard_ = guard;
783  isGuarded_ = isGuarded;
784 }

References bus_, dst_, guard_, isGuarded_, and src_.

◆ ~OriginalResources()

SimpleBrokerDirector::OriginalResources::~OriginalResources ( )

Destructor for embedded structure storing original resources

Definition at line 789 of file SimpleBrokerDirector.cc.

789  {
790  if (src_!= NULL) {
791  delete src_;
792  }
793  if (dst_!= NULL) {
794  delete dst_;
795  }
796  if (guard_!= NULL) {
797  delete guard_;
798  }
799 }

Member Data Documentation

◆ bus_

const TTAMachine::Bus* SimpleBrokerDirector::OriginalResources::bus_

◆ dst_

TTAProgram::Terminal* SimpleBrokerDirector::OriginalResources::dst_

◆ guard_

TTAProgram::MoveGuard* SimpleBrokerDirector::OriginalResources::guard_

◆ isGuarded_

bool SimpleBrokerDirector::OriginalResources::isGuarded_

◆ src_

TTAProgram::Terminal* SimpleBrokerDirector::OriginalResources::src_

The documentation for this struct was generated from the following files:
SimpleBrokerDirector::OriginalResources::isGuarded_
bool isGuarded_
Definition: SimpleBrokerDirector.hh:162
SimpleBrokerDirector::OriginalResources::dst_
TTAProgram::Terminal * dst_
Definition: SimpleBrokerDirector.hh:159
SimpleBrokerDirector::OriginalResources::guard_
TTAProgram::MoveGuard * guard_
Definition: SimpleBrokerDirector.hh:161
SimpleBrokerDirector::OriginalResources::bus_
const TTAMachine::Bus * bus_
Definition: SimpleBrokerDirector.hh:160
SimpleBrokerDirector::OriginalResources::src_
TTAProgram::Terminal * src_
Definition: SimpleBrokerDirector.hh:158