CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
edm::SourceGroup Class Reference

#include <Group.h>

Inheritance diagram for edm::SourceGroup:
edm::ProducedGroup edm::Group

Public Member Functions

 SourceGroup (boost::shared_ptr< ConstBranchDescription > bd)
 
virtual ~SourceGroup ()
 
- Public Member Functions inherited from edm::ProducedGroup
 ProducedGroup ()
 
void producerCompleted ()
 
void producerStarted ()
 
GroupStatusstatus () const
 
virtual ~ProducedGroup ()
 
- Public Member Functions inherited from edm::Group
ConstBranchDescription const & branchDescription () const
 
void checkType (WrapperOwningHolder const &prod) const
 
void deleteProduct ()
 
 Group ()
 
void mergeProduct (WrapperOwningHolder const &edp, ProductProvenance &productProvenance)
 
void mergeProduct (WrapperOwningHolder const &edp) const
 
void mergeTheProduct (WrapperOwningHolder const &edp) const
 
std::string const & moduleLabel () const
 
bool onDemand () const
 
std::string const & processName () const
 
boost::shared_ptr< void const > product () const
 
ProductID const & productID () const
 
std::string const & productInstanceName () const
 
ProductProvenanceproductProvenancePtr () const
 
TypeID productType () const
 
bool productUnavailable () const
 
bool productWasDeleted () const
 
Provenanceprovenance () const
 
bool provenanceAvailable () const
 
bool putOrMergeProduct () const
 
void putProduct (WrapperOwningHolder const &edp, ProductProvenance const &productProvenance)
 
void putProduct (WrapperOwningHolder const &edp) const
 
void reallyCheckType (WrapperOwningHolder const &prod) const
 
void resetBranchDescription (boost::shared_ptr< ConstBranchDescription > bd)
 
void resetProductData ()
 
void setProcessHistoryID (ProcessHistoryID const &phid)
 
void setProductProvenance (ProductProvenance const &prov) const
 
void setProvenance (boost::shared_ptr< BranchMapper > mapper, ProcessHistoryID const &phid, ProductID const &pid)
 
void setProvenance (boost::shared_ptr< BranchMapper > mapper, ProcessHistoryID const &phid)
 
void swap (Group &rhs)
 
WrapperHolder wrapper () const
 
void write (std::ostream &os) const
 
virtual ~Group ()
 

Private Member Functions

virtual bool onDemand_ () const
 
virtual ProductData const & productData () const
 
virtual ProductDataproductData ()
 
virtual void resetStatus ()
 
virtual GroupStatusstatus_ () const
 
virtual void swap_ (Group &rhs)
 

Private Attributes

ProductData productData_
 
GroupStatus theStatus_
 

Additional Inherited Members

- Protected Types inherited from edm::ProducedGroup
enum  GroupStatus {
  Present = 0, NotRun = 3, NotCompleted = 4, NotPut = 5,
  UnscheduledNotRun = 6, ProductDeleted =7, Uninitialized = 0xff
}
 

Detailed Description

Definition at line 293 of file Group.h.

Constructor & Destructor Documentation

edm::SourceGroup::SourceGroup ( boost::shared_ptr< ConstBranchDescription bd)
inlineexplicit

Definition at line 295 of file Group.h.

GroupStatus theStatus_
Definition: Group.h:309
ProductData productData_
Definition: Group.h:308
edm::SourceGroup::~SourceGroup ( )
virtual

Definition at line 18 of file Group.cc.

18 {}

Member Function Documentation

virtual bool edm::SourceGroup::onDemand_ ( ) const
inlineprivatevirtual

Implements edm::Group.

Definition at line 304 of file Group.h.

304 {return false;}
virtual ProductData const& edm::SourceGroup::productData ( ) const
inlineprivatevirtual

Implements edm::Group.

Definition at line 305 of file Group.h.

References productData_.

305 {return productData_;}
ProductData productData_
Definition: Group.h:308
virtual ProductData& edm::SourceGroup::productData ( )
inlineprivatevirtual

Implements edm::Group.

Definition at line 306 of file Group.h.

References productData_.

306 {return productData_;}
ProductData productData_
Definition: Group.h:308
virtual void edm::SourceGroup::resetStatus ( )
inlineprivatevirtual

Implements edm::Group.

Definition at line 303 of file Group.h.

References edm::ProducedGroup::NotPut, and theStatus_.

virtual GroupStatus& edm::SourceGroup::status_ ( ) const
inlineprivatevirtual

Implements edm::ProducedGroup.

Definition at line 307 of file Group.h.

References theStatus_.

307 {return theStatus_;}
GroupStatus theStatus_
Definition: Group.h:309
virtual void edm::SourceGroup::swap_ ( Group rhs)
inlineprivatevirtual

Implements edm::Group.

Definition at line 298 of file Group.h.

References productData_, edm::swap(), std::swap(), and theStatus_.

298  {
299  SourceGroup& other = dynamic_cast<SourceGroup&>(rhs);
300  edm::swap(productData_, other.productData_);
301  std::swap(theStatus_, other.theStatus_);
302  }
SourceGroup(boost::shared_ptr< ConstBranchDescription > bd)
Definition: Group.h:295
void swap(Association< C > &lhs, Association< C > &rhs)
Definition: Association.h:117
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
GroupStatus theStatus_
Definition: Group.h:309
ProductData productData_
Definition: Group.h:308

Member Data Documentation

ProductData edm::SourceGroup::productData_
private

Definition at line 308 of file Group.h.

Referenced by productData(), and swap_().

GroupStatus edm::SourceGroup::theStatus_
mutableprivate

Definition at line 309 of file Group.h.

Referenced by resetStatus(), status_(), and swap_().