City Based Parking and Routing System API Documentation

TrafficLightIntersection Members

TrafficLightIntersection overview

Public Static Methods

Create Creates a new Intersection object with the specified id.

Protected Static Fields

cDefGreenLightTime The default time int simulation steps that a traffic light is green.
cDefYellowLightTime The default time in simulation steps that a traffic light is yellow.

Public Instance Constructors

TrafficLightIntersection Overloaded. Initializes a new instance of the TrafficLightIntersection class.

Public Instance Fields

FullBoundsInvalidated (inherited from UMD.HCIL.Piccolo.PNode) 
PaintInvalidated (inherited from UMD.HCIL.Piccolo.PNode) 

Public Instance Properties

AllNodes (inherited from UMD.HCIL.Piccolo.PNode) 
Bounds (inherited from UMD.HCIL.Piccolo.PNode) 
Brush (inherited from UMD.HCIL.Piccolo.PNode) 
ChildPaintInvalid (inherited from UMD.HCIL.Piccolo.PNode) 
ChildrenCount (inherited from UMD.HCIL.Piccolo.PNode) 
ChildrenEnumerator (inherited from UMD.HCIL.Piccolo.PNode) 
ChildrenPickable (inherited from UMD.HCIL.Piccolo.PNode) 
ChildrenReference (inherited from UMD.HCIL.Piccolo.PNode) 
FullBounds (inherited from UMD.HCIL.Piccolo.PNode) 
GetRoads (inherited from Intersection) Gets the collection of Road objects connected to this intersection.
GlobalBounds (inherited from UMD.HCIL.Piccolo.PNode) 
GlobalFullBounds (inherited from UMD.HCIL.Piccolo.PNode) 
GlobalRotation (inherited from UMD.HCIL.Piccolo.PNode) 
GlobalScale (inherited from UMD.HCIL.Piccolo.PNode) 
GlobalToLocalMatrix (inherited from UMD.HCIL.Piccolo.PNode) 
GlobalTranslation (inherited from UMD.HCIL.Piccolo.PNode) 
HandlerList (inherited from UMD.HCIL.Piccolo.PNode) 
Height (inherited from UMD.HCIL.Piccolo.PNode) 
Id (inherited from Intersection) Gets the unique id of this intersection.
InboundLanes (inherited from Intersection) Returns the number inbound lanes on this intersection.
InverseMatrix (inherited from UMD.HCIL.Piccolo.PNode) 
Item (inherited from Intersection) Gets the road at the specified RoadPosition.
LocalToGlobalMatrix (inherited from UMD.HCIL.Piccolo.PNode) 
Matrix (inherited from UMD.HCIL.Piccolo.PNode) 
MatrixReference (inherited from UMD.HCIL.Piccolo.PNode) 
Occluded (inherited from UMD.HCIL.Piccolo.PNode) 
Offset (inherited from UMD.HCIL.Piccolo.PNode) 
OffsetX (inherited from UMD.HCIL.Piccolo.PNode) 
OffsetY (inherited from UMD.HCIL.Piccolo.PNode) 
OutboundLanes (inherited from Intersection) Returns the number of outbound lanes on this intersection
PaintInvalid (inherited from UMD.HCIL.Piccolo.PNode) 
Parent (inherited from UMD.HCIL.Piccolo.PNode) 
Pickable (inherited from UMD.HCIL.Piccolo.PNode) 
PropertyChangeParentMask (inherited from UMD.HCIL.Piccolo.PNode) 
Roads (inherited from Intersection) Returns the number of roads connected to this intersection.
Root (inherited from UMD.HCIL.Piccolo.PNode) 
Rotation (inherited from UMD.HCIL.Piccolo.PNode) 
Scale (inherited from UMD.HCIL.Piccolo.PNode) 
Tag (inherited from UMD.HCIL.Piccolo.PNode) 
UnionOfChildrenBounds (inherited from UMD.HCIL.Piccolo.PNode) 
Visible (inherited from UMD.HCIL.Piccolo.PNode) 
Width (inherited from UMD.HCIL.Piccolo.PNode) 
X (inherited from UMD.HCIL.Piccolo.PNode) 
Y (inherited from UMD.HCIL.Piccolo.PNode) 

