CreOS SDK
The CreOS SDK allows you to interact with Avular robots
 
Loading...
Searching...
No Matches
interface_group_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 October 1
11 * Author: Niels Rood
12 *
13 * @file SDK information message containing information about an interface group
14 ****************************************************************************/
15#pragma once
16
17#include <compare>
18#include <nlohmann/json.hpp>
19
20#include "callable_info.hpp"
21#include "data_source_sink_info.hpp"
22
23namespace creos_messages {
24
29
33 std::string name;
34
38 unsigned version;
39
43 std::vector<DataSourceSinkInfo> sinks;
44
48 std::vector<DataSourceSinkInfo> sources;
49
53 std::vector<CallableInfo> callables;
54
58 auto operator<=>(const InterfaceGroupInfo& other) const = default;
59};
60
61NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(InterfaceGroupInfo, name, version, sinks, sources, callables)
62
63} // 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 an interface group.
Definition interface_group_info.hpp:28
std::vector< DataSourceSinkInfo > sinks
Sinks of the interface group.
Definition interface_group_info.hpp:43
std::vector< CallableInfo > callables
Callables of the interface group.
Definition interface_group_info.hpp:53
std::string name
Name of the interface group.
Definition interface_group_info.hpp:33
unsigned version
Version of the interface group.
Definition interface_group_info.hpp:38
std::vector< DataSourceSinkInfo > sources
Sources of the interface group.
Definition interface_group_info.hpp:48
auto operator<=>(const InterfaceGroupInfo &other) const =default
Compare two InterfaceGroupInfo object messages.