MMMImporter.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 MMMIMPORTER_H
23#define MMMIMPORTER_H
24
25#include "../Environment.h"
27
28namespace armarx
29{
30 class MMMImporter;
31
32 /**
33 * @class MMMImporter
34 * @brief Imports instances of the DesignerTrajectory class from a file in MMM format.
35 */
37 {
38 private:
39 EnvironmentPtr environment;
40
41 public:
42 MMMImporter(EnvironmentPtr environment);
43 /**
44 * @brief Import a trajectory from the target file in MMM format.
45 */
46 std::vector<DesignerTrajectoryPtr> importTrajectory(std::string file);
47 };
48
49 using MMMImporterPtr = std::shared_ptr<MMMImporter>;
50} // namespace armarx
51#endif // MMMIMPORTER_H
Imports instances of the DesignerTrajectory class from a file in MMM format.
Definition MMMImporter.h:37
std::vector< DesignerTrajectoryPtr > importTrajectory(std::string file)
Import a trajectory from the target file in MMM format.
MMMImporter(EnvironmentPtr environment)
This file offers overloads of toIce() and fromIce() functions for STL container types.
std::shared_ptr< MMMImporter > MMMImporterPtr
Definition MMMImporter.h:49
std::shared_ptr< Environment > EnvironmentPtr
Definition Environment.h:29