Fawkes API  Fawkes Development Version
openprs_manager.cpp
1 
2 /***************************************************************************
3  * openprs_manager.cpp - OpenPRS manager aspect for Fawkes
4  *
5  * Created: Thu Aug 15 18:52:36 2013
6  * Copyright 2006-2013 Tim Niemueller [www.niemueller.de]
7  *
8  ****************************************************************************/
9 
10 /* This program is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation; either version 2 of the License, or
13  * (at your option) any later version. A runtime exception applies to
14  * this software (see LICENSE.GPL_WRE file mentioned below for details).
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  * GNU Library General Public License for more details.
20  *
21  * Read the full text in the LICENSE.GPL_WRE file in the doc directory.
22  */
23 
24 #include <plugins/openprs/aspect/openprs_manager.h>
25 
26 namespace fawkes {
27 #if 0 /* just to make Emacs auto-indent happy */
28 }
29 #endif
30 
31 /** @class OpenPRSManagerAspect <plugins/openprs/aspect/openprs_manager.h>
32  * Thread aspect access the OpenPRS kernel manager.
33 
34  * Give this aspect to your thread if you want to access the OpenPRS
35  * kernel manager. Use this with extreme care and only if you
36  * know what you are doing. If you want to create a OpenPRS kernel
37  * to work with use the OpenPRSAspect. If you want to provide a OpenPRS
38  * feature to other kernel use the OpenPRSFeatureAspect.
39  *
40  * @ingroup Aspects
41  * @author Tim Niemueller
42  */
43 
44 /** @var fawkes::OpenPRSKernelManager OpenPRSManagerAspect::openprs_kernel_mgr
45  * OpenPRS kenerl manager.
46  */
47 
48 /** Constructor. */
50 {
51  add_aspect("OpenPRSManagerAspect");
52 }
53 
54 
55 /** Virtual empty destructor. */
57 {
58 }
59 
60 } // end namespace fawkes
virtual ~OpenPRSManagerAspect()
Virtual empty destructor.
Fawkes library namespace.
void add_aspect(const char *name)
Add an aspect to a thread.
Definition: aspect.cpp:52