diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-04-02 19:42:45 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-04-02 19:42:45 -0500 |
commit | 988817625a3acca49205c6f15fff743e2789c8ca (patch) | |
tree | bc283da3df36c8c0b76de5c023aeadac6c474ae3 /image/backends/README.rst | |
parent | c6b0e5fc81d905f57688c696f80e480712f612ab (diff) | |
download | horizon-988817625a3acca49205c6f15fff743e2789c8ca.tar.gz horizon-988817625a3acca49205c6f15fff743e2789c8ca.tar.bz2 horizon-988817625a3acca49205c6f15fff743e2789c8ca.tar.xz horizon-988817625a3acca49205c6f15fff743e2789c8ca.zip |
image: Actually make backends registerable
Diffstat (limited to 'image/backends/README.rst')
-rw-r--r-- | image/backends/README.rst | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/image/backends/README.rst b/image/backends/README.rst index acb44ef..e2a91a7 100644 --- a/image/backends/README.rst +++ b/image/backends/README.rst @@ -41,9 +41,10 @@ Design Image creation backends shall derive from the Horizon::Image::BasicBackend class. Concrete backends can exist in any namespace. To be used with the -Image Creation utility, the backend must be registered in the ``basic.cc`` -file along with a unique Type Code. This Type Code can then be passed to -the Image Creation utility with the ``-t`` parameter for use. +Image Creation utility, the backend must be registered using the static +``BackendManager::register_backend`` function, using a unique Type Code. +This Type Code can then be passed to the Image Creation utility with the +``-t`` parameter for use. The Horizon::Image::BasicBackend is an abstract (pure virtual) class that has a single method that you must implement: ``create()``. This will be |