DatabasePDU

Summary

PDU Database instance.

See also

PduEcu

Methods

Structure

class DatabasePDU
get_all_clusters() List[ICluster]

Gets all the Clusters of the database and returns them in a list.

Returns

A list of all the Clusters in the database.

Return type

List[ICluster]

get_all_ecus() List[PduEcu]

Gets all the ECUs of the database and returns them in a list.

Returns

List of all the ECUs in the database.

Return type

List[PduEcu]

get_all_ecus() List[ISignalEcu]

Gets all the ISignalEcus of the database and returns them in a list.

Returns

A list of all the ISignalEcus in the database.

Return type

List[ISignalEcu]

get_all_frames() List[IFrameInstance]

Gets all the Frames of the database and returns them in a list.

Returns

List of all the Frames in the database.

Return type

List[IFrameInstance]

get_all_signals() List[ISignal]

Gets all the Signals of the database and returns them in a list.

Returns

List of all the Signals in the database.

Return type

List[ISignal]

get_ecu(name: str) PduEcu

Identifies an ECU by its name from the ECUs of the database and returns it.

Parameters

name (str) – The name of the ECU to be identified.

Returns

The ECU identified.

Return type

PduEcu

get_frame(frame_id: uint32) IFrameInstance

Identifies a frame by its id from all the frames of the database and returns it.

Parameters

frame_id (uint32) – The id of the frame to be identified.

Returns

The frame identified.

Return type

IFrameInstance

get_path() str

Gets the path of the database.

Returns

The path of the database

Return type

str