YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
Sound_marker.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 SOUNDMARKER_H
7#define SOUNDMARKER_H
8
9#include <yarp/os/Things.h>
11#include <yarp/sig/Sound.h>
12#include <yarp/os/Bottle.h>
13#include <yarp/os/Log.h>
15#include <yarp/os/LogStream.h>
16
22{
25
26public:
27 void getParamsFromCommandLine(std::string carrierString, yarp::os::Property& prop);
28
29 bool create(const yarp::os::Property &options) override;
30 void destroy() override;
31
32 bool setparam(const yarp::os::Property &params) override;
33 bool getparam(yarp::os::Property &params) override;
34
35 void trig() override;;
36
37 bool accept(yarp::os::Things &thing) override;
39};
40
41#endif
sound_marker: Documentation to be added
void trig() override
This will be called when one of the peer connections to the same import port receives data.
bool setparam(const yarp::os::Property &params) override
This will be called when the portmonitor carrier parameters are set via YARP admin port.
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...
bool create(const yarp::os::Property &options) override
This will be called when the dll is properly loaded by the portmonitor carrier.
void destroy() override
This will be called when the portmonitor object destroyes.
bool accept(yarp::os::Things &thing) override
This will be called when the data reach the portmonitor object.
bool getparam(yarp::os::Property &params) override
This will be called when the portmonitor carrier parameters are requested via YARP admin port.
void getParamsFromCommandLine(std::string carrierString, yarp::os::Property &prop)
A class for storing options and configuration information.
Definition Property.h:33
Base class for generic things.
Definition Things.h:18
Class for storing sounds See Audio in YARP for additional documentation on YARP audio.
Definition Sound.h:25