Project

General

Profile

Revision 9b4328d7

ID9b4328d7dc719f032ff4f4f3aceddea007668964

Added by Priya about 12 years ago

Merged WH_Robots with other files

View differences:

scout/libscout/src/helper_classes/Order.cpp
19 19
    return id;
20 20
}  
21 21

  
22
Address get_source() const
22
Address Order::get_source() const
23 23
{
24 24
    return source;
25 25
}
26 26

  
27
Address get_dest() const
27
Address Order::get_dest() const
28 28
{
29 29
    return dest;
30 30
}
31 31

  
32
Time get_start_time() const
32
Time Order::get_start_time() const
33 33
{
34 34
    return start_time;
35 35
}
36 36

  
37
Path get_path() const
37
Path Order::get_path() const
38 38
{
39 39
    return path;
40 40
}
41 41

  
42
void set_path(Path order_path)
42
bool Order::operator==(Order& o1, Order& o2)
43
{
44
  return o1.id == o2.id;
45
}
46

  
47
void Order::set_path(Path order_path)
43 48
{
44 49
    path = order_path;
45 50
    return;

Also available in: Unified diff