diff --git a/autowiring/CoreContext.h b/autowiring/CoreContext.h index f789cab6b..3b8419c33 100644 --- a/autowiring/CoreContext.h +++ b/autowiring/CoreContext.h @@ -521,10 +521,14 @@ class CoreContext: template bool Is(void) const { return GetSigilType() == typeid(Sigil); } + /// /// The first child in the set of this context's children. + /// std::shared_ptr FirstChild(void) const; + /// /// The next context sharing the same parent, or null if this is the last entry in the list + /// std::shared_ptr NextSibling(void) const; /// diff --git a/autowiring/CoreRunnable.h b/autowiring/CoreRunnable.h index f3139a35e..63ee78e3f 100644 --- a/autowiring/CoreRunnable.h +++ b/autowiring/CoreRunnable.h @@ -38,20 +38,20 @@ class CoreRunnable { const std::shared_ptr& GetOutstanding(void) const; /// - /// Invoked by the Start() method. Override this method to perform - /// any needed setup; + /// Invoked by the Start() method. Override this method to perform any needed setup /// - /// True if processing has started, false otherwise. When overriding, returning false - /// will shut down the runnable immediately. + /// + /// True if processing has started, false otherwise. When overriding, returning false will shut down the + /// runnable immediately. + /// /// - /// This method will be called at most once. Returning false from this method will result in an immediate invocation - /// of the OnStop(false). + /// This method will be called at most once. Returning false from this method will result in an immediate + /// invocation of OnStop(false). /// virtual bool OnStart(void) { return false; }; /// - /// Invoked by the base class Stop() method. Override this method to perform - /// any needed cleanup. + /// Invoked by the base class Stop() method. Override this method to perform any needed cleanup. /// /// /// Specifies whether the runnable should stop normally or whether it should exit as quickly as possible. diff --git a/autowiring/DispatchQueue.h b/autowiring/DispatchQueue.h index 02aa1d522..c76b14e54 100644 --- a/autowiring/DispatchQueue.h +++ b/autowiring/DispatchQueue.h @@ -56,6 +56,8 @@ class DispatchQueue { // Notice when the dispatch queue has been updated: std::condition_variable m_queueUpdated; + // True if DispatchQueue::Abort has been called. This will cause the dispatch queue's remaining entries + // to be dumped and prevent the introduction of new entries to the queue. bool m_aborted; ///