summaryrefslogtreecommitdiffstats
path: root/source/Concept/Framework/io_module.h
diff options
context:
space:
mode:
authormasterm <devnull@localhost>2007-02-13 15:40:04 +0100
committermasterm <devnull@localhost>2007-02-13 15:40:04 +0100
commit54a7ea32d4c79b5ca56b66a5dac28690e928740e (patch)
treee64f40a8eafd815cbb40c045b8d3c14d133a61a1 /source/Concept/Framework/io_module.h
parent05c8b0af602b222d00c227560682158333b726a2 (diff)
downloadrc2007-soccer-54a7ea32d4c79b5ca56b66a5dac28690e928740e.tar
rc2007-soccer-54a7ea32d4c79b5ca56b66a5dac28690e928740e.zip
+++ added parent object to io_modules
+++ added speed and enabling value stores for engines
Diffstat (limited to 'source/Concept/Framework/io_module.h')
-rw-r--r--source/Concept/Framework/io_module.h22
1 files changed, 18 insertions, 4 deletions
diff --git a/source/Concept/Framework/io_module.h b/source/Concept/Framework/io_module.h
index 271f7a7..af5d611 100644
--- a/source/Concept/Framework/io_module.h
+++ b/source/Concept/Framework/io_module.h
@@ -3,27 +3,41 @@
#include "defines.h"
+class Robot;
+
class IO_Module
{
public:
+ IO_Module()
+ {
+ this->parent = NULL;
+ }
+
IO_Module(uint32 moduleId)
{
+ this->parent = NULL;
this->moduleId = moduleId;
}
- IO_Module(){}
-
protected:
+ Robot* parent;
uint32 moduleId;
public:
+ Robot* GetParent()
+ {
+ return parent;
+ }
+
+ void SetParent(Robot* newParent)
+ {
+ parent = newParent;
+ }
uint32 GetId()
{
return moduleId;
}
-
-
};
#endif