Skip to content

Commit

Permalink
CommonAPI-SomeIP 3.1.11
Browse files Browse the repository at this point in the history
  • Loading branch information
juergengehring committed Feb 28, 2017
1 parent fba3007 commit c4cc92f
Show file tree
Hide file tree
Showing 54 changed files with 352 additions and 155 deletions.
8 changes: 8 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
Changes
=======

v3.1.11
- Bugfixes
- Removed Config.hpp. The defines of this file are now located in Constants.hpp
as C++ constants.
- Fixed concurrency issues when hosting multiple instances of the same service
in the same binary.
- Ensure proxy is not destroyed while callback function is invoked

v3.1.10.4
- Fixed crash (double free) on destruction of static objects
- Fixed availability issues in verification tests
Expand Down
10 changes: 5 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2013-2015 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
# Copyright (C) 2013-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
Expand All @@ -11,7 +11,7 @@ set (CMAKE_VERBOSE_MAKEFILE off)

set (LIBCOMMONAPI_SOMEIP_MAJOR_VERSION 3)
set (LIBCOMMONAPI_SOMEIP_MINOR_VERSION 1)
set (LIBCOMMONAPI_SOMEIP_PATCH_VERSION 10)
set (LIBCOMMONAPI_SOMEIP_PATCH_VERSION 11)

message(STATUS "Project name: ${PROJECT_NAME}")

Expand Down Expand Up @@ -119,9 +119,9 @@ endforeach ()
###################################################################################################

if ("${USE_INSTALLED_COMMONAPI}" STREQUAL "ON")
FIND_PACKAGE(CommonAPI 3.1.10 REQUIRED CONFIG NO_CMAKE_PACKAGE_REGISTRY)
FIND_PACKAGE(CommonAPI 3.1.11 REQUIRED CONFIG NO_CMAKE_PACKAGE_REGISTRY)
else()
FIND_PACKAGE(CommonAPI 3.1.10 REQUIRED CONFIG NO_SYSTEM_ENVIRONMENT_PATH NO_CMAKE_SYSTEM_PATH)
FIND_PACKAGE(CommonAPI 3.1.11 REQUIRED CONFIG NO_SYSTEM_ENVIRONMENT_PATH NO_CMAKE_SYSTEM_PATH)
endif()

message(STATUS "CommonAPI_CONSIDERED_CONFIGS: ${CommonAPI_CONSIDERED_CONFIGS}")
Expand All @@ -132,7 +132,7 @@ message(STATUS "CommonAPI Version: ${CommonAPI_VERSION}")
find_package( Boost 1.54 COMPONENTS system thread log REQUIRED )
include_directories( ${Boost_INCLUDE_DIR} )

find_package (vsomeip 2.5.0 REQUIRED)
find_package (vsomeip 2.5.3 REQUIRED)
message(STATUS "vsomeip version: ${vsomeip_VERSION}")

