BusAccess

class BusAccess
Add(busKey)

Adds a bus to the bus access.

Parameters:
busKey : str

Name of the bus

Returns:

The bus which was added

Return type:

Bus

Clone()

Call this method if you want to use API-objects in multiple contexts, e.g. if you want to insert a specific test step in multiple blocks.

Returns:

A copy of this object

Return type:

BusAccess

Delete(busKey)

Deletes a bus from bus access.

Parameters:
busKey : str

Name of bus to delete

Get(busKey)

Returns a bus object.

Parameters:
busKey : str

Name of the bus

Returns:

The bus object

Return type:

Bus

GetAll()

Returns a list of the names of all the accessed buses.

Returns:

List of names of all accessed buses

Return type:

list[str]