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;
void proxyConfigChanged(bool k=false)
FWProxyBuilderConfiguration * getConfig() const
const FWItemValueGetter & valueGetter() const
one value from the model which is normally used for the popup
FWItemChangeSignal preItemChanged_
const FWDisplayProperties & defaultDisplayProperties() const
FWModelChangeManager * changeManager() const
const FWDisplayProperties & displayProperties() const
void moveToLayer(int layer)
std::string modelName(int iIndex) const
void setEvent(const edm::EventBase *iEvent)
const std::string & name() const
FWColorManager * colorManager() const
FWItemValueGetter m_interestingValueGetter
FWColorManager * colorManager() const
void setDisplayProperties(int iIndex, const FWDisplayProperties &) const
const std::string & filterExpression() const
FWItemChangeSignal defaultDisplayPropertiesChanged_
bool haveInterestingValue() const
void getPrimaryData() const
void unselect(int iIndex) const
FWItemChangeSignal goingToBeDestroyed_
const fireworks::Context * m_context
bool itemIsSelected() const
const std::string & processName() 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
static int maxLayerValue()
const void * data(const std::type_info &) const
void setDefaultDisplayProperties(const FWDisplayProperties &)
const std::string & productInstanceLabel() const
std::string m_processName
edm::TypeWithDict m_wrapperType
const TClass * type() const
FWProxyBuilderConfiguration * m_proxyBuilderConfig
const fireworks::Context & context() const
FWItemChangeSignal itemChanged_
FWSelectionManager * selectionManager() const
void setData(const edm::ObjectWithDict &) const
FWModelChangeManager * modelChangeManager() const
const std::string & modelInterestingValueAsString(int iIndex) const
FWDisplayProperties m_displayProperties
static int minLayerValue()
bool m_printedErrorThisEvent
bool hasError() const
returns true if failed to get data for this event
FWSelectionManager * selectionManager() const
const edm::EventBase * getEvent() const
void toggleSelect(int iIndex) const
bool isInBack() const
returns true if item is behind all other items
FWDisplayProperties m_displayProperties
bool isInFront() const
returns true if item is in front of all other items
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
bool isCollection() const
const TClass * modelType() const
const std::string & errorMessage() const
returns error string if there was a problem this event
std::vector< ModelInfo > m_itemInfos
ModelInfo(const FWDisplayProperties &iProps, bool iIsSelected)
void select(int iIndex) const
const void * modelData(int iIndex) const
ModelInfo modelInfo(int iIndex) const
const std::string & purpose() const
void setName(const std::string &iName)
std::string m_productInstanceLabel
const FWGeometry * getGeom() const
const std::string & moduleLabel() const
FWItemChangeSignal filterChanged_