sigx++
2.0.1
Main Page
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
sigx
signal_f_base.h
Go to the documentation of this file.
1
#ifndef _SIGX_SIGNAL_F_BASE_HPP_
2
#define _SIGX_SIGNAL_F_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
23
#include <tr1/memory>
// std::tr1::shared_ptr
24
#include <sigxconfig.h>
25
#include <
sigx/fwddecl.h
>
26
#include <
sigx/nonassignable.h
>
27
#include <
sigx/nonheapallocatable.h
>
28
#include <
sigx/nonpointeraliasing.h
>
29
#include <
sigx/shared_dispatchable.h
>
30
31
32
namespace
sigx
33
{
34
43
class
SIGX_API
signal_f_base
:
nonassignable
,
nonheapallocatable
,
nonpointeraliasing
44
{
45
protected
:
46
signal_f_base
(
const
shared_dispatchable
& _A_disp,
signal_source_ptr
_A_psigsource);
47
// implicit dtor is fine; non-virtual by design
48
49
50
protected
:
51
shared_dispatchable
m_disp
;
54
std::tr1::shared_ptr<signal_source_base>
m_sigsource
;
55
};
56
57
58
}
// namespace sigx
59
60
61
#endif // end file guard
Generated on Mon Oct 1 2012 16:04:09 for sigx++ by
1.8.1.2