From c94d0c347fdbd8acc774df4ac17617a3f63e4507 Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Sun, 9 Jul 2017 23:48:06 +0200 Subject: Delete old codebase This change removes version 1 of the OpenDC simulator codebase as it will be replaced by a complete rewrite in the Kotlin language. --- Simulator/include/modeling/Rack.h | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 Simulator/include/modeling/Rack.h (limited to 'Simulator/include/modeling/Rack.h') diff --git a/Simulator/include/modeling/Rack.h b/Simulator/include/modeling/Rack.h deleted file mode 100644 index 7e5638ef..00000000 --- a/Simulator/include/modeling/Rack.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once -#include "modeling/Entity.h" -#include "modeling/machine/Machine.h" - -#include - -namespace Modeling -{ - /* - The Rack class models a physical rack. It holds a vector of machines. - */ - class Rack : public Entity - { - public: - /* - Initializes the rack with the given machines. - */ - Rack(int id, std::unordered_map machines); - - /* - Returns all machines in this rack. - */ - std::unordered_map& getMachines(); - - /* - Returns the machine at the given slot. - */ - Machine& getMachineAtSlot(int slot); - - private: - std::unordered_map machines; - }; -} -- cgit v1.2.3