The ICANSupport interface.
More...
|
| ADTF_IID (ICANSupport, "can.axle.can.sdk.devicetb.adtf.iid") |
|
virtual tResult | CreateCoder (adtf::ucom::ant::iobject_ptr< ICANCoder > &pObj)=0 |
| Creates a new CAN coder object. More...
|
|
virtual tResult | GetDatabase (tChannelID nChannel, adtf::ucom::ant::iobject_ptr< ICANDatabase > &pCANDatabase)=0 |
| Returns the CAN Database for the channel. More...
|
|
virtual tResult | LoadDatabase (const char *strDatabaseFiles, adtf::ucom::ant::iobject_ptr< ICANDatabase > &pCanDatabase)=0 |
| Loads all files from the file list (separated with semicolons or commas) and merge them together to one database. More...
|
|
The ICANSupport interface.
Definition at line 43 of file can_support_srv_intf.h.
◆ CreateCoder()
virtual tResult CreateCoder |
( |
adtf::ucom::ant::iobject_ptr< ICANCoder > & |
pObj | ) |
|
|
pure virtual |
Creates a new CAN coder object.
- Parameters
-
ppObj | [out] Pointer to object which implements ICANCoder interface |
- Returns
- Returns a standard result code.
◆ GetDatabase()
virtual tResult GetDatabase |
( |
tChannelID |
nChannel, |
|
|
adtf::ucom::ant::iobject_ptr< ICANDatabase > & |
pCANDatabase |
|
) |
| |
|
pure virtual |
Returns the CAN Database for the channel.
- Parameters
-
[in] | nChannel | CAN Channel number |
[out] | pCANDatabase | Pointer to CAN database |
- Return values
-
ERR_NOERROR | No Error. |
ERR_NOT_FOUND | For the given channel no CAN database is defined |
◆ LoadDatabase()
virtual tResult LoadDatabase |
( |
const char * |
strDatabaseFiles, |
|
|
adtf::ucom::ant::iobject_ptr< ICANDatabase > & |
pCanDatabase |
|
) |
| |
|
pure virtual |
Loads all files from the file list (separated with semicolons or commas) and merge them together to one database.
- Parameters
-
[in] | strDatabaseFiles | List of DBC files to load |
[out] | pCanDatabase | Pointer to object which implements ICANDatabase interface If more than one file is listed in strFileNames, the results will be merged. |
- Return values
-
ERR_NOERROR | No Error. |
ERR_NOT_FOUND | one or more files cannot be loaded |