ADTF_DEVICE_TOOLBOX  3.12.1 (ADTF 3.18.3)
can_support_srv_intf.h
Go to the documentation of this file.
1 
8 #pragma once
9 
10 #include "can_coder_intf.h"
11 #include "canfd_support_srv_intf.h"
12 
13 #define CID_DEVTB_CAN_SUPPORT "can.service.devicetb.cid"
14 
18 namespace adtf
19 {
23 namespace devicetb
24 {
28 namespace sdk
29 {
33 namespace can
34 {
38 namespace axle
39 {
43 class ICANSupport : public adtf::ucom::ant::IObject
44 {
45 public:
46  ADTF_IID(ICANSupport, "can.axle.can.sdk.devicetb.adtf.iid");
47 
54  virtual tResult CreateCoder(adtf::ucom::ant::iobject_ptr<ICANCoder>& pObj) = 0;
55 
65  virtual tResult GetDatabase(tChannelID nChannel,
66  adtf::ucom::ant::iobject_ptr<ICANDatabase>& pCANDatabase) = 0;
67 
79  virtual tResult LoadDatabase(const char* strDatabaseFiles, adtf::ucom::ant::iobject_ptr<ICANDatabase>& pCanDatabase) = 0;
80 
81 };
82 
83 } // namespace axle
84 
86 
87 } // namespace can
88 } // namespace sdk
89 } // namespace devicetb
90 } // namespace adtf
Copyright © CARIAD SE.
Copyright © CARIAD SE.
virtual tResult CreateCoder(adtf::ucom::ant::iobject_ptr< ICANCoder > &pObj)=0
Creates a new CAN coder object.
virtual tResult GetDatabase(tChannelID nChannel, adtf::ucom::ant::iobject_ptr< ICANDatabase > &pCANDatabase)=0
Returns the CAN Database for the channel.
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 o...
axle::ICANSupport ICANSupport
The ICANSupport interface.
ADTF - Namespace.