Skip to content

Commit 7b76012

Browse files
committed
documentation: add description of the "register_driver" method
1 parent 9ceac1b commit 7b76012

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -601,6 +601,14 @@ notify the framework about the change.
601601
I.e. for normal operation, even errors during normal operation, there
602602
should be no exceptions.
603603

604+
Registering a custom driver
605+
606+
`register_driver(driver_name, tube_ctr)` - queue method is used to register
607+
a custom driver. The arguments are:
608+
* driver_name: unique driver name. Must be different from the core drivers
609+
names.
610+
* tube_ctr: implementation of tube control methods("create_space" and "new").
611+
604612
## Driver API
605613

606614
Driver class must implement the following API:

0 commit comments

Comments
 (0)