include_directories (
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
### CommonAPI C++ SOME/IP Runtime

##### Copyright
Copyright (C) 2016, Bayerische Motoren Werke Aktiengesellschaft (BMW AG).
Copyright (C) 2016, GENIVI Alliance, Inc.
Copyright (C) 2016-2017, Bayerische Motoren Werke Aktiengesellschaft (BMW AG).
Copyright (C) 2016-2017, GENIVI Alliance, Inc.

This file is part of GENIVI Project IPC Common API C++.
Contributions are licensed to the GENIVI Alliance under one or more Contribution License Agreements or MPL 2.0.
Expand Down
2 changes: 1 addition & 1 deletion include/CommonAPI/SomeIP/Address.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2014-2015 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// Copyright (C) 2014-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
Expand Down
2 changes: 1 addition & 1 deletion include/CommonAPI/SomeIP/AddressTranslator.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2014-2015 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// Copyright (C) 2014-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
Expand Down
2 changes: 1 addition & 1 deletion include/CommonAPI/SomeIP/Attribute.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2014-2015 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// Copyright (C) 2014-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
Expand Down
2 changes: 1 addition & 1 deletion include/CommonAPI/SomeIP/ClientId.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2014-2015 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// Copyright (C) 2014-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
Expand Down
2 changes: 1 addition & 1 deletion include/CommonAPI/SomeIP/CommonAPISomeIP.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2015 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// Copyright (C) 2015-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
Expand Down
2 changes: 1 addition & 1 deletion include/CommonAPI/SomeIP/Configuration.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2014-2015 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// Copyright (C) 2014-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
Expand Down
15 changes: 12 additions & 3 deletions include/CommonAPI/SomeIP/Connection.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2014-2015 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// Copyright (C) 2014-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
Expand Down Expand Up @@ -206,7 +206,7 @@ class Connection:
virtual void queueSelectiveErrorHandler(service_id_t serviceId,
instance_id_t instanceId);

virtual void getInitialEvent(service_id_t serviceId,
virtual void subscribeForField(service_id_t serviceId,
instance_id_t instanceId,
eventgroup_id_t eventGroupId,
event_id_t eventId,
Expand Down Expand Up @@ -251,7 +251,7 @@ class Connection:

ConnectionStatusEvent connectionStatusEvent_;

state_type_e connectionStatus_;
std::atomic<state_type_e> connectionStatus_;
mutable std::mutex connectionMutex_;
mutable std::condition_variable connectionCondition_;

Expand Down Expand Up @@ -327,6 +327,15 @@ class Connection:

std::mutex availabilityCalledMutex_;
std::map<service_id_t, std::map<instance_id_t, bool>> availabilityCalled_;

std::mutex requestedServicesMutex_;
std::map<service_id_t, std::map<instance_id_t, std::uint32_t>> requestedServices_;

std::mutex requestedEventsMutex_;
std::map<service_id_t,
std::map<instance_id_t,
std::map<eventgroup_id_t,
std::map<event_id_t, std::uint32_t>>>> requestedEvents_;
};


Expand Down
11 changes: 10 additions & 1 deletion include/CommonAPI/SomeIP/Constants.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2013-2015 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// Copyright (C) 2013-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
Expand All @@ -22,9 +22,18 @@
namespace CommonAPI {
namespace SomeIP {

const method_id_t ANY_METHOD = vsomeip::ANY_METHOD;
const minor_version_t ANY_MINOR_VERSION = vsomeip::ANY_MINOR;

const major_version_t DEFAULT_MAJOR_VERSION = vsomeip::DEFAULT_MAJOR;
const minor_version_t DEFAULT_MINOR_VERSION = vsomeip::DEFAULT_MINOR;

const service_id_t MIN_SERVICE_ID = 0x0001;
const service_id_t MAX_SERVICE_ID = 0xFFFD;

const instance_id_t MIN_INSTANCE_ID = 0x0001;
const instance_id_t MAX_INSTANCE_ID = 0xFFFE;

const ms_t ASYNC_MESSAGE_REPLY_TIMEOUT_MS = 5000;
const ms_t ASYNC_MESSAGE_CLEANUP_INTERVAL_MS = 1000;

Expand Down
2 changes: 1 addition & 1 deletion include/CommonAPI/SomeIP/Defines.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2013-2015 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// Copyright (C) 2013-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
Expand Down
2 changes: 1 addition & 1 deletion include/CommonAPI/SomeIP/Deployment.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2014-2015 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// Copyright (C) 2014-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
Expand Down
2 changes: 1 addition & 1 deletion include/CommonAPI/SomeIP/DispatchSource.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2015 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// Copyright (C) 2015-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
Expand Down
7 changes: 6 additions & 1 deletion include/CommonAPI/SomeIP/Event.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2014-2015 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// Copyright (C) 2014-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
Expand Down Expand Up @@ -42,6 +42,8 @@ class Event: public Events_ {
getMethodId_(0),
getReliable_(false),
arguments_(_arguments) {

proxy_.registerEvent(serviceId_, instanceId_, eventId_, eventgroupId_, isField_);
}

Event(ProxyBase &_proxy,
Expand All @@ -63,12 +65,15 @@ class Event: public Events_ {
getMethodId_(_methodId),
getReliable_(_getReliable),
arguments_(_arguments) {

proxy_.registerEvent(serviceId_, instanceId_, eventId_, eventgroupId_, isField_);
}

virtual ~Event() {
auto major = proxy_.getSomeIpAddress().getMajorVersion();
auto minor = proxy_.getSomeIpAddress().getMinorVersion();
proxy_.removeEventHandler(serviceId_, instanceId_, eventgroupId_, eventId_, handler_.get(), major, minor);
proxy_.unregisterEvent(serviceId_, instanceId_, eventId_);
}

virtual void onError(const uint16_t _errorCode, const uint32_t _tag) {
Expand Down
7 changes: 6 additions & 1 deletion include/CommonAPI/SomeIP/Factory.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2014-2015 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// Copyright (C) 2014-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
Expand All @@ -24,6 +24,9 @@
#include <CommonAPI/SomeIP/Types.hpp>

namespace CommonAPI {

class Runtime;

namespace SomeIP {

class Address;
Expand Down Expand Up @@ -108,6 +111,8 @@ class Factory : public CommonAPI::Factory {
// Initialization
COMMONAPI_EXPORT void registerInterface(InterfaceInitFunction _function);

static std::weak_ptr<CommonAPI::Runtime> runtime_;

private:
COMMONAPI_EXPORT void incrementConnection(
std::shared_ptr<ProxyConnection> _connection);
Expand Down
2 changes: 1 addition & 1 deletion include/CommonAPI/SomeIP/Helper.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2013-2015 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// Copyright (C) 2013-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
Expand Down
2 changes: 1 addition & 1 deletion include/CommonAPI/SomeIP/InputStream.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2014-2015 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// Copyright (C) 2014-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2014-2015 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// Copyright (C) 2014-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
Expand Down
2 changes: 1 addition & 1 deletion include/CommonAPI/SomeIP/InterfaceHandler.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2014-2015 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// Copyright (C) 2014-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
Expand Down
2 changes: 1 addition & 1 deletion include/CommonAPI/SomeIP/Message.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2014-2015 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// Copyright (C) 2014-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
Expand Down
2 changes: 1 addition & 1 deletion include/CommonAPI/SomeIP/OutputStream.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2014-2015 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// Copyright (C) 2014-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
Expand Down
2 changes: 1 addition & 1 deletion include/CommonAPI/SomeIP/Proxy.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2014-2015 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// Copyright (C) 2014-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
Expand Down
8 changes: 4 additions & 4 deletions include/CommonAPI/SomeIP/ProxyAsyncCallbackHandler.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2014-2015 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// Copyright (C) 2014-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
Expand Down Expand Up @@ -75,9 +75,9 @@ class ProxyAsyncCallbackHandler: public ProxyConnection::MessageReplyAsyncHandle
}
}

//check if object is expired
if(!delegate_.object_.expired())
delegate_.function_(callStatus, std::move(std::get< ArgIndices_ >(argTuple_))...);
//ensure that delegate object (i.e Proxy) is not destroyed while callback function is invoked
if(auto itsDelegateObject = this->delegate_.object_.lock())
this->delegate_.function_(callStatus, std::move(std::get< ArgIndices_ >(argTuple_))...);

return callStatus;
}
Expand Down
8 changes: 4 additions & 4 deletions include/CommonAPI/SomeIP/ProxyAsyncEventCallbackHandler.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2014-2015 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// Copyright (C) 2014-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
Expand Down Expand Up @@ -57,9 +57,9 @@ class ProxyAsyncEventCallbackHandler: public ProxyConnection::MessageReplyAsyncH
inline CallStatus handleMessageReply(const CallStatus callStatus, const Message& message) const {
CallStatus status = callStatus;

//check if object is expired
if(!delegate_.object_.expired())
delegate_.function_(status, message, eventHandler_, tag_);
//ensure that delegate object (i.e Proxy) is not destroyed while callback function is invoked
if(auto itsDelegateObject = this->delegate_.object_.lock())
this->delegate_.function_(status, message, eventHandler_, tag_);

return status;
}
Expand Down
16 changes: 15 additions & 1 deletion include/CommonAPI/SomeIP/ProxyBase.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2014-2015 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// Copyright (C) 2014-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
Expand All @@ -25,6 +25,7 @@ namespace CommonAPI {
namespace SomeIP {

class Address;
class AddressTranslator;

class COMMONAPI_EXPORT_CLASS_EXPLICIT ProxyBase
: public virtual CommonAPI::Proxy {
Expand Down Expand Up @@ -87,6 +88,18 @@ class COMMONAPI_EXPORT_CLASS_EXPLICIT ProxyBase
major_version_t major);

COMMONAPI_EXPORT virtual bool init() = 0;

COMMONAPI_EXPORT void registerEvent(
service_id_t serviceId,
instance_id_t instanceId,
event_id_t eventId,
eventgroup_id_t eventGroupId,
bool isField);

COMMONAPI_EXPORT void unregisterEvent(
service_id_t serviceId,
instance_id_t instanceId,
event_id_t eventId);
protected:
const std::string commonApiDomain_;

Expand All @@ -97,6 +110,7 @@ class COMMONAPI_EXPORT_CLASS_EXPLICIT ProxyBase

std::set<event_id_t> eventHandlerAdded_;
std::mutex eventHandlerAddedMutex_;
std::shared_ptr<AddressTranslator> addressTranslator_;
};

const std::shared_ptr< ProxyConnection >& ProxyBase::getConnection() const {
Expand Down
4 changes: 2 additions & 2 deletions include/CommonAPI/SomeIP/ProxyConnection.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2014-2015 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// Copyright (C) 2014-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
Expand Down Expand Up @@ -144,7 +144,7 @@ class ProxyConnection {
virtual void queueSelectiveErrorHandler(service_id_t serviceId,
instance_id_t instanceId) = 0;

virtual void getInitialEvent(service_id_t serviceId,
virtual void subscribeForField(service_id_t serviceId,
instance_id_t instanceId,
eventgroup_id_t eventGroupId,
event_id_t eventId,
Expand Down
2 changes: 1 addition & 1 deletion include/CommonAPI/SomeIP/ProxyHelper.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2014-2015 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// Copyright (C) 2014-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
Expand Down
2 changes: 1 addition & 1 deletion include/CommonAPI/SomeIP/ProxyManager.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2014-2015 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// Copyright (C) 2014-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
Expand Down
2 changes: 1 addition & 1 deletion include/CommonAPI/SomeIP/SelectiveEvent.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2013-2015 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// Copyright (C) 2013-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
Expand Down
2 changes: 1 addition & 1 deletion include/CommonAPI/SomeIP/SerializableArguments.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2014-2015 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// Copyright (C) 2014-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
Expand Down
Loading

0 comments on commit c4cc92f

Please sign in to comment.