Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
alta
alta
Commits
46b4a7bd
Commit
46b4a7bd
authored
Mar 26, 2013
by
Laurent Belcour
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding some documentation to the plugins_manager
parent
cd4877b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
10 deletions
+13
-10
sources/core/plugins_manager.h
sources/core/plugins_manager.h
+13
-10
No files found.
sources/core/plugins_manager.h
View file @
46b4a7bd
...
...
@@ -8,26 +8,29 @@
#include "fitter.h"
#include "args.h"
/*! \brief This class handles the loading of plugins and insure that they can
* talk to each others through coordinates transforms.
*
* \details
*
* \todo Should we put this class as a singleton ? I am tempted by it so that
* each plugin can access some informations.
*/
class
plugins_manager
{
public:
//functions
// Create the object, parse the argument and load
// all the plugins
//
//! \brief Create the object, parse the argument and load all the plugins
plugins_manager
(
const
arguments
&
args
)
;
// Get instances of the function, the data and the
// fitter. Select the first in the map,
//
//! Get instances of the function, the data and the fitter. Select the first
//! in the map,
function
*
get_function
()
const
;
data
*
get_data
()
const
;
fitter
*
get_fitter
()
const
;
// Get instances of the function, the data and the
// fitter, select one based on the name. Return null
// if no one exist.
//
//! \brief Get instances of the function, the data and the fitter, select one
//! based on the name. Return null if no one exist.
function
*
get_function
(
const
std
::
string
&
n
)
const
;
data
*
get_data
(
const
std
::
string
&
n
)
const
;
fitter
*
get_fitter
(
const
std
::
string
&
n
)
const
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment