OpenASIP  2.0
Public Member Functions | Private Attributes | List of all members
NewCodeSectionActor Class Reference

#include <AssemblerParser.hh>

Collaboration diagram for NewCodeSectionActor:
Collaboration graph

Public Member Functions

 NewCodeSectionActor (CodeSectionCreator &creator, UValue &startAddress)
 NewCodeSectionActor. More...
 
void operator() (const char *, const char *) const
 

Private Attributes

CodeSectionCreatorcreator_
 
UValuestartAddress_
 

Detailed Description

Actor for adding new code section.

Definition at line 208 of file AssemblerParser.hh.

Constructor & Destructor Documentation

◆ NewCodeSectionActor()

NewCodeSectionActor::NewCodeSectionActor ( CodeSectionCreator creator,
UValue startAddress 
)

NewCodeSectionActor.

Starts new code section starting from defined address.

Parameters
creatorCreator that is used for code section generating.
startAddressStart address of code.

Definition at line 83 of file AssemblerParser.cc.

85  :
86  creator_(creator), startAddress_(startAddress) {
87 }

Member Function Documentation

◆ operator()()

void NewCodeSectionActor::operator() ( const char *  ,
const char *   
) const

Definition at line 90 of file AssemblerParser.cc.

90  {
92 }

References creator_, CodeSectionCreator::newSection(), and startAddress_.

Here is the call graph for this function:

Member Data Documentation

◆ creator_

CodeSectionCreator& NewCodeSectionActor::creator_
private

Definition at line 216 of file AssemblerParser.hh.

Referenced by operator()().

◆ startAddress_

UValue& NewCodeSectionActor::startAddress_
private

Definition at line 217 of file AssemblerParser.hh.

Referenced by operator()().


The documentation for this class was generated from the following files:
CodeSectionCreator::newSection
void newSection(UValue startAddress)
Definition: CodeSectionCreator.cc:81
NewCodeSectionActor::startAddress_
UValue & startAddress_
Definition: AssemblerParser.hh:217
NewCodeSectionActor::creator_
CodeSectionCreator & creator_
Definition: AssemblerParser.hh:216