X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e709643ef0c5b61c6c878016c418bffa2b1b20cd..390f07ace843ed23ed4d2a1d26f90148d07836ad:/doc/doxygen/inside_extending.doc diff --git a/doc/doxygen/inside_extending.doc b/doc/doxygen/inside_extending.doc index 1a7f221dbb..fefe0a21ac 100644 --- a/doc/doxygen/inside_extending.doc +++ b/doc/doxygen/inside_extending.doc @@ -35,7 +35,7 @@ the classes of the corresponding interfaces. 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 a initializing function like this: +CpuAction. You also need to define an initializing function like this: ~~~~ void surf_cpu_model_init_plop() @@ -164,11 +164,11 @@ generates the following files: Helper functions to get and set simcall arguments and results - popping_bodies.cpp: The BODY function of each simcall -- popping_enum.h: - Definition of type `enum e_smx_simcall_t` (one value per existing simcall) +- popping_enum.hpp: + Definition of type `enum class Simcall` (one value per existing simcall) - popping_generated.cpp: Definitions of `simcall_names[]` (debug name of each simcall), and - SIMIX_simcall_enter() that deals with the simcall from within the kernel + ActorImpl::simcall_handle() that deals with the simcall from within the kernel The simcall.in file list all the simcalls in sections. A line starting by "##" define a new section which will be replace by a "ifdef" in the generated code. @@ -256,4 +256,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 +*/