Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
woops, fix Java after removing an unimplemented function
[simgrid.git] / src / bindings / java / surfdoc.i
index 362c1e4..02a6c89 100644 (file)
@@ -68,7 +68,7 @@
   public";
 
 
-%javamethodmodifiers CpuModel::createResource(const char *name, DoubleDynar power_peak,
+%javamethodmodifiers CpuModel::createCpu(const char *name, DoubleDynar power_peak,
                               int pstate, double power_scale,
                               tmgr_trace *power_trace, int core,
                               e_surf_resource_state_t state_initial,
     * A cpu constructor (using LMM)
     * @param model
     * @param name
-    * @param properties
+    * @param props
     * @param constraint
     * @param core
     * @param powerPeak
     * A cpu constructor
     * @param model
     * @param name
-    * @param properties
+    * @param props
     * @param core
     * @param powerPeak
     * @param powerScale
 
 %javamethodmodifiers Cpu::setPowerPeakAt(int pstate_index) "
   /**
-    * @param  index of power peak to set
+    * @param pstate_index index of power peak to set
     */
   public";
 
 %javamethodmodifiers Cpu::setState(e_surf_resource_state_t state) "
   /**
-    * @param The new state of the cpu
+    * @param state The new state of the cpu
     */
   public";
 
 
-%typemap(javaimports) NetworkLink "
+%typemap(javaimports) Link "
 /**
  * A generic resource for the network component
  */"
 
-  %javamethodmodifiers NetworkLink::getBandwidth() "
+  %javamethodmodifiers Link::getBandwidth() "
   /**
     * @return The bandwidth of the link
     */
   public";
 
-%javamethodmodifiers NetworkLink::updateBandwidth(double value, double date=surf_get_clock()) "
+%javamethodmodifiers Link::updateBandwidth(double value, double date=surf_get_clock()) "
   /**
     * @param value The new bandwidth
-    * @param date When to change the bandwidth
     */
   public";
 
-  %javamethodmodifiers NetworkLink::getLatency() "
+  %javamethodmodifiers Link::getLatency() "
   /**
     * @return The latency of the link
     */
   public";
 
-%javamethodmodifiers NetworkLink::updateLatency(double value, double date=surf_get_clock()) "
+%javamethodmodifiers Link::updateLatency(double value, double date=surf_get_clock()) "
   /**
     * @param value The new latency
-    * @param date When to change the latency
     */
   public";
 
 
 %javamethodmodifiers Action::setBound(double bound) "
   /**
-    * @param TODO
+    * @param bound TODO
     */
   public";
 
 
 %javamethodmodifiers Action::setPriority(double priority) "
   /**
-    * @param The new priority of the action
+    * @param priority The new priority of the action
     */
   public";
 
 %javamethodmodifiers Action::setState(e_surf_action_state_t state) "
   /**
-    * @param The new state
+    * @param state The new state
     */
   public";
 
 %typemap(javaimports) NetworkAction "
 /**
   * An network action created by network model
-  * @see NetworkLink
+  * @see Link
   */"
 
 %javamethodmodifiers NetworkAction::getLatency() "