Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[surf] tiny cleanups around the virtual machines
authorMartin Quinson <martin.quinson@loria.fr>
Tue, 27 Oct 2015 18:10:58 +0000 (19:10 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Tue, 27 Oct 2015 18:16:17 +0000 (19:16 +0100)
commit18da6183cb7f52a959005356cee3e1388d533a14
treee4dc31effb28d8395e38cad9d87ff0a32c0875db
parent4b8f532bffc9826c6cb9676d52608d7bb9447913
[surf] tiny cleanups around the virtual machines

- rename the file vm_interface.[ch] into virtual_machine.[ch]
- rename the type VM into VirtualMachine
- have the VirtualMachine constructor register the VM to the host lib
  - it was in Model13::CreateVM, that can now be emptied and soon killed
  - other VM models won't forget to do so
src/surf/host_clm03.cpp
src/surf/host_interface.cpp
src/surf/surf_c_bindings.cpp
src/surf/surf_interface.cpp
src/surf/virtual_machine.cpp [moved from src/surf/vm_interface.cpp with 74% similarity]
src/surf/virtual_machine.hpp [moved from src/surf/vm_interface.hpp with 81% similarity]
src/surf/vm_hl13.cpp
src/surf/vm_hl13.hpp
tools/cmake/DefinePackages.cmake