summaryrefslogtreecommitdiff
path: root/image/backends/README.rst
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-04-02 19:42:45 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-04-02 19:42:45 -0500
commit988817625a3acca49205c6f15fff743e2789c8ca (patch)
treebc283da3df36c8c0b76de5c023aeadac6c474ae3 /image/backends/README.rst
parentc6b0e5fc81d905f57688c696f80e480712f612ab (diff)
downloadhorizon-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.rst7
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