Opm::ThreadHandle Class Reference

List of all members.

Classes

class  EndObject
class  ObjectInterface
class  ObjectWrapper
class  ThreadHandleQueue

Public Member Functions

 ThreadHandle (const bool createThread)
 constructor creating ThreadHandle
template<class Object >
void dispatch (Object &&obj)
 dispatch object to queue of separate thread
 ~ThreadHandle ()
 destructor terminating the thread

Static Protected Member Functions

static void startThread (ThreadHandleQueue *obj)

Protected Attributes

ThreadHandleQueue threadObjectQueue_
std::unique_ptr< std::thread > thread_

Constructor & Destructor Documentation

Opm::ThreadHandle::ThreadHandle ( const bool  createThread  )  [inline]

constructor creating ThreadHandle

Parameters:
isIORank if true thread is created

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

Generated on 26 Mar 2018 by  doxygen 1.6.1