]> AND Public Git Repository - simgrid.git/blobdiff - include/simgrid/kernel/resource/Resource.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
finish snake-casing resource::Model
[simgrid.git] / include / simgrid / kernel / resource / Resource.hpp
index 70061ab49c189864f60b3863bfb9ef4d36c4a6bc..7c8c075da214c6b0d097ea91ad6ac3b9cc524c28 100644 (file)
@@ -53,7 +53,7 @@ public:
   virtual void apply_event(TraceEvent* event, double value) = 0;
 
   /** @brief Check if the current Resource is used (if it currently serves an action) */
-  virtual bool isUsed() = 0;
+  virtual bool is_used() = 0;
 
   /** @brief returns the current load (in flops per second, byte per second or similar) */
   virtual double getLoad();
@@ -70,7 +70,7 @@ public:
 private:
   std::string name_;
   Model* model_;
-  bool isOn_ = true;
+  bool is_on_ = true;
 
 public: /* LMM */
   /** @brief Get the lmm constraint associated to this Resource if it is part of a LMM component (or null if none) */