libzypp  17.35.12
base_p.h
Go to the documentation of this file.
1 #ifndef ZYPP_NG_BASE_PRIVATE_BASE_P_H_INCLUDED
2 #define ZYPP_NG_BASE_PRIVATE_BASE_P_H_INCLUDED
3 
7 #include <unordered_set>
8 #include <thread>
9 
10 namespace zyppng
11 {
12 
14  {
16  public:
17  BasePrivate ( Base &b ) : z_ptr(&b){}
18  virtual ~BasePrivate();
19 
20  virtual void init ();
21 
23  std::unordered_set< Base::Ptr > children;
24  Base *z_ptr = nullptr;
25  std::thread::id threadId = std::this_thread::get_id();
26  };
27 
28 }
29 
30 
31 #endif
virtual ~BasePrivate()
Definition: base.cc:5
std::weak_ptr< Base > WeakPtr
Definition: base.h:66
unsigned short b
std::thread::id threadId
Definition: base_p.h:25
std::unordered_set< Base::Ptr > children
Definition: base_p.h:23
Base::WeakPtr parent
Definition: base_p.h:22
virtual void init()
Definition: base.cc:8
BasePrivate(Base &b)
Definition: base_p.h:17
#define ZYPP_DECLARE_PUBLIC(Class)
Definition: zyppglobal.h:98
sigc::trackable trackable
Definition: signals.h:181