Public Instance Methods

AddActivity (inherited from UMD.HCIL.Piccolo.PNode) 
AddChild (inherited from UMD.HCIL.Piccolo.PNode)Overloaded.  
AddChildren (inherited from UMD.HCIL.Piccolo.PNode)Overloaded.  
AddInputEventListener (inherited from UMD.HCIL.Piccolo.PNode) 
AnimateMatrixToBounds (inherited from UMD.HCIL.Piccolo.PNode) 
AnimateToBounds (inherited from UMD.HCIL.Piccolo.PNode) 
AnimateToColor (inherited from UMD.HCIL.Piccolo.PNode) 
AnimateToMatrix (inherited from UMD.HCIL.Piccolo.PNode) 
AnimateToPositionScaleRotation (inherited from UMD.HCIL.Piccolo.PNode) 
CenterBoundsOnPoint (inherited from UMD.HCIL.Piccolo.PNode) 
CenterFullBoundsOnPoint (inherited from UMD.HCIL.Piccolo.PNode) 
Clone (inherited from UMD.HCIL.Piccolo.PNode) 
ComputeFullBounds (inherited from UMD.HCIL.Piccolo.PNode) 
Connect (inherited from Intersection) Connects a road at the specified road position.
Disconnect (inherited from Intersection)Overloaded. Disconnects the specified road.
EndResizeBounds (inherited from UMD.HCIL.Piccolo.PNode) 
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
FindIntersectingNodes (inherited from UMD.HCIL.Piccolo.PNode) 
FullIntersects (inherited from UMD.HCIL.Piccolo.PNode) 
FullPaint (inherited from UMD.HCIL.Piccolo.PNode) 
FullPick (inherited from UMD.HCIL.Piccolo.PNode) 
GenerateDirections (inherited from Intersection)Overloaded. Generates the DirectionTypes for each lane if they are not set.
GetAllNodes (inherited from UMD.HCIL.Piccolo.PNode) 
GetChild (inherited from UMD.HCIL.Piccolo.PNode) 
GetCrossingDistance (inherited from Intersection) Gets the crude intersection crossing distance based on the from lane.
GetDirection (inherited from Intersection) Gets the direction type that symbolizes the turn between the two road positions.
GetEnumerator (inherited from UMD.HCIL.Piccolo.PNode) 
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetObjectData Populates the provided SerializationInfo with the data needed to serialize the object.
GetRoadConnectedTo (inherited from Intersection) Gets the road connected to the specified opposite intersection.
GetRoute (inherited from Intersection)Overloaded. Retrieves a route crossing the intersection for the specified lanes.
GetTrafficLight Gets the traffic light signal status for the specified internal route.
GetTrafficLightVia Retrieves the traffic light status based on the specified incoming lane.
GetTurnIndicator (inherited from Intersection) Gets the TailLight status for the turn betweent the specfied roads.
GetType (inherited from Object)Gets the Type of the current instance.
GetValidRoadToRoadCrossings (inherited from Intersection) Creates a matrix of valid road to road crossings.
GlobalToLocal (inherited from UMD.HCIL.Piccolo.PNode)Overloaded.  
HasRoute (inherited from Intersection) Determines if their is a route between the two nodes.
InboundLanesOf (inherited from Intersection) Gets the collection of lanes inbound on this intersection for the specified RoadPosition.
IndexOfChild (inherited from UMD.HCIL.Piccolo.PNode) 
Initialize Initializes the intersection.
Intersects (inherited from UMD.HCIL.Piccolo.PNode) 
InvalidateFullBounds (inherited from UMD.HCIL.Piccolo.PNode) 
InvalidateLayout (inherited from UMD.HCIL.Piccolo.PNode) 
InvalidatePaint (inherited from UMD.HCIL.Piccolo.PNode) 
IsAncestorOf (inherited from UMD.HCIL.Piccolo.PNode) 
IsConnected (inherited from Intersection) Determines if the specified road is connected to this intersection.
IsConnectedAt (inherited from Intersection) Retrieves the RoadPosition at which the Road is connected.
IsDescendentOf (inherited from UMD.HCIL.Piccolo.PNode) 
IsDescendentOfRoot (inherited from UMD.HCIL.Piccolo.PNode) 
IsHeadedFor (inherited from Intersection) Gets the RoadPosition of the road where headed to based on the specified current position and the disered turn direction
IsOpaque (inherited from UMD.HCIL.Piccolo.PNode) 
IsPositionConnected (inherited from Intersection) Determines if a specified RoadPosition has a road connected to it.
LayoutChildren (inherited from UMD.HCIL.Piccolo.PNode) 
LocalToGlobal (inherited from UMD.HCIL.Piccolo.PNode)Overloaded.  
LocalToParent (inherited from UMD.HCIL.Piccolo.PNode)Overloaded.  
MayCross (inherited from Intersection)Overloaded. Determines if a vehicle may cross the intersection.
MoveInBackOf (inherited from UMD.HCIL.Piccolo.PNode) 
MoveInFrontOf (inherited from UMD.HCIL.Piccolo.PNode) 
MoveToBack (inherited from UMD.HCIL.Piccolo.PNode) 
MoveToFront (inherited from UMD.HCIL.Piccolo.PNode) 
OffsetBy (inherited from UMD.HCIL.Piccolo.PNode) 
OnClick (inherited from UMD.HCIL.Piccolo.PNode) 
OnDoubleClick (inherited from UMD.HCIL.Piccolo.PNode) 
OnDragDrop (inherited from UMD.HCIL.Piccolo.PNode) 
OnDragEnter (inherited from UMD.HCIL.Piccolo.PNode) 
OnDragLeave (inherited from UMD.HCIL.Piccolo.PNode) 
OnDragOver (inherited from UMD.HCIL.Piccolo.PNode) 
OnGotFocus (inherited from UMD.HCIL.Piccolo.PNode) 
OnKeyDown (inherited from UMD.HCIL.Piccolo.PNode) 
OnKeyPress (inherited from UMD.HCIL.Piccolo.PNode) 
OnKeyUp (inherited from UMD.HCIL.Piccolo.PNode) 
OnLostFocus (inherited from UMD.HCIL.Piccolo.PNode) 
OnMouseDown (inherited from UMD.HCIL.Piccolo.PNode) 
OnMouseDrag (inherited from UMD.HCIL.Piccolo.PNode) 
OnMouseEnter (inherited from UMD.HCIL.Piccolo.PNode) 
OnMouseLeave (inherited from UMD.HCIL.Piccolo.PNode) 
OnMouseMove (inherited from UMD.HCIL.Piccolo.PNode) 
OnMouseUp (inherited from UMD.HCIL.Piccolo.PNode) 
OnMouseWheel (inherited from UMD.HCIL.Piccolo.PNode) 
OutboundLanesOf (inherited from Intersection) Gets the collection of lanes outbound on this intersection for the specified RoadPosition.
ParentBoundsChanged (inherited from UMD.HCIL.Piccolo.PNode) 
ParentToLocal (inherited from UMD.HCIL.Piccolo.PNode)Overloaded.  
Position (inherited from UMD.HCIL.Piccolo.PNode) 
Print (inherited from UMD.HCIL.Piccolo.PNode) 
PrintConflicts (inherited from Intersection) Prints the conflict matrix of the intersection onto screen.
PrintCycles Prints out the cycles of the current traffic light intersection.
PrintRoutes (inherited from Intersection) Prints the routes generated by the intersection onto screen.
ProcessRequests Switches the traffic lights based on a fixed time alloted cycle pattern.
RemoveAllChildren (inherited from UMD.HCIL.Piccolo.PNode) 
RemoveChild (inherited from UMD.HCIL.Piccolo.PNode)Overloaded.  
RemoveChildren (inherited from UMD.HCIL.Piccolo.PNode)Overloaded.  
RemoveFromParent (inherited from UMD.HCIL.Piccolo.PNode) 
RemoveInputEventListener (inherited from UMD.HCIL.Piccolo.PNode) 
Repaint (inherited from UMD.HCIL.Piccolo.PNode) 
RepaintFrom (inherited from UMD.HCIL.Piccolo.PNode) 
Reparent (inherited from UMD.HCIL.Piccolo.PNode) 
ReplaceWith (inherited from UMD.HCIL.Piccolo.PNode) 
RequestCrossing (inherited from Intersection)Overloaded. Allows a vehicle to request intersection crossing permission on the next step.
Reset Resets the traffic light intersection.
ResetBounds (inherited from UMD.HCIL.Piccolo.PNode) 
RotateBy (inherited from UMD.HCIL.Piccolo.PNode)Overloaded.  
RotateInPlace (inherited from UMD.HCIL.Piccolo.PNode) 
ScaleBy (inherited from UMD.HCIL.Piccolo.PNode)Overloaded.  
SetBounds (inherited from UMD.HCIL.Piccolo.PNode) 
SetOffset (inherited from UMD.HCIL.Piccolo.PNode) 
SignalBoundsChanged (inherited from UMD.HCIL.Piccolo.PNode) 
StartResizeBounds (inherited from UMD.HCIL.Piccolo.PNode) 
ToImage (inherited from UMD.HCIL.Piccolo.PNode)Overloaded.  
ToPickPath (inherited from UMD.HCIL.Piccolo.PNode)Overloaded.  
ToString (inherited from UMD.HCIL.Piccolo.PNode) 
TransformBy (inherited from UMD.HCIL.Piccolo.PNode) 
TranslateBy (inherited from UMD.HCIL.Piccolo.PNode) 
ValidateFullPaint (inherited from UMD.HCIL.Piccolo.PNode) 

