Expand description
Generated Protocol Buffer types and gRPC service definitions.
This module contains all types generated from the .proto files:
- Session management:
SessionReq,NewSessionResponse,InfoSessionResponse - Grid/Cells:
Cell,Point,SessionGrid,ZoneType - Trips:
Trip,SessionTrip,TripType,AgentType,BehaviourType - Traffic Lights:
TrafficLight,Group,GroupType,SessionTls - Conflict Zones:
ConflictZone,SessionConflictZones,ConflictWinnerType - Simulation:
SessionStep,SessionStepResponse,VehicleState,TlsState - gRPC Client:
service_client::ServiceClient - gRPC Server:
service_server::ServiceServer(withserverfeature)
Modules§
- service_
client - Generated client implementations.
- service_
server - Generated server implementations.
Structs§
- Cell
- Cell structure
- Conflict
Zone - Conflict zone structure
- Group
- Traffic light group definition
- Group
Movement Metadata - GroupMovementMetadata: statistical info for a traffic light group by movement direction
- Info
Session Response - Server response for session info request
- NewSession
Response - Server response for new session creation
- Point
- Point geometry (x, y) In case of SRID = 4326 (which could be set for the whole computational session), X refers to longitude, Y refers to latitude.
- Session
- Session description
- Session
Conflict Zones - Conflict zones payload bound to a session
- Session
Conflict Zones Response - Server response for session conflict zones ingest
- Session
Grid - Grid cells payload bound to a session
- Session
Grid Response - Server response for session grid ingest
- Session
Req - Computation session creation request
- Session
Step - Run a single simulation step (computation session-bound)
- Session
Step Response - Server response for running one simulation step
- Session
Tls - Traffic lights payload bound to a session
- Session
TlsResponse - Server response for traffic light ingest
- Session
Trip - Trip payload bound to a session
- Session
Trip Response - Server response for trip ingest
- TlGroup
- Traffic light group state
- TlsState
- Traffic light state data for single step
- Traffic
Light - Traffic light definition
- Trip
- Trip definition
- UuiDv4
- Vehicle
State - Vehicle state data for single step
Enums§
- Agent
Type - Agent type aligned with Rust computation core
AgentTypehttps://docs.rs/micro_traffic_sim_core/0.1.0/micro_traffic_sim_core/agents_types/enum.AgentType.html - Behaviour
Type - Behaviour strategy, aligned with Rust computation core
BehaviourTypehttps://docs.rs/micro_traffic_sim_core/0.1.0/micro_traffic_sim_core/behaviour/enum.BehaviourType.html - Conflict
Winner Type - Winner type for conflict resolution, aligned with Rust computation core
ConflictWinnerTypehttps://docs.rs/micro_traffic_sim_core/0.1.0/micro_traffic_sim_core/conflict_zones/enum.ConflictWinnerType.html - Conflict
Zone Type - Conflict zone type (reserved for FUTURE WORKS), aligned with Rust computation core
ConflictZoneTypehttps://docs.rs/micro_traffic_sim_core/0.1.0/micro_traffic_sim_core/conflict_zones/enum.ConflictZoneType.html - Group
Type - Traffic light group type
- Movement
Direction - Maneuver direction
- Signal
Kind - Signal kind: main or intermediate
- Trip
Type - Trip generation pattern, aligned with Rust computation core
TripTypehttps://docs.rs/micro_traffic_sim_core/0.1.0/micro_traffic_sim_core/trips/trip/enum.TripType.html - Zone
Type - Zone type aligned with Rust computation core
ZoneTypehttps://docs.rs/micro_traffic_sim_core/0.1.0/micro_traffic_sim_core/grid/zones/enum.ZoneType.html