Revision 820, 428 bytes
(checked in by smidl, 14 years ago)
|
Dorpava Zlicin
|
Rev | Line | |
---|
[819] | 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 | |
---|
[820] | 12 | void BaseTrafficAgent::from_setting(const Setting& set) |
---|
[819] | 13 | { |
---|
| 14 | bdm::Participant::from_setting(set); |
---|
| 15 | |
---|
[820] | 16 | UI::get(sg,set,"sg", UI::compulsory); |
---|
| 17 | UI::get(requests,set,"output",UI::compulsory); |
---|
[819] | 18 | } |
---|