Geant4  10.03
G4ManyFastLists< OBJECT > Class Template Reference

#include <G4FastList.hh>

+ Inheritance diagram for G4ManyFastLists< OBJECT >:
+ Collaboration diagram for G4ManyFastLists< OBJECT >:

Public Types

typedef
G4ManyFastLists_iterator
< OBJECT > 
iterator
 
- Public Types inherited from G4FastList< OBJECT >::Watcher
enum  Priority {
  eExtreme, eHigh, eNormal, eLow,
  eVeryLow
}
 
typedef G4FastList< OBJECT > list
 

Public Member Functions

 G4ManyFastLists ()
 
virtual ~G4ManyFastLists ()
 
virtual void NotifyDeletingList (G4FastList< OBJECT > *__list)
 
void AddGlobalWatcher (typename G4FastList< OBJECT >::Watcher *watcher)
 
void Add (G4FastList< OBJECT > *__list)
 
void Remove (G4FastList< OBJECT > *__list)
 
bool Holds (OBJECT *__track) const
 
size_t size () const
 
void RemoveLists ()
 
void ClearLists ()
 
iterator begin ()
 
iterator end ()
 
void pop (OBJECT *)
 
- Public Member Functions inherited from G4FastList< OBJECT >::Watcher
 Watcher ()
 
virtual ~Watcher ()
 
virtual G4String GetWatcherName ()
 
Priority GetPriority () const
 
void NotifyDeletingList (G4FastList< OBJECT > *)
 
virtual void NotifyAddObject (OBJECT *, G4FastList< OBJECT > *)
 
virtual void NotifyRemoveObject (OBJECT *, G4FastList< OBJECT > *)
 
void Watch (G4FastList< OBJECT > *fastList)
 
void StopWatching (G4FastList< OBJECT > *fastList, bool removeWatcher=true)
 

Protected Types

typedef G4FastList< G4FastList
< OBJECT > > 
ManyLists
 
typedef std::set< typename
G4FastList< OBJECT >::Watcher
*, sortWatcher< OBJECT > > 
WatcherSet
 

Protected Attributes

ManyLists fAssociatedLists
 
WatcherSetfMainListWatchers
 
- Protected Attributes inherited from G4FastList< OBJECT >::Watcher
Priority fPriority
 

Detailed Description

template<class OBJECT>
class G4ManyFastLists< OBJECT >

Definition at line 66 of file G4FastList.hh.

Member Typedef Documentation

template<class OBJECT>
typedef G4ManyFastLists_iterator<OBJECT> G4ManyFastLists< OBJECT >::iterator

Definition at line 58 of file G4ManyFastLists.hh.

template<class OBJECT>
typedef G4FastList<G4FastList<OBJECT> > G4ManyFastLists< OBJECT >::ManyLists
protected

Definition at line 49 of file G4ManyFastLists.hh.

template<class OBJECT>
typedef std::set<typename G4FastList<OBJECT>::Watcher*, sortWatcher<OBJECT> > G4ManyFastLists< OBJECT >::WatcherSet
protected

Definition at line 54 of file G4ManyFastLists.hh.

Constructor & Destructor Documentation

template<class OBJECT>
G4ManyFastLists< OBJECT >::G4ManyFastLists ( )
inline

Definition at line 60 of file G4ManyFastLists.hh.

template<class OBJECT>
virtual G4ManyFastLists< OBJECT >::~G4ManyFastLists ( )
inlinevirtual

Definition at line 65 of file G4ManyFastLists.hh.

Member Function Documentation

template<class OBJECT>
void G4ManyFastLists< OBJECT >::Add ( G4FastList< OBJECT > *  __list)
inline

Definition at line 94 of file G4ManyFastLists.hh.

Referenced by PriorityList::NewMainList(), and PriorityList::PushToListOfSecondaries().

+ Here is the caller graph for this function:

template<class OBJECT>
void G4ManyFastLists< OBJECT >::AddGlobalWatcher ( typename G4FastList< OBJECT >::Watcher watcher)
inline

Definition at line 72 of file G4ManyFastLists.hh.

Referenced by G4ITTrackHolder::AddWatcherForMainList().

+ Here is the caller graph for this function:

template<class OBJECT >
G4ManyFastLists< OBJECT >::iterator G4ManyFastLists< OBJECT >::begin ( )
inline

Definition at line 387 of file G4ManyFastLists.hh.

Referenced by G4ITModelProcessor::CalculateMinTimeStep(), G4ITStepProcessor::ComputeInteractionLength(), and G4Scheduler::EndTracking().

+ Here is the caller graph for this function:

template<class OBJECT>
void G4ManyFastLists< OBJECT >::ClearLists ( )
inline

Definition at line 224 of file G4ManyFastLists.hh.

Referenced by G4ITTrackHolder::Clear().

+ Here is the caller graph for this function:

template<class OBJECT >
G4ManyFastLists< OBJECT >::iterator G4ManyFastLists< OBJECT >::end ( )
inline

Definition at line 425 of file G4ManyFastLists.hh.

Referenced by G4ITModelProcessor::CalculateMinTimeStep(), G4ITStepProcessor::ComputeInteractionLength(), G4ITStepProcessor::DoIt(), and G4Scheduler::EndTracking().

+ Here is the caller graph for this function:

template<class OBJECT>
bool G4ManyFastLists< OBJECT >::Holds ( OBJECT *  __track) const
inline

Definition at line 175 of file G4ManyFastLists.hh.

template<class OBJECT>
virtual void G4ManyFastLists< OBJECT >::NotifyDeletingList ( G4FastList< OBJECT > *  __list)
inlinevirtual

Definition at line 67 of file G4ManyFastLists.hh.

template<class OBJECT>
void G4ManyFastLists< OBJECT >::pop ( OBJECT *  )
template<class OBJECT>
void G4ManyFastLists< OBJECT >::Remove ( G4FastList< OBJECT > *  __list)
inline

Definition at line 152 of file G4ManyFastLists.hh.

Referenced by G4ManyFastLists< G4Track >::RemoveLists().

+ Here is the caller graph for this function:

template<class OBJECT>
void G4ManyFastLists< OBJECT >::RemoveLists ( )
inline

Definition at line 198 of file G4ManyFastLists.hh.

Referenced by G4ITTrackHolder::Clear(), G4ITTrackHolder::MoveMainToWaitingList(), and G4ITTrackHolder::~G4ITTrackHolder().

+ Here is the caller graph for this function:

template<class OBJECT>
size_t G4ManyFastLists< OBJECT >::size ( ) const
inline

Definition at line 184 of file G4ManyFastLists.hh.

Referenced by G4ITStepProcessor::DoIt(), and G4ITTrackHolder::GetNTracks().

+ Here is the caller graph for this function:

Member Data Documentation

template<class OBJECT>
ManyLists G4ManyFastLists< OBJECT >::fAssociatedLists
protected

Definition at line 50 of file G4ManyFastLists.hh.

template<class OBJECT>
WatcherSet* G4ManyFastLists< OBJECT >::fMainListWatchers
protected

Definition at line 55 of file G4ManyFastLists.hh.


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