1 #ifndef Fireworks_Core_FWEventItem_h
2 #define Fireworks_Core_FWEventItem_h
25 #include "Reflex/Type.h"
26 #include <boost/shared_ptr.hpp>
27 #include <sigc++/connection.h>
45 class TVirtualCollectionProxy;
78 boost::shared_ptr<FWItemAccessorBase> iAccessor,
83 #if !defined(__CINT__) && !defined(__MAKECINT__)
85 void get(
const T*& oData)
const {
86 oData=
reinterpret_cast<const T*
>(
data(
typeid(
T)));
89 const void*
data(
const std::type_info&)
const;
102 unsigned int id()
const;
103 const std::string&
name()
const;
104 const TClass*
type()
const;
106 const std::string&
purpose()
const;
168 void setLabels(
const std::string& iModule,
169 const std::string& iProductInstance,
170 const std::string& iProcess);
171 void setName(
const std::string& iName);
190 void select(
int iIndex)
const;
220 void setData(
const Reflex::Object& )
const;
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 setData(const Reflex::Object &) 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
void proxyConfigChanged()
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_
boost::shared_ptr< FWItemAccessorBase > m_accessor
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
static int maxLayerValue()
const void * data(const std::type_info &) const
void setDefaultDisplayProperties(const FWDisplayProperties &)
const std::string & productInstanceLabel() const
std::string m_processName
const TClass * type() const
FWProxyBuilderConfiguration * m_proxyBuilderConfig
const fireworks::Context & context() const
FWItemChangeSignal itemChanged_
FWSelectionManager * selectionManager() 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 &)
Reflex::Type m_wrapperType
FWEventItem(fireworks::Context *iContext, unsigned int iItemId, boost::shared_ptr< FWItemAccessorBase > iAccessor, const FWPhysicsObjectDesc &iDesc, const FWConfiguration *pbConf=0)
const edm::EventBase * m_event
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_