Public Instance Events

BoundsChanged (inherited from UMD.HCIL.Piccolo.PNode) 
BrushChanged (inherited from UMD.HCIL.Piccolo.PNode) 
ChildrenChanged (inherited from UMD.HCIL.Piccolo.PNode) 
ChildrenPickableChanged (inherited from UMD.HCIL.Piccolo.PNode) 
Click (inherited from UMD.HCIL.Piccolo.PNode) 
DoubleClick (inherited from UMD.HCIL.Piccolo.PNode) 
DragDrop (inherited from UMD.HCIL.Piccolo.PNode) 
DragEnter (inherited from UMD.HCIL.Piccolo.PNode) 
DragLeave (inherited from UMD.HCIL.Piccolo.PNode) 
DragOver (inherited from UMD.HCIL.Piccolo.PNode) 
FullBoundsChanged (inherited from UMD.HCIL.Piccolo.PNode) 
GotFocus (inherited from UMD.HCIL.Piccolo.PNode) 
KeyDown (inherited from UMD.HCIL.Piccolo.PNode) 
KeyPress (inherited from UMD.HCIL.Piccolo.PNode) 
KeyUp (inherited from UMD.HCIL.Piccolo.PNode) 
LostFocus (inherited from UMD.HCIL.Piccolo.PNode) 
MouseDown (inherited from UMD.HCIL.Piccolo.PNode) 
MouseDrag (inherited from UMD.HCIL.Piccolo.PNode) 
MouseEnter (inherited from UMD.HCIL.Piccolo.PNode) 
MouseLeave (inherited from UMD.HCIL.Piccolo.PNode) 
MouseMove (inherited from UMD.HCIL.Piccolo.PNode) 
MouseUp (inherited from UMD.HCIL.Piccolo.PNode) 
MouseWheel (inherited from UMD.HCIL.Piccolo.PNode) 
ParentChanged (inherited from UMD.HCIL.Piccolo.PNode) 
PickableChanged (inherited from UMD.HCIL.Piccolo.PNode) 
TagChanged (inherited from UMD.HCIL.Piccolo.PNode) 
TransformChanged (inherited from UMD.HCIL.Piccolo.PNode) 
VisibleChanged (inherited from UMD.HCIL.Piccolo.PNode) 

