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