30 static BSHP<ThreadMgr>
New();
44 virtual void SetObserver(BSHP<Observer> a_prog) = 0;
47 virtual std::vector<BSHP<ThreadLoop>>
Threads() = 0;
virtual std::vector< BSHP< ThreadLoop > > Threads()=0
XM_DISALLOW_COPY_AND_ASSIGN(ThreadMgr)
prevent copy/assign compiler generated functions
Manages a multi-threaded process.
static BSHP< ThreadMgr > New()
Creates a ThreadMgr.
virtual void SetThreadLoopClass(BSHP< ThreadLoop > a_)=0
virtual void RunThreads(int a_nIter)=0
virtual void SetObserver(BSHP< Observer > a_prog)=0
virtual void ExplicitlySetNumThreads(int a_nThreads)=0