7 #if !defined(_BootImageGenerator_h_) 8 #define _BootImageGenerator_h_ 10 #include "OutputSection.h" 11 #include "BootImage.h" 12 #include "OptionContext.h" 63 #endif // _BootImageGenerator_h_ virtual ~BootImageGenerator()
Destructor.
Definition: BootImageGenerator.h:39
void processDriveTagOption(BootImage *image)
Handle the common option which sets the system drive tag.
Definition: BootImageGenerator.cpp:65
void addOutputSection(OutputSection *section)
Add another section to the output.
Definition: BootImageGenerator.h:41
std::vector< OutputSection * > section_vector_t
Type for a list of model output sections.
Definition: BootImageGenerator.h:49
section_vector_t m_sections
Requested output sections.
Definition: BootImageGenerator.h:51
Definition: BootImage.h:13
Pure abstract interface class to a table of options.
Definition: apps/elftosb/common/OptionContext.h:18
OptionContext * m_options
Global option context.
Definition: BootImageGenerator.h:52
void processVersionOptions(BootImage *image)
Handle common product and component version options.
Definition: BootImageGenerator.cpp:23
void setOptionContext(OptionContext *context)
Set the global option context.
Definition: BootImageGenerator.h:43
Abstract base class for all boot image format classes.
Definition: BootImage.h:25
virtual BootImage * generate()=0
Pure virtual method to generate the output BootImage from input sections.
Abstract base class for generators of specific boot image formats.
Definition: BootImageGenerator.h:33
BootImageGenerator()
Constructor.
Definition: BootImageGenerator.h:37
Base class for data model of sections of the output file.
Definition: OutputSection.h:20