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