ADTF_DEVICE_TOOLBOX  3.12.1 (ADTF 3.18.3)
someip_support_srv_intf.h
Go to the documentation of this file.
1 
8 #pragma once
9 
10 #include "someip_database_intf.h"
11 #include "someip_coder_intf.h"
12 #include <adtf_utils.h>
13 #include <adtf_ucom3.h>
14 
15 
16 constexpr char CID_DEVTB_SOMEIP[] = "someip.service.devicetb.cid";
17 
18 
22 namespace adtf
23 {
24 
28 namespace devicetb
29 {
30 
34 namespace sdk
35 {
36 
40 namespace someip
41 {
42 
46 namespace hood
47 {
48 
52  class ISomeIpService : public adtf::ucom::ant::IObject
53  {
54  public:
56  ADTF_IID(ISomeIpService, "someip_service.hood.someip.sdk.devicetb.adtf.iid");
57 
64  virtual tResult CreateDecoder(adtf::ucom::ant::iobject_ptr<adtf::devicetb::sdk::someip::hood::ISomeIpDecoder>& pDecoder) = 0;
65 
74  virtual tResult GetDatabase(adtf::ucom::ant::iobject_ptr<const adtf::devicetb::sdk::someip::hood::ISomeIpDatabase>& pDatabase) const = 0;
75  };
76 
77 } // namespace hood
78 
81 
82 } // namespace someip
83 } // namespace sdk
84 } // namespace devicetb
85 } // namespace adtf
The ISomeIpService interface provides access to SOME/IP-specific ADTF components.
virtual tResult CreateDecoder(adtf::ucom::ant::iobject_ptr< adtf::devicetb::sdk::someip::hood::ISomeIpDecoder > &pDecoder)=0
Creates a new SOME/IP coder object.
virtual tResult GetDatabase(adtf::ucom::ant::iobject_ptr< const adtf::devicetb::sdk::someip::hood::ISomeIpDatabase > &pDatabase) const =0
Returns the current SOME/IP database object.
ADTF_IID(ISomeIpService, "someip_service.hood.someip.sdk.devicetb.adtf.iid")
Interface ID for the SOME/IP service interface.
hood::ISomeIpService ISomeIpService
The ISomeIpService interface provides access to SOME/IP-specific ADTF components.
ADTF - Namespace.
Copyright © CARIAD SE.
Copyright © CARIAD SE.