Go to the documentation of this file.
63 assert(iBaseClass !=
nullptr);
66 TClass*
c = TClass::GetClass(iNameOfClass);
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;
virtual void modelChangesComing()=0
virtual void modelChangesDone()=0
virtual ~FWViewManagerBase()
void * createInstanceOf(const TClass *iBaseClass, const char *iNameOfClass)
FWColorManager & colorManager() const
sigc::signal< void > colorsHaveChanged_
FWModelChangeManager & changeManager() const
virtual void colorsChanged()=0
void modelChangesDoneSlot()
sigc::signal< void > changeSignalsAreDone_
void modelChangesComingSlot()
sigc::signal< void > changeSignalsAreComing_
FWModelChangeManager * m_changeManager
void setChangeManager(FWModelChangeManager *iCM)
FWColorManager * m_colorManager
void setColorManager(FWColorManager *iCM)