1 #ifndef Fireworks_Core_FWEventItem_h 2 #define Fireworks_Core_FWEventItem_h 26 #include <sigc++/connection.h> 44 class TVirtualCollectionProxy;
70 std::shared_ptr<FWItemAccessorBase> iAccessor,
76 #if !defined(__CINT__) && !defined(__MAKECINT__) 78 void get(
const T*& oData)
const {
79 oData =
reinterpret_cast<const T*
>(
data(
typeid(
T)));
82 const void*
data(
const std::type_info&)
const;
95 unsigned int id()
const;
97 const TClass*
type()
const;
172 void select(
int iIndex)
const;
bool isCollection() const
FWSelectionManager * selectionManager() const
void proxyConfigChanged(bool k=false)
const FWItemValueGetter & valueGetter() const
one value from the model which is normally used for the popup
FWItemChangeSignal preItemChanged_
const void * modelData(int iIndex) const
void setData(const edm::ObjectWithDict &) const
void moveToLayer(int layer)
void setEvent(const edm::EventBase *iEvent)
FWProxyBuilderConfiguration * getConfig() const
bool itemIsSelected() const
FWItemValueGetter m_interestingValueGetter
FWItemChangeSignal defaultDisplayPropertiesChanged_
bool isInBack() const
returns true if item is behind all other items
FWItemChangeSignal goingToBeDestroyed_
FWModelChangeManager * changeManager() const
const std::string & processName() const
const std::string & errorMessage() const
returns error string if there was a problem this event
const fireworks::Context * m_context
bool isInFront() const
returns true if item is in front of all other items
const std::string & moduleLabel() const
void setLabels(const std::string &iModule, const std::string &iProductInstance, const std::string &iProcess)
std::string m_moduleLabel
std::shared_ptr< FWItemAccessorBase > m_accessor
const void * data(const std::type_info &) const
const FWDisplayProperties & displayProperties() const
static int maxLayerValue()
const std::string & modelInterestingValueAsString(int iIndex) const
void select(int iIndex) const
const fireworks::Context & context() const
FWSelectionManager * selectionManager() const
const TClass * modelType() const
void unselect(int iIndex) const
void setDefaultDisplayProperties(const FWDisplayProperties &)
std::string modelName(int iIndex) const
std::string m_processName
edm::TypeWithDict m_wrapperType
void getPrimaryData() const
const FWDisplayProperties & defaultDisplayProperties() const
FWProxyBuilderConfiguration * m_proxyBuilderConfig
bool hasError() const
returns true if failed to get data for this event
FWItemChangeSignal itemChanged_
const std::string & filterExpression() const
const edm::EventBase * getEvent() const
FWDisplayProperties m_displayProperties
static int minLayerValue()
bool m_printedErrorThisEvent
FWModelChangeManager * modelChangeManager() const
const FWGeometry * getGeom() const
FWDisplayProperties m_displayProperties
const TClass * type() const
const std::string & name() const
void setFilterExpression(const std::string &)
const edm::EventBase * m_event
FWEventItem(fireworks::Context *iContext, unsigned int iItemId, std::shared_ptr< FWItemAccessorBase > iAccessor, const FWPhysicsObjectDesc &iDesc, const FWConfiguration *pbConf=nullptr)
FWModelChangeSignal changed_
std::string m_errorMessage
std::vector< ModelInfo > m_itemInfos
void setDisplayProperties(int iIndex, const FWDisplayProperties &) const
ModelInfo(const FWDisplayProperties &iProps, bool iIsSelected)
bool haveInterestingValue() const
const std::string & purpose() const
FWColorManager * colorManager() const
ModelInfo modelInfo(int iIndex) const
const std::string & productInstanceLabel() const
void setName(const std::string &iName)
std::string m_productInstanceLabel
FWColorManager * colorManager() const
void toggleSelect(int iIndex) const
FWItemChangeSignal filterChanged_