diff options
Diffstat (limited to 'source/Concept/robot.cpp')
-rw-r--r-- | source/Concept/robot.cpp | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/source/Concept/robot.cpp b/source/Concept/robot.cpp deleted file mode 100644 index 768554e..0000000 --- a/source/Concept/robot.cpp +++ /dev/null @@ -1,37 +0,0 @@ -#include "robot.h"
-
-//-----------------------------------------------------------------------------
-Robot::~Robot()
-{
- while(!modules.empty())
- {
- moduleMap::iterator iter = modules.begin();
- delete iter->second;
- modules.erase(iter);
- }
-}
-
-//-----------------------------------------------------------------------------
-bool Robot::AddModule(IO_Module* newModule)
-{
- moduleMap::iterator itr = modules.find(newModule->GetId());
- if(itr != modules.end())
- return false;
-
- modules[newModule->GetId()] = newModule;
- return true;
-}
-
-//-----------------------------------------------------------------------------
-bool Robot::RemoveModule(IO_Module* oldModule)
-{
- return RemoveModule(oldModule->GetId());
-}
-
-//-----------------------------------------------------------------------------
-void Robot::Update()
-{
- //insert code here
-}
-
-//--- EOF ---
\ No newline at end of file |