Skip to content

Movement_peds

Type ISIAPIMovement_peds · Interface
Namespace SIDRASolutions.SI.API
Assembly SIDRASolutions.SI.API.dll
COM CLSID E5AB577B-30AF-4B51-8EED-33D34974A2A7

Declaration

[Guid("E5AB577B-30AF-4B51-8EED-33D34974A2A7")]
public interface ISIAPIMovement_peds

Members

Properties

Property Type Summary
Count int
this[] ISIAPIMovement_ped Get a Pedestrian Movement.

Methods

Method Returns Summary
MovementExists(int, int, int) bool Get a value indicating whether a Pedestrian Movement exists in the data storage.

Properties

Count

int Count { get; }

Type int

Code samples
int count = movement_peds.Count;
long count;
movement_peds->get_Count(&count);
count = movement_peds.Count
$count = $movement_peds.Count

this[]

Get a Pedestrian Movement.

ISIAPIMovement_ped this[] { get; }

Type ISIAPIMovement_ped - Return a Pedestrian Movement if it exists in the data storage; otherwise, null/Nothing.

Code samples
var this[] = movement_peds.this[];
CComPtr<ISIAPIMovement_ped> this[];
movement_peds->get_this[](&this[]);
this[] = movement_peds.this[]
$this[] = $movement_peds.this[]

Methods

MovementExists(int, int, int)

Get a value indicating whether a Pedestrian Movement exists in the data storage.

bool MovementExists(int type, int origin, int stage)

Parameters

Name Type Description
type int One of: - 1 - Full Crossing - 2 - Slip Lane - 3 - Staged - 4 - Diagonal
origin int One of: - 0 - South - 1 - South East - 2 - East - 3 - North East - 4 - North - 5 - North West - 6 - West - 7 - South West
stage int One of: - 1 - Stage 1 (Approach-side crossing) - 2 - Stage 2 (Exit-side crossing)

Returns bool - true if it exists in the data storage; otherwise, false

Code samples
bool result = movement_peds.MovementExists(0, 0, 0);
VARIANT_BOOL result;
movement_peds->MovementExists(0, 0, 0, &result);
result = movement_peds.MovementExists(0, 0, 0)
$result = $movement_peds.MovementExists(0, 0, 0)