YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
ILLMMsgs.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-License-Identifier: BSD-3-Clause
4 */
5
6// Autogenerated by Thrift Compiler (0.14.1-yarped)
7//
8// This is an automatically generated file.
9// It could get re-generated if the ALLOW_IDL_GENERATION flag is on.
10
11#ifndef YARP_THRIFT_GENERATOR_SERVICE_ILLMMSGS_H
12#define YARP_THRIFT_GENERATOR_SERVICE_ILLMMSGS_H
13
14#include <yarp/os/Wire.h>
21
22namespace yarp::dev::llm {
23
24class ILLMMsgs :
25 public yarp::os::Wire
26{
27public:
28 //ProtocolVersion
31 virtual bool checkProtocolVersion();
32
33 // Constructor
34 ILLMMsgs();
35
36 //Service methods
37 virtual yarp::dev::ReturnValue setPrompt(const std::string& prompt);
38
40
41 virtual return_ask ask(const std::string& question);
42
44
46
48
49 // help method
50 virtual std::vector<std::string> help(const std::string& functionName = "--all");
51
52 // read from ConnectionReader
53 bool read(yarp::os::ConnectionReader& connection) override;
54};
55
56} // namespace yarp::dev::llm
57
58#endif // YARP_THRIFT_GENERATOR_SERVICE_ILLMMSGS_H
virtual yarp::dev::ReturnValue refreshConversation()
virtual yarp::os::ApplicationNetworkProtocolVersion getLocalProtocolVersion()
Definition ILLMMsgs.cpp:97
virtual yarp::dev::ReturnValue deleteConversation()
virtual std::vector< std::string > help(const std::string &functionName="--all")
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
virtual bool checkProtocolVersion()
Definition ILLMMsgs.cpp:82
virtual return_ask ask(const std::string &question)
virtual yarp::os::ApplicationNetworkProtocolVersion getRemoteProtocolVersion()
Definition ILLMMsgs.cpp:67
virtual yarp::dev::ReturnValue setPrompt(const std::string &prompt)
virtual return_readPrompt readPrompt()
virtual return_getConversation getConversation()
An interface for reading from a network connection.
Base class for IDL client/server.
Definition Wire.h:18