Created rules_for_adding_new_device_types (markdown)

Uwe Seimet 2022-02-09 16:04:10 +01:00
parent 9a7dea742f
commit 404592a053

@ -0,0 +1,9 @@
Before adding a new device check that non of the existing devices is appropriate.
Steps for adding a new device:
1. Add the device type to the PbDeviceType enum of the protobuf definition
2. Add code for creating your device to the DeviceFactory class. The device instance and all devices-specific properties have to be created by this class.
3. Add code handle the device properties to the RascsiReponse class.
4. Add the device-specific implementation in new .cpp/.h files.
5. Update the manpages.