Fixes for the head of root, effc++
authoralibrary <alibrary@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 8 Aug 2006 15:39:17 +0000 (15:39 +0000)
committeralibrary <alibrary@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 8 Aug 2006 15:39:17 +0000 (15:39 +0000)
MONITOR/AliMonitorClient.cxx
MONITOR/AliMonitorClient.h
MONITOR/AliMonitorProcess.cxx
MONITOR/AliMonitorProcess.h
RAW/AliMDC.cxx
RAW/AliMDC.h

index 81b3987..9d8882c 100644 (file)
@@ -457,21 +457,6 @@ AliMonitorClient::AliMonitorClient():
 }
 
 //_____________________________________________________________________________
-AliMonitorClient::AliMonitorClient(const AliMonitorClient& client) :
-  TGMainFrame(client)
-{
-  AliFatal("copy constructor not implemented");
-}
-
-//_____________________________________________________________________________
-AliMonitorClient& AliMonitorClient::operator = (const AliMonitorClient& 
-                                               /*client*/)
-{
-  AliFatal("assignment operator not implemented");
-  return *this;
-}
-
-//_____________________________________________________________________________
 AliMonitorClient::~AliMonitorClient()
 {
 // clean up
index 5c83554..c52c963 100644 (file)
@@ -39,8 +39,6 @@ RQ_OBJECT("AliMonitorClient")
 
 public:
   AliMonitorClient();
-  AliMonitorClient(const AliMonitorClient& client);
-  AliMonitorClient& operator = (const AliMonitorClient& client);
   virtual ~AliMonitorClient();
 
   void               CloseWindow();
@@ -66,6 +64,9 @@ public:
   void               OnLoopTimer();
 
 private:
+  AliMonitorClient(const AliMonitorClient& client);   // Not implemented
+  AliMonitorClient& operator = (const AliMonitorClient& client); // Not implemented
+
   TFolder*           CreateTopFolder() const;
   AliMonitorHisto*   GetHisto(const char* folderName, const char* histoName);
   TGListTreeItem*    GetItem(TGListTreeItem* base, const char* folderName, 
index b87504c..4f5e9bc 100644 (file)
@@ -1095,27 +1095,6 @@ AliMonitorProcess::AliMonitorInterruptHandler::AliMonitorInterruptHandler
 }
 
 //_____________________________________________________________________________
-AliMonitorProcess::AliMonitorInterruptHandler::AliMonitorInterruptHandler
-  (const AliMonitorInterruptHandler& handler):
-  TSignalHandler(handler)
-{
-// copy constructor
-
-  AliFatal("copy constructor not implemented");
-}
-
-//_____________________________________________________________________________
-AliMonitorProcess::AliMonitorInterruptHandler&
-  AliMonitorProcess::AliMonitorInterruptHandler::operator =
-  (const AliMonitorInterruptHandler& /*handler*/)
-{
-// assignment operator
-
-  AliFatal("assignment operator not implemented");
-  return *this;
-}
-
-//_____________________________________________________________________________
 Bool_t AliMonitorProcess::AliMonitorInterruptHandler::Notify()
 {
 // interrupt signal -> stop process
index bf71482..d107605 100644 (file)
@@ -126,13 +126,15 @@ private:
   class AliMonitorInterruptHandler : public TSignalHandler {
   public:
     AliMonitorInterruptHandler(AliMonitorProcess* process);
-    AliMonitorInterruptHandler(const AliMonitorInterruptHandler& handler);
-    AliMonitorInterruptHandler& operator = 
-      (const AliMonitorInterruptHandler& handler);
     virtual ~AliMonitorInterruptHandler() {};
     virtual Bool_t Notify();
   private:
     AliMonitorProcess* fProcess;       // process to notify
+
+    AliMonitorInterruptHandler(const AliMonitorInterruptHandler& handler); // Not implemented
+    AliMonitorInterruptHandler& operator = 
+      (const AliMonitorInterruptHandler& handler); // Not implemented
+
   };
 
   AliMonitorInterruptHandler* fInterruptHandler;  // interrupt handler
index c0fead6..58ca8a7 100644 (file)
@@ -769,24 +769,3 @@ void AliMDC::Stop()
 }
 
 
-//______________________________________________________________________________
-AliMDC::AliMDCInterruptHandler::AliMDCInterruptHandler(const 
-                                                      AliMDCInterruptHandler&
-                                                      handler): 
-  TSignalHandler(handler) 
-{
-// copy constructor
-
-  Fatal("AliMDCInterruptHandler", "copy constructor not implemented");
-}
-
-//______________________________________________________________________________
-AliMDC::AliMDCInterruptHandler& 
-  AliMDC::AliMDCInterruptHandler::operator = (const AliMDCInterruptHandler& 
-                                             /*handler*/)
-{
-// assignment operator
-
-  Fatal("operator =", "assignment operator not implemented");
-  return *this;
-}
index c931e03..30ba15d 100644 (file)
@@ -80,8 +80,8 @@ private:
    private:
      AliMDC *fMDC;   // alimdc to signal
 
-     AliMDCInterruptHandler(const AliMDCInterruptHandler& handler);
-     AliMDCInterruptHandler& operator=(const AliMDCInterruptHandler& handler);
+     AliMDCInterruptHandler(const AliMDCInterruptHandler& handler); // Not implemented
+     AliMDCInterruptHandler& operator=(const AliMDCInterruptHandler& handler); // Not implemented
    };
 
    AliRawEvent *fEvent;       // produced AliRawEvent