ifw-sup  3.0.0-pre3
Public Member Functions | List of all members
clib.setup_buffer.SetupBuffer Class Reference

Class manage the buffer of the setup request. More...

Public Member Functions

def __init__ (self, cii)
 
def update_json_data (self, json_data)
 
def add_json_file (self, file)
 Loads and parse a JSON file. More...
 
def dump_json (self)
 
def add_json_string (self, json_str)
 Loads and parse a JSON string. More...
 
def json2object (self)
 Loads and parse a JSON dictionary. More...
 
def add_subsystem_access (self, subsystem, access)
 add setting of access to the setup buffer More...
 
def reset_buffer (self)
 Clean Setup buffer (message) More...
 
def size (self)
 Get size of buffer (message) More...
 
def get (self, index)
 Get size of buffer (message) More...
 
def get_buffer (self)
 

Detailed Description

Class manage the buffer of the setup request.

Constructor & Destructor Documentation

◆ __init__()

def clib.setup_buffer.SetupBuffer.__init__ (   self,
  cii 
)

Member Function Documentation

◆ add_json_file()

def clib.setup_buffer.SetupBuffer.add_json_file (   self,
  file 
)

Loads and parse a JSON file.

◆ add_json_string()

def clib.setup_buffer.SetupBuffer.add_json_string (   self,
  json_str 
)

Loads and parse a JSON string.

◆ add_subsystem_access()

def clib.setup_buffer.SetupBuffer.add_subsystem_access (   self,
  subsystem,
  access 
)

add setting of access to the setup buffer

◆ dump_json()

def clib.setup_buffer.SetupBuffer.dump_json (   self)

◆ get()

def clib.setup_buffer.SetupBuffer.get (   self,
  index 
)

Get size of buffer (message)

◆ get_buffer()

def clib.setup_buffer.SetupBuffer.get_buffer (   self)

◆ json2object()

def clib.setup_buffer.SetupBuffer.json2object (   self)

Loads and parse a JSON dictionary.

◆ reset_buffer()

def clib.setup_buffer.SetupBuffer.reset_buffer (   self)

Clean Setup buffer (message)

◆ size()

def clib.setup_buffer.SetupBuffer.size (   self)

Get size of buffer (message)

◆ update_json_data()

def clib.setup_buffer.SetupBuffer.update_json_data (   self,
  json_data 
)

The documentation for this class was generated from the following file: