ProteoWizard
Public Member Functions | Private Member Functions | Private Attributes | List of all members
pwiz::util::IterationListenerRegistry Class Reference

handles registration of IterationListeners and broadcast of update messages More...

#include <IterationListener.hpp>

Public Member Functions

 IterationListenerRegistry ()
 
void addListener (const IterationListenerPtr &listener, size_t iterationPeriod)
 
void addListenerWithTimer (const IterationListenerPtr &listener, double timePeriod)
 
void removeListener (const IterationListenerPtr &listener)
 
IterationListener::Status broadcastUpdateMessage (const IterationListener::UpdateMessage &updateMessage) const
 

Private Member Functions

 IterationListenerRegistry (IterationListenerRegistry &)
 
IterationListenerRegistryoperator= (IterationListenerRegistry &)
 

Private Attributes

boost::shared_ptr< Impl > impl_
 

Detailed Description

handles registration of IterationListeners and broadcast of update messages

Definition at line 64 of file IterationListener.hpp.

Constructor & Destructor Documentation

§ IterationListenerRegistry() [1/2]

pwiz::util::IterationListenerRegistry::IterationListenerRegistry ( )

§ IterationListenerRegistry() [2/2]

pwiz::util::IterationListenerRegistry::IterationListenerRegistry ( IterationListenerRegistry )
private

Member Function Documentation

§ addListener()

void pwiz::util::IterationListenerRegistry::addListener ( const IterationListenerPtr listener,
size_t  iterationPeriod 
)

§ addListenerWithTimer()

void pwiz::util::IterationListenerRegistry::addListenerWithTimer ( const IterationListenerPtr listener,
double  timePeriod 
)

Referenced by testTime().

§ removeListener()

void pwiz::util::IterationListenerRegistry::removeListener ( const IterationListenerPtr listener)

Referenced by testRemove().

§ broadcastUpdateMessage()

IterationListener::Status pwiz::util::IterationListenerRegistry::broadcastUpdateMessage ( const IterationListener::UpdateMessage updateMessage) const

Referenced by test(), testCancel(), testRemove(), and testTime().

§ operator=()

IterationListenerRegistry& pwiz::util::IterationListenerRegistry::operator= ( IterationListenerRegistry )
private

Member Data Documentation

§ impl_

boost::shared_ptr<Impl> pwiz::util::IterationListenerRegistry::impl_
private

Definition at line 77 of file IterationListener.hpp.


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