ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/applications/hydrodynamics/HydrodynamicsModelFactory.hpp
(Generate patch)

Comparing branches/development/src/applications/hydrodynamics/HydrodynamicsModelFactory.hpp (file contents):
Revision 1725 by gezelter, Sat May 26 18:13:43 2012 UTC vs.
Revision 1808 by gezelter, Mon Oct 22 20:42:10 2012 UTC

# Line 92 | Line 92 | namespace OpenMD {
92      /**
93       * Registers a creator with a type identifier
94       * @return true if registration is successful, otherwise return false
95 <     * @id the identification of the concrete object
96 <     * @creator the object responsible to create the concrete object
95 >     * @param creator the object responsible to create the concrete object
96       */
97      bool registerHydrodynamicsModel(HydrodynamicsModelCreator* creator);
98  
# Line 102 | Line 101 | namespace OpenMD {
101       * was previously registered, the function returns true.
102       * @return truethe type identifier was previously registered and the creator is removed,
103       * otherwise return false
104 <     * @id the identification of the concrete object
104 >     * @param id the identification of the concrete object
105       */
106      bool unregisterHydrodynamicsModel(const std::string& id);
107      /**
# Line 111 | Line 110 | namespace OpenMD {
110       * @return a pointer of the concrete object, return NULL if no creator is registed for
111       * creating this concrete object
112       * @param id the identification of the concrete object
113 +     * @param sd a pointer to the StuntDouble being modeled
114 +     * @param info a pointer to the SimInfo object
115       */
116      HydrodynamicsModel* createHydrodynamicsModel(const std::string& id, StuntDouble* sd, SimInfo* info);
117  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines