|
Veethree D7 SDK
|
an interface to wrap uboot environment operations. This allows for mock implementations to be create for host builds or during testing
#include <libuboot_raii_interface.h>
Public Member Functions | |
| virtual void | set_value (std::string_view var, std::string_view value)=0 |
| Set a uboot environment variable. | |
| virtual void | get_value (std::string_view var, std::string &value)=0 |
| Get the value of a uboot environment variable. | |
| virtual void | get_vars (std::unordered_map< std::string, std::string > &map)=0 |
| Populate a map with the current uboot environment variables. | |
| libuboot_raii_interface (const libuboot_raii_interface &)=delete | |
| libuboot_raii_interface (libuboot_raii_interface &&)=delete | |
| libuboot_raii_interface & | operator= (const libuboot_raii_interface &)=delete |
| libuboot_raii_interface & | operator= (libuboot_raii_interface &&)=delete |
an interface to wrap uboot environment operations. This allows for mock implementations to be create for host builds or during testing
|
delete |
Deleted constructors
|
delete |
Deleted constructors
|
pure virtual |
Get the value of a uboot environment variable.
| var | Name of the variable |
| value | [out] String to store the value of the variable |
Implemented in vsdk::sys::libuboot_raii.
|
pure virtual |
Populate a map with the current uboot environment variables.
| map | Map to store the key=>value pairs |
Implemented in vsdk::sys::libuboot_raii.
|
delete |
Deleted constructors
|
delete |
Deleted constructors
|
pure virtual |
Set a uboot environment variable.
| var | Name of the variable |
| value | Value to set the variable |
Implemented in vsdk::sys::libuboot_raii.