ifw-fcf
5.0.0-pre2
|
Class that manages the buffer of the setup request. More...
Public Member Functions | |
def | __init__ (self) |
def | action (self, devtype, dic) |
It does the convertion of the SPF to JSON string. More... | |
def | lamp (self, dic) |
Handles the conversion for a lamp device. More... | |
def | actuator (self, dic) |
Handles the conversion for an actuator device. More... | |
def | shutter (self, dic) |
Handles the conversion for a shutter device. More... | |
def | motor (self, dic) |
Handles the conversion for a motor device. More... | |
def | drot (self, dic) |
Handles the conversion for a drot device. More... | |
def | adc (self, dic) |
Handles the conversion for a adc device. More... | |
def | piezo (self, dic) |
Handles the conversion for a piezo device. More... | |
def | iodev (self, dic) |
Handles the conversion for a iodev device. More... | |
Class that manages the buffer of the setup request.
It converts a setup buffer in Simple Parameter Format (SPF) into JSON format. Once the buffer is in JSON it shall be validated against the schema.
def clib.spf_buffer.SpfBuffer.__init__ | ( | self | ) |
def clib.spf_buffer.SpfBuffer.action | ( | self, | |
devtype, | |||
dic | |||
) |
It does the convertion of the SPF to JSON string.
def clib.spf_buffer.SpfBuffer.actuator | ( | self, | |
dic | |||
) |
Handles the conversion for an actuator device.
def clib.spf_buffer.SpfBuffer.adc | ( | self, | |
dic | |||
) |
Handles the conversion for a adc device.
def clib.spf_buffer.SpfBuffer.drot | ( | self, | |
dic | |||
) |
Handles the conversion for a drot device.
def clib.spf_buffer.SpfBuffer.iodev | ( | self, | |
dic | |||
) |
Handles the conversion for a iodev device.
def clib.spf_buffer.SpfBuffer.lamp | ( | self, | |
dic | |||
) |
Handles the conversion for a lamp device.
def clib.spf_buffer.SpfBuffer.motor | ( | self, | |
dic | |||
) |
Handles the conversion for a motor device.
def clib.spf_buffer.SpfBuffer.piezo | ( | self, | |
dic | |||
) |
Handles the conversion for a piezo device.
def clib.spf_buffer.SpfBuffer.shutter | ( | self, | |
dic | |||
) |
Handles the conversion for a shutter device.