Skip to content

Phasemovement_peds

Type ISIAPIPhasemovement_peds · Interface
Namespace SIDRASolutions.SI.API
Assembly SIDRASolutions.SI.API.dll
COM CLSID 29FCFFCB-198A-48E0-A45E-D3C24650D76A

Declaration

[Guid("29FCFFCB-198A-48E0-A45E-D3C24650D76A")]
public interface ISIAPIPhasemovement_peds

Members

Properties

Property Type Summary
Count int
this[] ISIAPIPhasemovement_ped Get a Phase's Pedestrian Movement.

Methods

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

Properties

Count

int Count { get; }

Type int

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

this[]

Get a Phase's Pedestrian Movement.

ISIAPIPhasemovement_ped this[] { get; }

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

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

Methods

PhasemovementPedExists(int, int, int)

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

bool PhasemovementPedExists(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 = phasemovement_peds.PhasemovementPedExists(0, 0, 0);
VARIANT_BOOL result;
phasemovement_peds->PhasemovementPedExists(0, 0, 0, &result);
result = phasemovement_peds.PhasemovementPedExists(0, 0, 0)
$result = $phasemovement_peds.PhasemovementPedExists(0, 0, 0)