TrajectoryExporter.h
Go to the documentation of this file.
1
/*
2
* This file is part of ArmarX.
3
*
4
* ArmarX is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License version 2 as
6
* published by the Free Software Foundation.
7
*
8
* ArmarX is distributed in the hope that it will be useful, but
9
* WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
12
*
13
* You should have received a copy of the GNU General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15
*
16
* @package ArmarXGuiPlugins::RobotTrajectoryDesigner::ImportExport
17
* @author Liran Dattner
18
* @date 2018
19
* @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20
* GNU General Public License
21
*/
22
#ifndef TRAJECTORYEXPORTER_H
23
#define TRAJECTORYEXPORTER_H
24
#include <Ice/Ice.h>
25
#include "DesignerExporter.h"
26
#include "../Model/DesignerTrajectory.h"
27
namespace
armarx
28
{
29
class
TrajectoryExporter;
30
/**
31
* @class TrajectoryExporter
32
* @brief Exports instances of the DesignerTrajectory class to files as serialized instance of the Trajectory class.
33
* UserWaypoint information is not exported.
34
*/
35
class
TrajectoryExporter
// : public DesignerExporter
36
{
37
public
:
38
/**
39
* @brief Exports a trajectory to the target file as a serialized instance of the Trajectory class.
40
* @param trajectory Trajectory to export.
41
* @param fps fsequency of the measurements in measurements per second.
42
* @param c The Ice::Current instance
43
*/
44
void
exportTrajectory
(std::vector<DesignerTrajectoryPtr> trajectories,
const
std::string file);
45
};
46
47
using
TrajectoryExporterPtr
= std::shared_ptr<TrajectoryExporter>;
48
}
49
#endif // TRAJECTORYEXPORTER_H
50
armarx::TrajectoryExporterPtr
std::shared_ptr< TrajectoryExporter > TrajectoryExporterPtr
Definition:
TrajectoryExporter.h:47
armarx::TrajectoryExporter::exportTrajectory
void exportTrajectory(std::vector< DesignerTrajectoryPtr > trajectories, const std::string file)
Exports a trajectory to the target file as a serialized instance of the Trajectory class.
Definition:
TrajectoryExporter.cpp:33
armarx::TrajectoryExporter
Exports instances of the DesignerTrajectory class to files as serialized instance of the Trajectory c...
Definition:
TrajectoryExporter.h:35
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition:
ArmarXTimeserver.cpp:28
RobotComponents
gui-plugins
RobotTrajectoryDesignerGuiPlugin
ImportExport
TrajectoryExporter.h
Generated on Sat Oct 12 2024 09:14:13 for armarx_documentation by
1.8.17