DatabasePDU
Summary
PDU Database instance.
- Methods
Structure
- class DatabasePDU
- get_all_clusters() List[ICluster]
Gets all the Clusters of the database and returns them in a list.
- 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
- get_all_frame_triggerings() List[IFrameTriggering]
Gets all the frames triggerings of the database and returns them in a list.
- Returns
List of all the frames triggerings in the database.
- Return type
- 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
- get_ecu(ecu_name: str = None, ecu_id: str = None) ISignalEcu
Identifies an ECU by its name from the ECUs of the database and returns it.
- Parameters
- Returns
The ECU identified.
- Return type
- get_frame(frame_id: uint32, ecu_name: str = None, cluster_name: str = None) IFrameInstance
Identifies a frame by its id from all the frames of the database and returns it.
- Parameters
- Returns
The frame identified.
- Return type
- get_schedule_tables() List[ScheduleTable]
Gets all the Frames of the database and returns them in a list.
- Returns
List of all the Frames in the database.
- Return type
- get_signal(name: str) ISignalInstance
Identifies a signal by its name from all the signals of the database and returns it.
- Parameters
name (
str
) – The name of the signal- Returns
The signal identified
- Return type
- get_signals_by_frame(frame_id: uint32) List[ISignalInstance]
Identifies a frame by its id and returns all the signals of that frame.
- Parameters
frame_id (
uint32
) – The id of the frame to be identified- Returns
List of the signals
- Return type