COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
LibActions.hpp
Go to the documentation of this file.
1 // Copyright (C) 2010-2013 von Karman Institute for Fluid Dynamics, Belgium
2 //
3 // This software is distributed under the terms of the
4 // GNU Lesser General Public License version 3 (LGPLv3).
5 // See doc/lgpl.txt and doc/gpl.txt for the license text.
6 
7 #ifndef cf3_solver_actions_LibActions_hpp
8 #define cf3_solver_actions_LibActions_hpp
9 
11 
12 #include "common/Library.hpp"
13 
15 
18 #ifdef COOLFLUID_SOLVER_ACTIONS_EXPORTS
19 # define solver_actions_API CF3_EXPORT_API
20 # define solver_actions_TEMPLATE
21 #else
22 # define solver_actions_API CF3_IMPORT_API
23 # define solver_actions_TEMPLATE CF3_TEMPLATE_EXTERN
24 #endif
25 
27 
28 namespace cf3 {
29 namespace solver {
30 namespace actions {
31 
33 
36  public common::Library
37 {
38 public:
39 
40 
41 
42 
44  LibActions ( const std::string& name) : common::Library(name) { }
45 
46 public: // functions
47 
49  static std::string library_namespace() { return "cf3.solver.actions"; }
50 
51 
55  static std::string library_name() { return "actions"; }
56 
60 
61  static std::string library_description()
62  {
63  return "This library implements the actions API.";
64  }
65 
67  static std::string type_name() { return "LibActions"; }
68 
69 }; // end LibActions
70 
72 
73 } // actions
74 } // solver
75 } // cf3
76 
78 
79 #endif // cf3_solver_actions_LibActions_hpp
std::string name(ComponentWrapper &self)
Class defines the initialization and termination of the library actions.
Definition: LibActions.hpp:35
#define solver_actions_API
Definition: LibActions.hpp:22
LibActions(const std::string &name)
Constructor.
Definition: LibActions.hpp:44
Top-level namespace for coolfluid.
Definition: Action.cpp:18
static std::string type_name()
Gets the Class name.
Definition: LibActions.hpp:67
Component class for a library.
Definition: Library.hpp:25
static std::string library_namespace()
Definition: LibActions.hpp:49
static std::string library_description()
Definition: LibActions.hpp:61
static std::string library_name()
Definition: LibActions.hpp:55
Send comments to:
COOLFluiD Web Admin