YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
Test_numbers2.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2026-2026 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-License-Identifier: BSD-3-Clause
4 */
5
6#ifndef TEST_NUMBERS2_H
7#define TEST_NUMBERS2_H
8
9#include <yarp/os/Things.h>
11#include <yarp/os/Log.h>
13#include <yarp/os/LogStream.h>
14
20{
22 int m_valueoperation = 0;
23
24public:
25 void getParamsFromCommandLine(std::string carrierString, yarp::os::Property& prop);
26
27 bool create(const yarp::os::Property &options) override;
28 void destroy() override;
29
30 bool setparam(const yarp::os::Property &params) override;
31 bool getparam(yarp::os::Property &params) override;
32
33 void trig() override;;
34
35 bool accept(yarp::os::Things &thing) override;
37};
38
39#endif
test_numbers: Documentation to be added
bool getparam(yarp::os::Property &params) override
This will be called when the portmonitor carrier parameters are requested via YARP admin port.
bool setparam(const yarp::os::Property &params) override
This will be called when the portmonitor carrier parameters are set via YARP admin port.
bool create(const yarp::os::Property &options) override
This will be called when the dll is properly loaded by the portmonitor carrier.
void trig() override
This will be called when one of the peer connections to the same import port receives data.
void getParamsFromCommandLine(std::string carrierString, yarp::os::Property &prop)
bool accept(yarp::os::Things &thing) override
This will be called when the data reach the portmonitor object.
yarp::os::Things & update(yarp::os::Things &thing) override
After data get accpeted in the accept() callback, an instance of that is given to the update function...
void destroy() override
This will be called when the portmonitor object destroyes.
A class for storing options and configuration information.
Definition Property.h:32
Base class for generic things.
Definition Things.h:18