+ /**
+ * Get the instance of the global singleton.
+ * Does not create the global instance.
+ */
+ static AliHLTConfigurationHandler* Instance() {
+ if (!fgpInstance) return NULL;
+ return fgpInstance;
+ }
+
+ /*****************************************************************************
+ * activation, affects if the handler will accept new registrations
+ */
+
+ /**
+ * Deactivate the handler, AliHLTConfiguration objects will not register
+ * @param schedule Store and schedule registrations pending reactivation
+ */
+ int Deactivate(bool schedule=false);
+
+ /**
+ * Activate the handler, AliHLTConfiguration objects will register again
+ */
+ int Activate();
+
+ /// check if active
+ bool IsActive() const {return (fFlags&kInactive)==0;}
+
+ /// check if scheduling
+ bool IsScheduling() const {return (fFlags&kScheduling)>0;}
+
+ /// clear scheduled registrations
+ void ClearScheduledRegistrations() {fgListScheduledRegistrations.Delete();}
+
+ /// signal a missed registration
+ static int MissedRegistration(const char* name=NULL);
+