63 assert(iBaseClass !=
nullptr);
66 TClass*
c = TClass::GetClass(iNameOfClass);
73 gROOT->LoadMacro((
std::string(iNameOfClass) +
".C+").c_str(), &error);
74 c = TClass::GetClass(iNameOfClass);
76 std::cerr <<
"failed to find " << iNameOfClass << std::endl;
80 void* inst = c->New();
81 void* baseClassInst = c->DynamicCast(iBaseClass, inst);
82 if (
nullptr == baseClassInst) {
83 std::cerr <<
"conversion to " << iBaseClass->ClassName() <<
" for class " << iNameOfClass <<
" failed" << std::endl;
void * createInstanceOf(const TClass *iBaseClass, const char *iNameOfClass)
const edm::EventSetup & c
virtual void modelChangesComing()=0
virtual void colorsChanged()=0
virtual void modelChangesDone()=0
FWColorManager & colorManager() const
void modelChangesComingSlot()
void modelChangesDoneSlot()
FWModelChangeManager * m_changeManager
FWColorManager * m_colorManager
sigc::signal< void > changeSignalsAreDone_
void setChangeManager(FWModelChangeManager *iCM)
FWModelChangeManager & changeManager() const
sigc::signal< void > changeSignalsAreComing_
void setColorManager(FWColorManager *iCM)
sigc::signal< void > colorsHaveChanged_
virtual ~FWViewManagerBase()