All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
PendingWorkItemContainer.h
1 // Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2 
3 #pragma once
4 
5 #include "PendingItemsContainer.h"
6 #include "WorkItem.h"
7 #include "CallbackCollection.h"
8 
9 namespace Eegeo
10 {
11  namespace Concurrency
12  {
13  class PendingWorkItemContainer : public Helpers::PendingItemsContainer<Eegeo::Concurrency::Tasks::WorkItem>
14  {
15  private:
16  const Eegeo::Helpers::ICallback0* m_onCompletionCallback;
17  public:
19  void Complete(Eegeo::Concurrency::Tasks::WorkItem& workItem);
20  };
21  }
22 }