ADTF_DEVICE_TOOLBOX  3.12.1 (ADTF 3.18.3)
canfd_support_srv_intf.h
Go to the documentation of this file.
1 
8 #pragma once
9 
10 #include "canfd_coder_intf.h"
11 
12 #define CID_DEVTB_CANFD_SUPPORT "canfd.service.devicetb.cid"
13 
17 namespace adtf
18 {
19 
23 namespace devicetb
24 {
25 
29 namespace sdk
30 {
31 
35 namespace canfd
36 {
37 
41 namespace axle
42 {
46 class ICANFDSupport : public adtf::ucom::ant::IObject
47 {
48 public:
49  ADTF_IID(ICANFDSupport, "canfd.axle.canfd.sdk.devicetb.adtf.iid");
50 
57  virtual tResult CreateCoder(adtf::ucom::iobject_ptr<ICANFDCoder>& pObj) = 0;
58 
67  virtual tResult GetDatabase(tChannelID nChannel, adtf::ucom::ant::iobject_ptr<ICANFDDatabase>& pCANFDDatabase) = 0;
68 
78  virtual tResult LoadDatabase(const char* strDatabaseFiles,
79  adtf::ucom::ant::iobject_ptr<ICANFDDatabase>& pCanfdDatabase) = 0;
80 
81 };
82 
83 } // namespace axle
84 
88 namespace ignition
89 {
93 class ICANFDSupport : public adtf::ucom::ant::IObject
94 {
95 public:
96  ADTF_IID(ICANFDSupport, "canfd.ignition.canfd.sdk.devicetb.adtf.iid");
97 
104  virtual tResult CreateCoder(adtf::ucom::iobject_ptr<ICANFDCoder>& pObj) = 0;
105 
114  virtual tResult GetDatabase(tChannelID nChannel, adtf::ucom::ant::iobject_ptr<ICANFDDatabase>& pCANFDDatabase) = 0;
115 
126  virtual tResult LoadDatabase(const char* strDatabaseFiles, const char* strClusterName,
127  adtf::ucom::ant::iobject_ptr<ICANFDDatabase>& pCanfdDatabase) = 0;
128 
129 };
130 } // namespace ignition
131 
135 namespace jack
136 {
141  {
142  public:
143  ADTF_IID(ICANFDSupport, "canfd.jack.canfd.sdk.devicetb.adtf.iid");
144 
151  virtual tResult CreateCoder(adtf::ucom::iobject_ptr<ICANFDCoder>& pObj) = 0;
152 
161  virtual tResult GetDatabase(tChannelID nChannel, adtf::ucom::ant::iobject_ptr<ICANFDDatabase>& pCANFDDatabase) = 0;
162 
173  virtual tResult LoadDatabase(const char* strDatabaseFiles, const char* strClusterName,
174  adtf::ucom::ant::iobject_ptr<ICANFDDatabase>& pCanfdDatabase) = 0;
175 
176  };
177 } // namespace jack
178 
180 
181 } // namespace canfd
182 } // namespace sdk
183 } // namespace devicetb
184 } // namespace adtf
Copyright © CARIAD SE.
virtual tResult CreateCoder(adtf::ucom::iobject_ptr< ICANFDCoder > &pObj)=0
Creates a new CANFD coder object.
virtual tResult LoadDatabase(const char *strDatabaseFiles, adtf::ucom::ant::iobject_ptr< ICANFDDatabase > &pCanfdDatabase)=0
Loads all files from the file list (separated with semicolons or commas) and merge them together to o...
virtual tResult GetDatabase(tChannelID nChannel, adtf::ucom::ant::iobject_ptr< ICANFDDatabase > &pCANFDDatabase)=0
Returns the CANFD Database for the channel.
virtual tResult LoadDatabase(const char *strDatabaseFiles, const char *strClusterName, adtf::ucom::ant::iobject_ptr< ICANFDDatabase > &pCanfdDatabase)=0
Loads all files from the file list (separated with semicolons or commas) and merge them together to o...
virtual tResult CreateCoder(adtf::ucom::iobject_ptr< ICANFDCoder > &pObj)=0
Creates a new CANFD coder object.
virtual tResult GetDatabase(tChannelID nChannel, adtf::ucom::ant::iobject_ptr< ICANFDDatabase > &pCANFDDatabase)=0
Returns the CANFD Database for the channel.
virtual tResult LoadDatabase(const char *strDatabaseFiles, const char *strClusterName, adtf::ucom::ant::iobject_ptr< ICANFDDatabase > &pCanfdDatabase)=0
Loads all files from the file list (separated with semicolons or commas) and merge them together to o...
virtual tResult CreateCoder(adtf::ucom::iobject_ptr< ICANFDCoder > &pObj)=0
Creates a new CANFD coder object.
virtual tResult GetDatabase(tChannelID nChannel, adtf::ucom::ant::iobject_ptr< ICANFDDatabase > &pCANFDDatabase)=0
Returns the CANFD Database for the channel.
ignition::tChannelID tChannelID
Definition: canfd_types.h:728
jack::ICANFDSupport ICANFDSupport
The ICANFDSupport interface.
ADTF - Namespace.