-
Notifications
You must be signed in to change notification settings - Fork 0
/
vc2hms.ice
47 lines (33 loc) · 1.01 KB
/
vc2hms.ice
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#ifndef _VC2ICE_ICE
#define _VC2ICE_ICE
#include <hms.ice>
module hms {
interface PropertyList {
string getProperty(string name);
StringSeq getPropertyList();
void setProperty(string name, string val);
} ;
interface Behaviour extends PropertyList{
};
interface Simulation extends Holon, PropertyList { //interface to the entire Visual Component simulation
void start();
void stop();
void reset();
};
interface Component extends Holon, PropertyList {
StringSeq getBehaviourList();
Behaviour* getBehaviour(string name);
};
interface Robot extends GenericRobot, Component {
};
interface Conveyor extends Component {
void start();
void stop();
};
interface Feeder extends Component {
void start();
void stop();
void setSequence(DoubleSeq feedseq); //a sequence of double representing the frequency for every object prpoduced by the feeder
};
};
#endif