diff options
author | Juergen Gehring <juergen.gehring@bmw.de> | 2017-04-07 03:30:13 -0700 |
---|---|---|
committer | Juergen Gehring <juergen.gehring@bmw.de> | 2017-04-07 03:30:13 -0700 |
commit | 5315798ff81796217b55eb8c622f154bb0a1c487 (patch) | |
tree | a414da54a2ab36be5fbc2c95e551585c41cbc6f8 /implementation/endpoints/include/endpoint_impl.hpp | |
parent | c35b82a9459b866ab22bc3cabe274c7b36bca290 (diff) | |
download | vSomeIP-maintain/2.6.tar.gz |
vSomeIP 2.6.22.6.2maintain/2.6
Diffstat (limited to 'implementation/endpoints/include/endpoint_impl.hpp')
-rw-r--r-- | implementation/endpoints/include/endpoint_impl.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/implementation/endpoints/include/endpoint_impl.hpp b/implementation/endpoints/include/endpoint_impl.hpp index 3c9b3da..6b8b274 100644 --- a/implementation/endpoints/include/endpoint_impl.hpp +++ b/implementation/endpoints/include/endpoint_impl.hpp @@ -51,6 +51,8 @@ public: void decrement_use_count();
uint32_t get_use_count();
+ void register_error_handler(error_handler_t _error_handler);
+
public:
// required
virtual bool is_client() const = 0;
@@ -81,6 +83,9 @@ protected: std::mutex local_mutex_;
endpoint_type local_;
+
+ error_handler_t error_handler_;
+ std::mutex error_handler_mutex_;
};
} // namespace vsomeip
|