Geant4  10.02.p01
G4FastList< OBJECT >::Watcher Class Reference

#include <G4FastList.hh>

+ Inheritance diagram for G4FastList< OBJECT >::Watcher:

Public Types

enum  Priority {
  eExtreme, eHigh, eNormal, eLow,
  eVeryLow
}
 
typedef G4FastList< OBJECT > list
 

Public Member Functions

 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 Attributes

Priority fPriority
 

Private Attributes

std::set< G4FastList< OBJECT > * > fWatching
 

Detailed Description

template<class OBJECT>
class G4FastList< OBJECT >::Watcher

Definition at line 234 of file G4FastList.hh.

Member Typedef Documentation

template<class OBJECT>
typedef G4FastList<OBJECT> G4FastList< OBJECT >::Watcher::list

Definition at line 246 of file G4FastList.hh.

Member Enumeration Documentation

template<class OBJECT>
enum G4FastList::Watcher::Priority
Enumerator
eExtreme 
eHigh 
eNormal 
eLow 
eVeryLow 

Definition at line 237 of file G4FastList.hh.

Constructor & Destructor Documentation

template<class OBJECT>
G4FastList< OBJECT >::Watcher::Watcher ( )
inline

Definition at line 248 of file G4FastList.hh.

template<class OBJECT>
virtual G4FastList< OBJECT >::Watcher::~Watcher ( )
inlinevirtual

Definition at line 253 of file G4FastList.hh.

Member Function Documentation

template<class OBJECT>
Priority G4FastList< OBJECT >::Watcher::GetPriority ( ) const
inline

Definition at line 267 of file G4FastList.hh.

Referenced by sortWatcher< OBJECT >::operator()().

+ Here is the caller graph for this function:

template<class OBJECT>
virtual G4String G4FastList< OBJECT >::Watcher::GetWatcherName ( )
inlinevirtual

Reimplemented in G4FastList< OBJECT >::TWatcher< WATCHER_TYPE >.

Definition at line 263 of file G4FastList.hh.

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

+ Here is the caller graph for this function:

template<class OBJECT>
virtual void G4FastList< OBJECT >::Watcher::NotifyAddObject ( OBJECT *  ,
G4FastList< OBJECT > *   
)
inlinevirtual

Definition at line 276 of file G4FastList.hh.

template<class OBJECT>
void G4FastList< OBJECT >::Watcher::NotifyDeletingList ( G4FastList< OBJECT > *  )
inline

Definition at line 273 of file G4FastList.hh.

template<class OBJECT>
virtual void G4FastList< OBJECT >::Watcher::NotifyRemoveObject ( OBJECT *  ,
G4FastList< OBJECT > *   
)
inlinevirtual

Definition at line 277 of file G4FastList.hh.

template<class OBJECT>
void G4FastList< OBJECT >::Watcher::StopWatching ( G4FastList< OBJECT > *  fastList,
bool  removeWatcher = true 
)
inline

Definition at line 288 of file G4FastList.hh.

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

+ Here is the caller graph for this function:

template<class OBJECT>
void G4FastList< OBJECT >::Watcher::Watch ( G4FastList< OBJECT > *  fastList)
inline

Definition at line 282 of file G4FastList.hh.

Referenced by G4ManyFastLists< G4Track >::Add(), G4ManyFastLists< G4Track >::AddGlobalWatcher(), and PriorityList::NewMainList().

+ Here is the caller graph for this function:

Member Data Documentation

template<class OBJECT>
Priority G4FastList< OBJECT >::Watcher::fPriority
protected
template<class OBJECT>
std::set<G4FastList<OBJECT>*> G4FastList< OBJECT >::Watcher::fWatching
private

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