RobotsIO
Loading...
Searching...
No Matches
src
RobotsIO
include
RobotsIO
Utils
FloatMatrixYarpPort.h
1
/*
2
* Copyright (C) 2020 Istituto Italiano di Tecnologia (IIT)
3
*
4
* This software may be modified and distributed under the terms of the
5
* BSD 3-Clause license. See the accompanying LICENSE file for details.
6
*/
7
8
#ifndef ROBOTSIO_FLOATMATRIXYARPPORT_H
9
#define ROBOTSIO_FLOATMATRIXYARPPORT_H
10
11
#include <Eigen/Dense>
12
13
#include <RobotsIO/Utils/FloatMatrix.h>
14
#include <RobotsIO/Utils/YarpBufferedPort.hpp>
15
16
#include <yarp/sig/Image.h>
17
18
namespace
RobotsIO
{
19
namespace
Utils {
20
class
FloatMatrixYarpPort;
21
}
22
}
23
24
25
class
RobotsIO::Utils::FloatMatrixYarpPort
:
public
RobotsIO::Utils::FloatMatrix
,
26
public
RobotsIO::Utils::YarpBufferedPort
<yarp::sig::ImageOf<yarp::sig::PixelFloat>>
27
{
28
public
:
29
FloatMatrixYarpPort
(
const
std::string& port_name);
30
31
virtual
~FloatMatrixYarpPort
();
32
33
bool
freeze(
const
bool
blocking =
false
)
override
;
34
35
Eigen::MatrixXf matrix()
override
;
36
37
private
:
38
Eigen::MatrixXf matrix_;
39
};
40
41
#endif
/* ROBOTSIO_FLOATMATRIXYARPPORT_H */
RobotsIO::Utils::FloatMatrixYarpPort
Definition:
FloatMatrixYarpPort.h:27
RobotsIO::Utils::FloatMatrix
Definition:
FloatMatrix.h:23
RobotsIO::Utils::YarpBufferedPort
Definition:
YarpBufferedPort.hpp:28
RobotsIO
Definition:
Camera.h:24
Generated by
1.9.6