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