NDS3  1.0.0
API reference manual
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
threadStd.h
1 /*
2  * Nominal Device Support v3 (NDS3)
3  *
4  * Copyright (c) 2015 Cosylab d.d.
5  *
6  * For more information about the license please refer to the license.txt
7  * file included in the distribution.
8  */
9 
10 #ifndef NDSTHREADSTD_H
11 #define NDSTHREADSTD_H
12 
13 #include <thread>
14 #include "nds3/definitions.h"
15 #include "nds3/impl/threadBaseImpl.h"
16 
17 namespace nds
18 {
19 
20 class ThreadStd: public ThreadBaseImpl
21 {
22 public:
23  ThreadStd(FactoryBaseImpl* pFactory, const std::string& name, threadFunction_t function);
24 
25  virtual void join();
26 
27 protected:
28  std::thread m_thread;
29 };
30 
31 }
32 #endif // NDSTHREADSTD_H
Defines all the enumeration and common types used across the NDS library.