CreOS SDK
The CreOS SDK allows you to interact with Avular robots
 
Loading...
Searching...
No Matches
data_source_sink_info.hpp
1// Copyright (C) 2024 Avular Holding B.V. - All Rights Reserved
2// You may use this code under the terms of the Avular
3// Software End-User License Agreement.
4//
5// You should have received a copy of the Avular
6// Software End-User License Agreement license with
7// this file, or download it from: avular.com/eula
8//
9/*****************************************************************************
10 * Created on: 2024 September 27
11 * Author: Niels Rood
12 *
13 * @file SDK information message containing information about the data sources and sinks
14 ****************************************************************************/
15#pragma once
16
17#include <compare>
18#include <creos/data_kind.hpp>
19#include <nlohmann/json.hpp>
20
21namespace creos_messages {
22
27
31 std::string name;
32
36 std::string type;
37
41 creos::DataKind data_kind;
42
46 auto operator<=>(const DataSourceSinkInfo& other) const = default;
47};
48
49NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(DataSourceSinkInfo, name, type, data_kind)
50
51} // namespace creos_messages
The messages that are used in the communication between the agent and the client.
Definition accel.hpp:22
SDK information message containing information about the data sources and sinks.
Definition data_source_sink_info.hpp:26
auto operator<=>(const DataSourceSinkInfo &other) const =default
Compare two DataSourceSinkInfo messages.
std::string name
Name of the data source or sink.
Definition data_source_sink_info.hpp:31
creos::DataKind data_kind
The kind of data that is published or subscribed to.
Definition data_source_sink_info.hpp:41
std::string type
Type of the data source or sink.
Definition data_source_sink_info.hpp:36