CreOS SDK
The CreOS SDK allows you to interact with Avular robots
 
Loading...
Searching...
No Matches
callable_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 the callable functions
14 ****************************************************************************/
15#pragma once
16
17#include <compare>
18#include <nlohmann/json.hpp>
19
20namespace creos_messages {
21
26
30 std::string name;
31
35 std::string request_type;
36
40 std::string response_type;
41
45 auto operator<=>(const CallableInfo& other) const = default;
46};
47
48NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(CallableInfo, name, request_type, response_type)
49
50} // 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 callable functions.
Definition callable_info.hpp:25
std::string response_type
Response type of the callable function.
Definition callable_info.hpp:40
std::string name
Name of the callable function.
Definition callable_info.hpp:30
std::string request_type
Request type of the callable function.
Definition callable_info.hpp:35
auto operator<=>(const CallableInfo &other) const =default
Compare two CallableInfo object messages.