Choreonoid  1.8
LinkKinematicsKitManager.h
Go to the documentation of this file.
1 #ifndef CNOID_BODY_PLUGIN_LINK_KINEMATICS_KIT_MANAGER_H
2 #define CNOID_BODY_PLUGIN_LINK_KINEMATICS_KIT_MANAGER_H
3 
4 #include <memory>
5 #include "exportdecl.h"
6 
7 namespace cnoid {
8 
9 class BodyItem;
10 class LinkKinematicsKit;
11 class Link;
12 class Mapping;
13 
14 class CNOID_EXPORT LinkKinematicsKitManager
15 {
16 public:
19 
20  LinkKinematicsKit* getCurrentKinematicsKit(Link* targetLink);
21  LinkKinematicsKit* findPresetKinematicsKit(Link* targetLink = nullptr);
22 
23  bool storeState(Mapping& archive) const;
24  bool restoreState(const Mapping& archive);
25 
26 private:
27  class Impl;
28  Impl* impl;
29 };
30 
31 }
32 
33 #endif
cnoid::Mapping
Definition: ValueTree.h:253
cnoid::BodyItem
Definition: BodyItem.h:28
cnoid
Definition: AbstractSceneLoader.h:11
cnoid::LinkKinematicsKit
Definition: LinkKinematicsKit.h:23
cnoid::LinkKinematicsKitManager
Definition: LinkKinematicsKitManager.h:14