Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Say goodbye to last global: surf_host_model
[simgrid.git] / doc / doxygen / inside_extending.doc
index d9ae393..a8f97d8 100644 (file)
@@ -36,6 +36,7 @@ For instance, if you want to add a new cup model called `Plop`, create two files
 cpu_plop.hpp and cpu_plop_cpp which contains classes CpuPlopModel, CpuPlop and
 CpuPlopAction implementing respectively the interfaces CpuModel, Cpu and
 CpuAction. You also need to define an initializing function like this:
+FIXME[donassolo]: update doc
 
 ~~~~
 void surf_cpu_model_init_plop()
@@ -165,7 +166,7 @@ generates the following files:
 - popping_bodies.cpp:
   The BODY function of each simcall
 - popping_enum.hpp:
-  Definition of type `enum e_smx_simcall_t` (one value per existing simcall)
+  Definition of type `enum class Simcall` (one value per existing simcall)
 - popping_generated.cpp:
   Definitions of `simcall_names[]` (debug name of each simcall), and
   ActorImpl::simcall_handle() that deals with the simcall from within the kernel
@@ -256,4 +257,4 @@ catch (std::runtime_error& e) {
 You should not do something like that. Please work instead to make XML
 avoidable, ie to make the C++ interface nice and usable.
 
-*/
\ No newline at end of file
+*/