YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
LLM_nws_yarp.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2023-2023 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-License-Identifier: BSD-3-Clause
4 */
5
10#include <yarp/os/RpcServer.h>
11#include <yarp/dev/ILLM.h>
12
13#include "ILLMServerImpl.h"
15
30{
31protected:
35
36public:
37 // From DeviceDriver
38 virtual bool open(yarp::os::Searchable &prop) override;
39 virtual bool close() override;
40
41 // From WrapperSingle
42 virtual bool attach(yarp::dev::PolyDriver *drv) override;
43 virtual bool detach() override;
44
45 // From PortReader
46 bool read(yarp::os::ConnectionReader& connection) override;
47};
This class is the parameters parser for class LLM_nws_yarp.
LLM_nws_yarp: A server which can be wrap multiple algorithms and devices to provide LLM services.
yarp::dev::ILLM * m_iLlm
yarp::os::RpcServer m_RpcPort
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
virtual bool attach(yarp::dev::PolyDriver *drv) override
Attach to another object.
virtual bool open(yarp::os::Searchable &prop) override
Open the DeviceDriver.
ILLMRPCd m_RPC
virtual bool close() override
Close the DeviceDriver.
virtual bool detach() override
Detach the object (you must have first called attach).
Interface implemented by all device drivers.
ILLM interface.
Definition ILLM.h:26
A container for a device driver.
Definition PolyDriver.h:23
Helper interface for an object that can wrap/or "attach" to a single other device.
An interface for reading from a network connection.
Interface implemented by all objects that can read themselves from the network, such as Bottle object...
Definition PortReader.h:24
A port that is specialized as an RPC server.
Definition RpcServer.h:23
A base class for nested structures that can be searched.
Definition Searchable.h:31