|
ADTF Device Toolbox SDK
|
#include <flexray_database_intf.h>
Public Member Functions | |
| ADTF_IID (IFlexRayDatabase, "flexray_database.axle.flexray.sdk.devicetb.adtf.iid") | |
| Interface ID for the fibex database service interface. | |
| virtual const char * | GetName () const =0 |
| virtual tResult | GetClusterConfig (tClusterConfig *pCluster)=0 |
| virtual tResult | GetChannelName (tChannelID nChannel, const char **pChannelName) const =0 |
| virtual tResult | GetECUCount (uint32_t *pnECUCount) const =0 |
| virtual tResult | GetECUName (tECUID nECUID, const char **pECUName) const =0 |
| virtual tResult | GetECUID (const char *strECUName, tECUID *pnECUID) const =0 |
| virtual tResult | GetECUInfo (tECUID nECUID, const tECUInfo **pECUInfo) const =0 |
| virtual tResult | GetECUConfig (const char *strECU, tECUConfig *pECUConfig)=0 |
| virtual tResult | GetSignalCount (uint32_t *pnSignalCount) const =0 |
| virtual tResult | GetSignalName (tSignalID nSignalID, const char **pSignalName) const =0 |
| virtual tResult | GetSignalUnit (tSignalID nSignalID, const char **pSignalUnit) const =0 |
| virtual tResult | GetSignalDescription (tSignalID nSignalID, const char **pSignalDescription) const =0 |
| virtual tResult | GetSignalInfo (tSignalID nSignalID, const tSignalInfo **pSignalInfo) const =0 |
| virtual tResult | GetPDUCount (uint32_t *pnPDUCount) const =0 |
| virtual tResult | GetPDUID (const char *strPDUName, tPDUID *pnPDUID) const =0 |
| virtual tResult | GetPDUName (tPDUID nPDUID, const char **pPDUName) const =0 |
| virtual tResult | GetPDUInfo (tPDUID nPDUID, const tPDUInfo **pPDUInfo) const =0 |
| virtual tResult | GetPDUSignalMap (tPDUID nPDUID, uint32_t *nSignalCount, const tSignalID **pSignalMap) const =0 |
| virtual tResult | GetSignalID (const char *strSignalName, tSignalID *pnSignalID) const =0 |
| virtual tResult | GetFrameInfo (tChannelID nChannel, tCycleID nCycle, tSlotID nSlot, const tFrameInfo **pFrameInfo) const =0 |
| virtual tResult | GetCycleInfo (tChannelID nChannel, tCycleID nCycle, const tCycleInfo **pCycleInfo) const =0 |
| virtual tResult | GetChannelsForECU (tECUID nECUID, tChannelID **pChannelIDs, uint8_t *pChannelCount) const =0 |
| virtual tResult | GetClusterConfig (tChannelID nChannelID, tClusterConfig *pConfig)=0 |
| virtual tResult | GetSignalPDUMappingConfig (tChannelID nChannelID, tSignalPDUMappingConfig *pConfig)=0 |
| virtual tResult | GetClusterName (tChannelID nChannelID, const char **strClusterName)=0 |
| virtual tResult | GetNetworkID (const char *strClusterName, tNetworkID *nNetworkID)=0 |
| virtual tResult | SetChannelID (tNetworkID nNetworkID, tChannelABID nChannelABID, tChannelID *pChannelID) const =0 |
| virtual tResult | GetNetworkID (tChannelID nChannelID, tNetworkID *pNetworkID) const =0 |
| virtual tResult | GetChannelABID (tChannelID nChannelID, tChannelABID *pChannelABID) const =0 |
| virtual tResult | GetAllClusterNames (tClusterNameLst *pClusterNames)=0 |
| virtual tResult | GetAllECUNames (const char *strProjectID, tECUNameLst *pECUNames)=0 |
| virtual tResult | GetProjectID (const char *strFileName, const char **strProjectID)=0 |
Interface of FIBEX database
|
pure virtual |
Returns the Short-Names of all Clusters
| [out] | pClusterNames | - Contains a list of all Cluster-Names and the size of the list |
| ERR_INVALID_FILE | if no cluster was found in Fibex-File(s) |
|
pure virtual |
Returns the Short-Names of all ECU
| [out] | pECUNames | - Contains a list of all ECU-Names and the size of the list |
| ERR_POINTER | if any pointer is a nullptr |
|
pure virtual |
Returns the tChannelABID which is contained in a tChannelID
| [in] | nChannelID | - the internal ID of the Channel (cluster and A/B channel) |
| [out] | pChannelABID | - tChannelABID which is contained in a tChannelID |
| ERR_POINTER | if pChannelABID is NULL-Pointer |
|
pure virtual |
Returns the name of a channel
| nChannel | [in] Channel ID |
| pChannelName | [out] Pointer to pointer variable of channel name |
|
pure virtual |
Get the Channel ID's of all Channels this ECU is connected to
| [in] | nECUID | - the ID of the ECU |
| [out] | pChannelIDs | - Pointer to Array of all ChannelIDs, the ECU is connected to |
| [out] | pChannelCount | - Number of Channels connected to this ECU |
|
pure virtual |
Gets the cluster configuration.
| [out] | pConfig | - the cluster configuration |
| [in] | nChannelID | - the Network/ClusterID is part of nChannelID, see tChannelID |
| ERR_INVALID_FILE | if parsing failed |
|
pure virtual |
Returns information about the cluster
| pCluster | [out] Pointer to information structure |
|
pure virtual |
Gets the name of the cluster with ID nChannelID.
| [out] | strClusterName | - the Short-Name of the Cluster |
| [in] | nChannelID | - the Network/ClusterID is part of nChannelID, see tChannelID |
| ERR_INVALID_FILE | if parsing failed |
|
pure virtual |
Returns information about a cycle
| nChannel | [in] Channel |
| nCycle | [in] Cycle |
| pCycleInfo | [out] Pointer to the information structure |
|
pure virtual |
Returns the configuration information of a ECU
| strECU | [in] |
| pECUConfig | [out] |
|
pure virtual |
Returns the count of ECUs
| pnECUCount | [out] Pointer to variable of ECU count |
|
pure virtual |
Retrieves the ID of an ECU.
| strECUName | [in] Name of ECU |
| pnECUID | [out] ID of ECU. |
|
pure virtual |
Retrieves the ID of an ECU.
| nECUID | [in] ID of ECU. |
| pECUInfo | [out] Pointer to pointer variable of ECU information |
|
pure virtual |
Retrieves the name of an ECU.
| nECUID | [in] ID of ECU. |
| pECUName | [out] Name of ECU. |
|
pure virtual |
Returns information about a frame
| nChannel | [in] Channel ID |
| nCycle | [in] Cycle ID |
| nSlot | [in] Slot ID |
| pFrameInfo | [out] Pointer to the information structure |
|
pure virtual |
Returns the name of the database
|
pure virtual |
Gets the tNetwork ID of the cluster/network with short-name strClusterName.
| [out] | strClusterName | - the Short-Name of the Cluster |
| [in] | nNetworkID | - the Network/ClusterID is part of nChannelID, see tChannelID |
| ERR_NOT_FOUND | if parsing failed |
|
pure virtual |
Returns the tNetworkID which is contained in a tChannelID
| [in] | nChannelID | - the internal ID of the Channel (cluster and A/B channel) |
| [out] | pNetworkID | - tNetworkID which is contained in a tChannelID |
| ERR_POINTER | if pNetworkID is NULL-Pointer |
|
pure virtual |
Returns the count of PDUs described in this FIBEX database.
| pnPDUCount | [out] Count of PDUs |
|
pure virtual |
Retrieves the ID of a PDU
| strPDUName | [in] Name of PDU |
| pnPDUID | [out] PDU ID |
|
pure virtual |
Retrieves the count of PDU of a frame.
| nPDUID | [in] PDU ID |
| pPDUInfo | [out] Reference of pointer to the structure. |
Implemented in adtf::devicetb::sdk::flexray::hood::IFlexRayDatabase.
|
pure virtual |
Retrieves the name of a PDU.
| nPDUID | [in] PDU ID |
| pPDUName | [out] Name of PDU |
|
pure virtual |
Returns the map of signals for a PDU
| nPDUID | [in] PDU ID |
| nSignalCount | [out] Address of integer receiving count of signals |
| pSignalMap | [out] Address of integer pointer, receiving address of signal index array. (May be NULL) |
|
pure virtual |
Returns the Project ID of a FIBEX-File
| [in] | strFileName | - The name of the FIBEX-File |
| [out] | strProjectID | - Project ID (string) of the FIBEX-File |
| ERR_NOT_FOUND | if no Project ID was found for this FIBEX-File |
|
pure virtual |
Returns the count of signals described in this FIBEX database.
| pnSignalCount | [out] Count of signals |
|
pure virtual |
Returns the description of a signal
| nSignalID | [in] Signal ID |
| pSignalDescription | [out] Pointer to pointer variable of signal description |
|
pure virtual |
Retrieves the ID of a signal
| strSignalName | [in] name of signal |
| pnSignalID | [out] Address of integer receiving signal ID |
|
pure virtual |
Returns information about a signal
| nSignalID | [in] Signal ID |
| pSignalInfo | [out] Pointer to pointer variable of signal information |
|
pure virtual |
Returns the name of a signal
| nSignalID | [in] Signal ID |
| pSignalName | [out] Pointer to pointer variable of signal name |
|
pure virtual |
Gets the Signal / PDUMapping configuration.
| [out] | pConfig | - the Signal / PDUMapping configuration |
| [in] | nChannelID | - the Network/ClusterID is part of nChannelID, see tChannelID |
| ERR_INVALID_FILE | if parsing failed |
|
pure virtual |
Returns the unito of a signal
| nSignalID | [in] Signal ID |
| pSignalUnit | [out] Pointer to pointer variable of signal unit |
|
pure virtual |
Creates the ChannelID (see tChannelID) from a tNetworkID and tChannelABID
| [in] | nNetworkID | - the ID of the cluster/network |
| [in] | nChannelABID | - the ID of the Channel (A or B) |
| [out] | pChannelID | - Created tChannelID. First four Bit contain the nNetworkID. Last four Bit contain the nChannelABID |
| ERR_POINTER | if pChannelID is NULL-Pointer |