#include <can_support_srv_intf.h>
The ICANSupport interface
◆ CreateCoder()
| virtual tResult adtf::devicetb::sdk::can::axle::ICANSupport::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 adtf::devicetb::sdk::can::axle::ICANSupport::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 adtf::devicetb::sdk::can::axle::ICANSupport::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 |
The documentation for this class was generated from the following file: