ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HEPREP::HepRepIterator Class Referenceabstract

#include <geant4/tree/geant4-10.6-release/source/visualization/HepRep/include/HEPREP/HepRepIterator.h>

Public Member Functions

virtual ~HepRepIterator ()
 Destructor.
 
virtual bool hasNext ()=0
 
virtual HepRepInstancenextInstance ()=0
 
virtual void addHepRepAttributeListener (std::string name, HepRepAttributeListener *listener)=0
 
virtual void removeHepRepAttributeListener (std::string name, HepRepAttributeListener *listener)=0
 
virtual void addHepRepFrameListener (HepRepFrameListener *listener)=0
 
virtual void removeHepRepFrameListener (HepRepFrameListener *listener)=0
 
virtual bool drawAsFrame ()=0
 

Detailed Description

HepRepIterator interface.

Author
Mark Donszelmann

Definition at line 25 of file HepRepIterator.h.

View newest version in sPHENIX GitHub at line 25 of file HepRepIterator.h

Constructor & Destructor Documentation

virtual HEPREP::HepRepIterator::~HepRepIterator ( )
inlinevirtual

Destructor.

Definition at line 29 of file HepRepIterator.h.

View newest version in sPHENIX GitHub at line 29 of file HepRepIterator.h

Member Function Documentation

virtual void HEPREP::HepRepIterator::addHepRepAttributeListener ( std::string  name,
HepRepAttributeListener listener 
)
pure virtual

Adds a listener to be informed about attribute changes while iterating.

Parameters
listenerto be added.
virtual void HEPREP::HepRepIterator::addHepRepFrameListener ( HepRepFrameListener listener)
pure virtual

Adds a listener to be informed about attribute changes while iterating.

Parameters
listenerto be added.
virtual bool HEPREP::HepRepIterator::drawAsFrame ( )
pure virtual

Returns true if the current instance, just delivered by nextInstance(), is to be drawn as a frame.

virtual bool HEPREP::HepRepIterator::hasNext ( )
pure virtual

Signals if there is a next instance to iterate to.

Returns
true if next() can be called.
virtual HepRepInstance* HEPREP::HepRepIterator::nextInstance ( )
pure virtual

Returns next instance.

Returns
next HepRepInstance.
virtual void HEPREP::HepRepIterator::removeHepRepAttributeListener ( std::string  name,
HepRepAttributeListener listener 
)
pure virtual

Removes a listener.

Parameters
listenerto be removed.
virtual void HEPREP::HepRepIterator::removeHepRepFrameListener ( HepRepFrameListener listener)
pure virtual

Removes a listener.

Parameters
listenerto be removed.

The documentation for this class was generated from the following file: