SMACC
Loading...
Searching...
No Matches
cb_service_server_callback_base.h
Go to the documentation of this file.
1#pragma once
3
4namespace smacc {
5template <typename TService>
7 public:
8 virtual void onEntry() override {
10 attachedClient_->onServiceRequestReceived(
12 }
13
14 virtual void onServiceRequestReceived(typename TService::Request& req,
15 std::shared_ptr<typename TService::Response> res) = 0;
16
17 protected:
19 nullptr;
20};
21} // namespace smacc
smacc::client_bases::SmaccServiceServerClient< TService > * attachedClient_
virtual void onServiceRequestReceived(typename TService::Request &req, std::shared_ptr< typename TService::Response > res)=0
void requiresClient(SmaccClientType *&storage)