#include <efi_loader.h>
◆ EfiLoaderImage()
| cuttlefish::EfiLoaderImage::EfiLoaderImage |
( |
std::string |
path | ) |
|
|
private |
◆ Create()
◆ Generate()
| Result< std::string > cuttlefish::EfiLoaderImage::Generate |
( |
| ) |
|
|
overridevirtual |
If the image file is not ready, generate it. Returns the path to the file.
If this function succeeds, Path() should return the same value afterwards.
Implements cuttlefish::ImageFile.
◆ Name()
| std::string cuttlefish::EfiLoaderImage::Name |
( |
| ) |
const |
|
overridevirtual |
Image name, reused in multiple places for consistency.
- The filename (minus .img extension) used on the file system.
- GPT entry name
- Logical partition name within the super image.
Implements cuttlefish::ImageFile.
◆ Path()
| Result< std::string > cuttlefish::EfiLoaderImage::Path |
( |
| ) |
const |
|
overridevirtual |
Returns the path on the filesystem where the image file is.
The image file should be ready for use and correct for the current device configuration.
Implements cuttlefish::ImageFile.
◆ path_
| std::string cuttlefish::EfiLoaderImage::path_ |
|
private |
The documentation for this class was generated from the following files: