Choreonoid  1.8
MprPositionListView.h
Go to the documentation of this file.
1 #ifndef CNOID_MANIPULATOR_PLUGIN_MPR_POSITION_LIST_VIEW_H
2 #define CNOID_MANIPULATOR_PLUGIN_MPR_POSITION_LIST_VIEW_H
3 
4 #include <cnoid/View>
5 #include "exportdecl.h"
6 
7 namespace cnoid {
8 
9 class CNOID_EXPORT MprPositionListView : public View
10 {
11 public:
12  static void initializeClass(ExtensionManager* ext);
13 
15  virtual ~MprPositionListView();
16 
17  enum BodySyncMode { NoBodySync, DirectBodySync, TwoStageBodySync };
18  void setBodySyncMode(BodySyncMode mode);
19 
20  class Impl;
21 
22 protected:
23  virtual void onAttachedMenuRequest(MenuManager& menuManager) override;
24  virtual bool storeState(Archive& archive) override;
25  virtual bool restoreState(const Archive& archive) override;
26 
27 private:
28  Impl* impl;
29 };
30 
31 }
32 
33 #endif
cnoid::ExtensionManager
Definition: ExtensionManager.h:23
cnoid::View
Definition: View.h:27
cnoid::Archive
Definition: Archive.h:22
cnoid::MenuManager
Definition: MenuManager.h:14
cnoid::MprPositionListView
Definition: MprPositionListView.h:9
cnoid
Definition: AbstractSceneLoader.h:11
cnoid::MprPositionListView::BodySyncMode
BodySyncMode
Definition: MprPositionListView.h:17