Kaspersky Neuromorphic Platform  1.0.0
API Reference
Loading...
Searching...
No Matches
message_header.h
Go to the documentation of this file.
1
22#pragma once
23
24#include <knp/core/core.h>
25#include <knp/core/uid.h>
26
27#include <iostream>
28#include <vector>
29
30
35{
40{
44 knp::core::UID sender_uid_;
49};
50
51
58std::istream &operator>>(std::istream &stream, MessageHeader &header);
59
66std::ostream &operator<<(std::ostream &stream, const MessageHeader &header);
67
68} // namespace knp::core::messaging
Class definition for core library basic entities.
Messaging namespace.
Definition message_bus.h:33
std::istream & operator>>(std::istream &stream, MessageHeader &header)
Get message header from an input stream.
std::ostream & operator<<(std::ostream &stream, const MessageHeader &header)
Send message header to an output stream.
uint64_t Step
Type used to store a step number in the form of a 64-bit unsigned integer.
Definition core.h:68
Common header for messages.
Step send_time_
Index of the network execution step.
knp::core::UID sender_uid_
UID of the object that sent the message.
UID class and routines.