YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
SM_to_vec.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#ifndef YARP_CARRIER_SM2VEC_CONVERTER_H
7#define YARP_CARRIER_SM2VEC_CONVERTER_H
8
9#include <yarp/os/Bottle.h>
10#include <yarp/os/Things.h>
12#include <yarp/sig/Vector.h>
13
21{
24
25public:
26 bool create(const yarp::os::Property& options) override;
27 void destroy() override;
28
29 bool setparam(const yarp::os::Property& params) override;
30 bool getparam(yarp::os::Property& params) override;
31
32 bool accept(yarp::os::Things& thing) override;
34};
35
36#endif // YARP_CARRIER_SM2VEC_CONVERTER_H
contains the definition of a Vector type
sensorMeasurements_to_vector: Documentation to be added example usage: yarp connect /tracking/measure...
Definition SM_to_vec.h:21
bool accept(yarp::os::Things &thing) override
This will be called when the data reach the portmonitor object.
Definition SM_to_vec.cpp:46
bool setparam(const yarp::os::Property &params) override
This will be called when the portmonitor carrier parameters are set via YARP admin port.
Definition SM_to_vec.cpp:36
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...
Definition SM_to_vec.cpp:63
bool create(const yarp::os::Property &options) override
This will be called when the dll is properly loaded by the portmonitor carrier.
Definition SM_to_vec.cpp:27
void destroy() override
This will be called when the portmonitor object destroyes.
Definition SM_to_vec.cpp:32
bool getparam(yarp::os::Property &params) override
This will be called when the portmonitor carrier parameters are requested via YARP admin port.
Definition SM_to_vec.cpp:41
A class for storing options and configuration information.
Definition Property.h:33
Base class for generic things.
Definition Things.h:18