sigx++  2.0.1
tunnel_base.h
Go to the documentation of this file.
1 #ifndef _SIGX_TUNNEL_BASE_HPP_
2 #define _SIGX_TUNNEL_BASE_HPP_
3 
4 /*
5  * Copyright 2006 Klaus Triendl
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Library General Public
9  * License as published by the Free Software Foundation; either
10  * version 2 of the License, or (at your option) any later version.
11  *
12  * This library is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  * Library General Public License for more details.
16  *
17  * You should have received a copy of the GNU Library General Public
18  * License along with this library; if not, write to the Free
19  * Software Foundation, 51 Franklin Street, Fifth Floor,
20  * Boston, MA 02110-1301, USA.
21 */
22 
25 
26 
27 namespace sigx
28 {
29 
39 class SIGX_API tunnel_base
40 {
41 public:
42  tunnel_base(const shared_dispatchable& _A_disp);
43 
44  // implicit copy ctor is fine
45  // implicit dtor is fine
46  // implicit assignment operator is fine
47 
48 
49 public:
51  { return m_validity_tracker; }
52 
53 
54 protected:
57 };
58 
59 
60 } // namespace sigx
61 
62 
63 #endif // _SIGX_TUNNEL_BASE_HPP_
shared_dispatchable m_disp
Definition: tunnel_base.h:55
Interface for tracking the validity of a tunnel.
Definition: tunnel_validity_tracker.h:34
tunnel_validity_tracker & validity_tracker() const
Definition: tunnel_base.h:50
tunnel_validity_tracker m_validity_tracker
Definition: tunnel_base.h:56
A hint to the compiler that the functor is a tunnel_functor.
Definition: tunnel_base.h:39
thread safe dispatcher reference that can be passed around.
Definition: shared_dispatchable.h:50