Choreonoid  1.8
MultiValueSeqGraphView.h
Go to the documentation of this file.
1 
5 #ifndef CNOID_BASE_MULTI_VALUE_SEQ_GRAPH_VIEW_H
6 #define CNOID_BASE_MULTI_VALUE_SEQ_GRAPH_VIEW_H
7 
8 #include "GraphViewBase.h"
9 #include "MultiValueSeqItem.h"
10 
11 namespace cnoid {
12 
14 {
15 public:
16  static void initializeClass(ExtensionManager* ext);
17 
20 
21 private:
22  virtual int currentNumParts(const ItemList<>& items) const;
23  virtual ItemList<Item> extractTargetItems(const ItemList<>& items) const;
24  void addGraphDataHandlers(Item* item, int partIndex, std::vector<GraphDataHandlerPtr>& out_handlers);
25  void updateGraphDataHandler(Item* item, GraphDataHandlerPtr handler);
26  void onDataRequest(std::shared_ptr<MultiValueSeq> seq, int partIndex, int frame, int size, double* out_values);
27  void onDataModified(MultiValueSeqItem* item, int partIndex, int frame, int size, double* values);
28 };
29 
30 }
31 
32 #endif
cnoid::MultiValueSeqGraphView::initializeClass
static void initializeClass(ExtensionManager *ext)
Definition: MultiValueSeqGraphView.cpp:13
cnoid::ExtensionManager
Definition: ExtensionManager.h:23
cnoid::MultiValueSeqGraphView::MultiValueSeqGraphView
MultiValueSeqGraphView()
Definition: MultiValueSeqGraphView.cpp:20
MultiValueSeqItem.h
cnoid::GraphDataHandlerPtr
std::shared_ptr< GraphDataHandler > GraphDataHandlerPtr
Definition: GraphWidget.h:23
cnoid::MultiValueSeqGraphView::~MultiValueSeqGraphView
~MultiValueSeqGraphView()
Definition: MultiValueSeqGraphView.cpp:26
cnoid
Definition: AbstractSceneLoader.h:11
cnoid::Item
Definition: Item.h:29
cnoid::GraphViewBase
Definition: GraphViewBase.h:17
cnoid::ItemList
Definition: Item.h:20
cnoid::MultiValueSeqGraphView
Definition: MultiValueSeqGraphView.h:13
GraphViewBase.h
cnoid::MultiSeqItem
Definition: MultiSeqItem.h:16