| Constructor and Description |
|---|
AllStopPolicy(V2IManagerCallback im)
Create an all stop policy
|
| Modifier and Type | Method and Description |
|---|---|
void |
act(double timeStep)
Give the policy a chance to do any processing it might need to do in
order to respond to requests, if it hasn't responded to them already.
|
StatCollector<AllStopPolicy> |
getStatCollector()
Get the statistic collector.
|
void |
processV2IMessage(V2IMessage msg)
Process a V2I message
|
void |
setV2IManagerCallback(V2IManagerCallback im)
Set the V2I manager call-back.
|
public AllStopPolicy(V2IManagerCallback im)
im - the intersection managerpublic void setV2IManagerCallback(V2IManagerCallback im)
setV2IManagerCallback in interface Policyim - the V2I manager's call-backpublic void act(double timeStep)
public void processV2IMessage(V2IMessage msg)
processV2IMessage in interface Policymsg - the V2I messagepublic StatCollector<AllStopPolicy> getStatCollector()
getStatCollector in interface PolicyCopyright © 2013. All rights reserved.