Diana Software
MNeighboursPacker.hh
Go to the documentation of this file.
1 #ifndef _M_NIEGHBOURSPACKER_HH_
2 #define _M_NIEGHBOURSPACKER_HH_
3 
45 #include "QDriver.hh"
46 #include "QEventLabel.hh"
47 #include <vector>
48 
49 class MNeighboursPacker : public Diana::QDriver {
50 
51  public:
53  Action Init(Diana::QEventAssembler& eva);
54 
56  Action Do(Diana::QEventAssembler& eva, const Diana::QEventList& neigh);
57 
59  Action Done();
60 
62  class ObjectLabels {
63  public:
64  Diana::QEventLabel fLabel;
65  Diana::QEventLabel fOriginalLabel;
66  };
67 
68  private:
70  std::vector<std::vector<ObjectLabels> > fLabels;
71 
74 
77 };
78 
79 #endif
80 
Internal class to save new (NX_owner@name) and original (owner@name) label of a QObject.
Save user selected QObjects from neighbours QEvents into the main QEvent.
size_t fMaxNeighboursAchieved
maximum number of neighbours arrived in the event loop
Action Do(Diana::QEventAssembler &eva, const Diana::QEventList &neigh)
Do.
Action Init(Diana::QEventAssembler &eva)
Init.
int fMaxNeighbours
maximum number of neighbours packed
std::vector< std::vector< ObjectLabels > > fLabels
labels for each neighbour