MMMExporter.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 MMMEXPORTER_H
23
#define MMMEXPORTER_H
24
#include "../Environment.h"
25
#include "../Model/DesignerTrajectory.h"
26
27
namespace
armarx
28
{
29
class
MMMExporter;
30
31
/**
32
* @class MMMExporter
33
* @brief Exports instances of the DesignerTrajectory class to .xml-files in MMM format.
34
*/
35
class
MMMExporter
/* : public DesignerExporter*/
36
{
37
private
:
38
EnvironmentPtr
environment;
39
40
public
:
41
MMMExporter
(
EnvironmentPtr
environment);
42
/**
43
* @brief Exports a trajectory to the target file as a MMM file.
44
* @param trajectory Trajectory to export.
45
* @param fps Frequency of the measurements in measurements per second.
46
*/
47
void
exportTrajectory
(std::vector<armarx::DesignerTrajectoryPtr> trajectories,
48
const
std::string file);
49
};
50
51
using
MMMExporterPtr
= std::shared_ptr<MMMExporter>;
52
}
// namespace armarx
53
#endif // MMMEXPORTER_H
armarx::MMMExporter
Exports instances of the DesignerTrajectory class to .xml-files in MMM format.
Definition:
MMMExporter.h:35
armarx::EnvironmentPtr
std::shared_ptr< Environment > EnvironmentPtr
Definition:
Environment.h:29
armarx::MMMExporterPtr
std::shared_ptr< MMMExporter > MMMExporterPtr
Definition:
MMMExporter.h:51
armarx::MMMExporter::exportTrajectory
void exportTrajectory(std::vector< armarx::DesignerTrajectoryPtr > trajectories, const std::string file)
Exports a trajectory to the target file as a MMM file.
Definition:
MMMExporter.cpp:50
armarx::MMMExporter::MMMExporter
MMMExporter(EnvironmentPtr environment)
Definition:
MMMExporter.cpp:44
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition:
ArmarXTimeserver.cpp:27
RobotComponents
gui-plugins
RobotTrajectoryDesignerGuiPlugin
ImportExport
MMMExporter.h
Generated on Sat Mar 29 2025 09:17:33 for armarx_documentation by
1.8.17