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
26
#include "../Model/DesignerTrajectory.h"
27
#include "DesignerExporter.h"
28
29
namespace
armarx
30
{
31
class
TrajectoryExporter;
32
33
/**
34
* @class TrajectoryExporter
35
* @brief Exports instances of the DesignerTrajectory class to files as serialized instance of the Trajectory class.
36
* UserWaypoint information is not exported.
37
*/
38
class
TrajectoryExporter
// : public DesignerExporter
39
{
40
public
:
41
/**
42
* @brief Exports a trajectory to the target file as a serialized instance of the Trajectory class.
43
* @param trajectory Trajectory to export.
44
* @param fps fsequency of the measurements in measurements per second.
45
* @param c The Ice::Current instance
46
*/
47
void
exportTrajectory
(std::vector<DesignerTrajectoryPtr> trajectories,
48
const
std::string file);
49
};
50
51
using
TrajectoryExporterPtr
= std::shared_ptr<TrajectoryExporter>;
52
}
// namespace armarx
53
#endif // TRAJECTORYEXPORTER_H
armarx::TrajectoryExporterPtr
std::shared_ptr< TrajectoryExporter > TrajectoryExporterPtr
Definition:
TrajectoryExporter.h:51
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:38
armarx::TrajectoryExporter
Exports instances of the DesignerTrajectory class to files as serialized instance of the Trajectory c...
Definition:
TrajectoryExporter.h:38
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition:
ArmarXTimeserver.cpp:27
RobotComponents
gui-plugins
RobotTrajectoryDesignerGuiPlugin
ImportExport
TrajectoryExporter.h
Generated on Sat Mar 29 2025 09:17:33 for armarx_documentation by
1.8.17