Last change
on this file was
167,
checked in by (none), 14 years ago
|
Simeo: added final project and also older proof of concept code.
We used Git for version control, so look at the Git repo
in SIMEO/Simeo/ for more info.
|
File size:
483 bytes
|
Line | |
---|
1 | #ifndef AGENT_H |
---|
2 | #define AGENT_H |
---|
3 | |
---|
4 | #include <vector> |
---|
5 | #include "X.h" |
---|
6 | #include "Sensor.h" |
---|
7 | #include "Actuator.h" |
---|
8 | #include "CommChannel.h" |
---|
9 | |
---|
10 | using namespace std; |
---|
11 | |
---|
12 | class Agent |
---|
13 | { |
---|
14 | protected: |
---|
15 | vector<Sensor *> m_sensorList; |
---|
16 | vector<Actuator *> m_actuatorList; |
---|
17 | vector<CommChannel *> m_channelList; |
---|
18 | |
---|
19 | public: |
---|
20 | Agent(vector<Sensor *> sensorList, vector<Actuator *> actuatorList, vector<CommChannel *> channelList); |
---|
21 | ~Agent(); |
---|
22 | |
---|
23 | virtual void step() { }; |
---|
24 | virtual void run(); |
---|
25 | |
---|
26 | }; |
---|
27 | |
---|
28 | |
---|
29 | #endif //AGENT_H |
---|
Note: See
TracBrowser
for help on using the repository browser.