Revision 820, 428 bytes
(checked in by smidl, 15 years ago)
|
Dorpava Zlicin
|
Line | |
---|
1 | #include "traffic_agent.h" |
---|
2 | |
---|
3 | void SignalGroup::from_setting(const libconfig::Setting& set) |
---|
4 | { |
---|
5 | UI::get(name,set, "name", UI::compulsory); |
---|
6 | UI::get(detectors, set, "detectors", UI::optional); |
---|
7 | // |
---|
8 | // TODO make some analysis of the detectors |
---|
9 | |
---|
10 | } |
---|
11 | |
---|
12 | void BaseTrafficAgent::from_setting(const Setting& set) |
---|
13 | { |
---|
14 | bdm::Participant::from_setting(set); |
---|
15 | |
---|
16 | UI::get(sg,set,"sg", UI::compulsory); |
---|
17 | UI::get(requests,set,"output",UI::compulsory); |
---|
18 | } |
---|