Kaspersky Neuromorphic Platform
1.0.0
API Reference
|
Observer class that unloads messages and stores them. More...
#include <knp/core/impexp.h>
#include <knp/core/message_endpoint.h>
#include <knp/core/messaging/messaging.h>
#include <filesystem>
#include <fstream>
#include <functional>
#include <string>
#include <unordered_map>
#include <utility>
#include <vector>
#include <boost/mp11.hpp>
Go to the source code of this file.
Classes | |
class | knp::framework::monitoring::MessageObserver< Message > |
The MessageObserver class is a definition of an observer that receives messages and processes them. More... | |
Namespaces | |
namespace | knp |
General framework namespace. | |
namespace | knp::framework |
Framework namespace. | |
namespace | knp::framework::monitoring |
Monitoring namespace. | |
Typedefs | |
template<class Message > | |
using | knp::framework::monitoring::MessageProcessor = std::function<void(const std::vector<Message>)> |
Functor for message processing. | |
using | knp::framework::monitoring::AllObservers = boost::mp11::mp_transform<MessageObserver, core::messaging::AllMessages> |
List of all possible observers. | |
using | knp::framework::monitoring::AnyObserverVariant = boost::mp11::mp_rename<AllObservers, std::variant> |
Observer variant that contains all possible observers. | |
Observer class that unloads messages and stores them.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition in file observer.h.