OpenASIP 2.2
Loading...
Searching...
No Matches
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.
 
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}
CodeSectionCreator & creator_

Member Function Documentation

◆ operator()()

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

Definition at line 90 of file AssemblerParser.cc.

90 {
92}
void newSection(UValue startAddress)

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: