Geant4  10.01.p03
G4FastList< OBJECT >::Watcher Class Reference

#include <G4FastList.hh>

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

Public Types

typedef G4FastList< OBJECT > list
 

Public Member Functions

 Watcher ()
 
virtual ~Watcher ()
 
void NotifyDeletingList (G4FastList< OBJECT > *)
 
void NotifyNewObject (OBJECT *, G4FastList< OBJECT > *)
 
void NotifyRemoveObject (OBJECT *, G4FastList< OBJECT > *)
 
void NotifyEmpty (OBJECT *, G4FastList< OBJECT > *)
 
void Watch (G4FastList< OBJECT > *fastList)
 
void StopWatching (G4FastList< OBJECT > *fastList, bool removeWatcher=true)
 

Private Attributes

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

Detailed Description

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

Definition at line 231 of file G4FastList.hh.

Member Typedef Documentation

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

Definition at line 234 of file G4FastList.hh.

Constructor & Destructor Documentation

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

Definition at line 235 of file G4FastList.hh.

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

Definition at line 236 of file G4FastList.hh.

Member Function Documentation

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

Definition at line 246 of file G4FastList.hh.

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

Definition at line 249 of file G4FastList.hh.

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

Definition at line 247 of file G4FastList.hh.

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

Definition at line 248 of file G4FastList.hh.

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

Definition at line 257 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 251 of file G4FastList.hh.

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

+ Here is the caller graph for this function:

Member Data Documentation

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

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