make sure that multiple instances of mupp can run simultaneously.

This commit is contained in:
2018-07-02 18:55:02 +02:00
parent a3ddd07a9e
commit 294eaa8fb1
5 changed files with 62 additions and 11 deletions

View File

@@ -74,7 +74,8 @@ public:
PMuppCanvas(const Char_t* title,
Int_t wtopx, Int_t wtopy, Int_t ww, Int_t wh,
const PIntVector markerSytleList, const PDoubleVector markerSizeList,
const PIntVector colorList);
const PIntVector colorList,
const int mupp_instance);
virtual ~PMuppCanvas();
virtual Bool_t IsValid() { return fValid; }
@@ -89,6 +90,7 @@ public:
private:
Bool_t fValid;
Int_t fMuppInstance;
TString fFtokName;
TTimer *fCheckMsgQueue; ///< timer needed to check if a message in the IPC message queue is pending