Skip to content

LaneApproachMovementMC

Type ISIAPILaneApproachMovementMC · Interface
Namespace SIDRASolutions.SI.API
Assembly SIDRASolutions.SI.API.dll
COM CLSID F8915468-80E7-4CB9-8E45-F1E854E45FA0

Declaration

[Guid("F8915468-80E7-4CB9-8E45-F1E854E45FA0")]
public interface ISIAPILaneApproachMovementMC

Members

Properties

Property Type Summary
MC_class int Movement Class Number
Exists bool Flag indicating whether this Movement Class Approach Movement is running on this Approach Lane. The state of this property corresponds to the setting of the "Lane Discipline" checkbox in the SIDRA INTERSECTION "Lane Geometry" dialog - "Lane Disciplines" tab for the given Movement Class Approach Movement.
LaneApproachMovement ISIAPILaneApproachMovement

Properties

MC_class

Movement Class Number

int MC_class { get; }

Type int

Value

One of:

  • 1 - Light Vehicles
  • 2 - Heavy Vehicles
  • 3 - Buses
  • 4 - Bicycles
  • 5 - Large Trucks
  • 6 - Trams
  • 7 - User Class 1
  • 8 - User Class 2
  • 9 - User Class 3
  • 10 - User Class 4
  • 11 - User Class 5
  • 12 - User Class 6
Code samples
int mC_class = laneApproachMovementMC.MC_class;
long mC_class;
laneApproachMovementMC->get_MC_class(&mC_class);
mc_class = laneApproachMovementMC.MC_class
$mC_class = $laneApproachMovementMC.MC_class

Exists

Flag indicating whether this Movement Class Approach Movement is running on this Approach Lane.

The state of this property corresponds to the setting of the "Lane Discipline" checkbox in the SIDRA INTERSECTION "Lane Geometry" dialog - "Lane Disciplines" tab for the given Movement Class Approach Movement.

bool Exists { get; set; }

Type bool

Remarks

SIAPISite.ResetLaneMovements() needs to be called manually or the related SIAPILaneMovementMC.Flow_proportion need to be revised manually after Lane Discipline changes.

Code samples
bool exists = laneApproachMovementMC.Exists;
laneApproachMovementMC.Exists = true;
VARIANT_BOOL exists;
laneApproachMovementMC->get_Exists(&exists);
laneApproachMovementMC->put_Exists(VARIANT_TRUE);
exists = laneApproachMovementMC.Exists
laneApproachMovementMC.Exists = True
$exists = $laneApproachMovementMC.Exists
$laneApproachMovementMC.Exists = $true

LaneApproachMovement

ISIAPILaneApproachMovement LaneApproachMovement { get; }

Type ISIAPILaneApproachMovement

Code samples
var laneApproachMovement = laneApproachMovementMC.LaneApproachMovement;
CComPtr<ISIAPILaneApproachMovement> laneApproachMovement;
laneApproachMovementMC->get_LaneApproachMovement(&laneApproachMovement);
lane_approach_movement = laneApproachMovementMC.LaneApproachMovement
$laneApproachMovement = $laneApproachMovementMC.LaneApproachMovement