NDS3  1.0.0
API reference manual
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
thread.h
Go to the documentation of this file.
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 NDSTHREAD_H
11 #define NDSTHREAD_H
12 
22 #include <string>
23 #include <memory>
24 #include "nds3/definitions.h"
25 
26 namespace nds
27 {
28 
29 class ThreadBaseImpl;
30 
44 class NDS3_API Thread
45 {
46 public:
47 
51  Thread();
52 
53  Thread(const Thread& right);
54 
55  Thread& operator=(const Thread& right);
56 
57 #ifndef SWIG
58  Thread(std::shared_ptr<ThreadBaseImpl> pImpl);
59 #endif
60 
61  void join();
62 
63 protected:
64  std::shared_ptr<ThreadBaseImpl> m_pImplementation;
65 
66 };
67 
68 }
69 #endif // THREAD_H
Defines all the enumeration and common types used across the NDS library.
Represents a thread.
Definition: thread.h:44