Protected Instance Fields

_Actives (inherited from Intersection) Bit array containing the active internal routes of the intersection.
_ConflictMatrix (inherited from Intersection) The conflict matrix for the internal routes.
_CurrentCycle The currently active cycle
_Cycles The complete list of traffic light cycles.
_Id (inherited from Intersection) The unique id of the intersection.
_Requests (inherited from Intersection) Bit array containing the request from vehicles to activate a certain route.
_Responds (inherited from Intersection) Bit array containing the responses to vehicles.
_Roads (inherited from Intersection) The collection of road
_Routes (inherited from Intersection) The list of internal routes for the specified intersection.
_TotalCycleTime The total time required to complete all cycles once.
_TrafficLight The current color of the current cycle of trafficlights.
bounds (inherited from UMD.HCIL.Piccolo.PNode) 

Protected Instance Properties

BoundsModified (inherited from UMD.HCIL.Piccolo.PNode) 
BoundsVolatile (inherited from UMD.HCIL.Piccolo.PNode) 
ChildBoundsInvalid (inherited from UMD.HCIL.Piccolo.PNode) 
ChildBoundsVolatile (inherited from UMD.HCIL.Piccolo.PNode) 
FullBoundsInvalid (inherited from UMD.HCIL.Piccolo.PNode) 
ParamString (inherited from UMD.HCIL.Piccolo.PNode) 

Protected Instance Methods

AddChildren (inherited from UMD.HCIL.Piccolo.PNode)Overloaded.  
DrawTrafficLights Render's the traffic lights onto screen.
Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
FireChildPropertyChangedEvent (inherited from UMD.HCIL.Piccolo.PNode) 
FirePropertyChangedEvent (inherited from UMD.HCIL.Piccolo.PNode) 
GenerateConflicts (inherited from Intersection) Generates a conflict matrix for the routes.
GenerateCycles 
GenerateDirections (inherited from Intersection)Overloaded. Generates the DirectionTypes for each lane if they are not set.
GenerateRoutes (inherited from Intersection)Overloaded. Generates internal routes for a specified intersection.
GenerateTrafficLights Generates the traffic lights table.
GetConnectedLanesNrOf (inherited from Intersection) Gets the number of lanes connected to the intersection.
GetPropertyHandlers (inherited from UMD.HCIL.Piccolo.PNode) 
HandleEvent (inherited from UMD.HCIL.Piccolo.PNode) 
InternalUpdateBounds (inherited from UMD.HCIL.Piccolo.PNode) 
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
OnDeserialize (inherited from Intersection) Function triggered by the Framework after deserialization is complete.
OnFullBoundsInvalidated (inherited from UMD.HCIL.Piccolo.PNode) 
OnPaintInvalidated (inherited from UMD.HCIL.Piccolo.PNode) 
Paint Paints the intersection onto screen.
PaintAfterChildren (inherited from UMD.HCIL.Piccolo.PNode) 
Pick (inherited from UMD.HCIL.Piccolo.PNode) 
PickAfterChildren (inherited from UMD.HCIL.Piccolo.PNode) 
printDocument_PrintPage (inherited from UMD.HCIL.Piccolo.PNode) 
RemoveActReqConflicts (inherited from Intersection) Removes any conflicts between currently active routes and requests.
RemoveChildren (inherited from UMD.HCIL.Piccolo.PNode)Overloaded.  
ResolveConflict (inherited from Intersection) Resolves the conflict between two routes when neither is preferred over the other.
ScaleAndDraw (inherited from UMD.HCIL.Piccolo.PNode) 
UpdateActives (inherited from Intersection) Updates the Active array so that only routes with vehicles still on the intersection remain active.
ValidateFullBounds (inherited from UMD.HCIL.Piccolo.PNode) 

See Also

TrafficLightIntersection Class | CBPRS.Infrastructure Namespace