Simutrans-Squirrel-API OTRP v63_4
Loading...
Searching...
No Matches
sign_desc_x Class Reference
Inheritance diagram for sign_desc_x:
Collaboration diagram for sign_desc_x:

Public Member Functions

bool is_one_way ()
bool is_private_way ()
bool is_traffic_light ()
bool is_choose_sign ()
bool is_signal ()
bool is_pre_signal ()
bool is_priority_signal ()
bool is_priority_signal ()
bool is_longblock_signal ()
bool is_end_choose_signal ()
Public Member Functions inherited from obj_desc_transport_x
integer get_maintenance ()
integer get_cost ()
way_types get_waytype ()
integer get_topspeed ()
Public Member Functions inherited from obj_desc_time_x
time_x get_intro_date ()
time_x get_retire_date ()
bool is_future (time_x time)
bool is_retired (time_x time)
bool is_available (time_x time)
Public Member Functions inherited from obj_desc_x
string get_name ()
bool is_equal (obj_desc_x other)
bool is_valid ()

Static Public Member Functions

static array< sign_desc_x > get_available_signs (way_types wt)

Detailed Description

Descriptor of roadsigns and signals.

Definition at line 416 of file api_obj_desc.cc.

Member Function Documentation

◆ get_available_signs()

array< sign_desc_x > sign_desc_x::get_available_signs ( way_types wt)
static

Returns a list with available sign types.

Parameters
wtwaytype

◆ is_choose_sign()

bool sign_desc_x::is_choose_sign ( )
Returns
true if sign is choose sign

◆ is_end_choose_signal()

bool sign_desc_x::is_end_choose_signal ( )
Returns
true if sign is end-of-choose sign

◆ is_longblock_signal()

bool sign_desc_x::is_longblock_signal ( )
Returns
true if sign is long-block signal

◆ is_one_way()

bool sign_desc_x::is_one_way ( )
Returns
true if sign is one-way sign

◆ is_pre_signal()

bool sign_desc_x::is_pre_signal ( )
Returns
true if sign is pre signal (distant signal)

◆ is_priority_signal() [1/2]

bool sign_desc_x::is_priority_signal ( )
Returns
true if sign is priority signal

◆ is_priority_signal() [2/2]

bool sign_desc_x::is_priority_signal ( )
Returns
true if sign is priority signal

◆ is_private_way()

bool sign_desc_x::is_private_way ( )
Returns
true if sign is private-way sign

◆ is_signal()

bool sign_desc_x::is_signal ( )
Returns
true if sign is signal

◆ is_traffic_light()

bool sign_desc_x::is_traffic_light ( )
Returns
true if sign is traffic light

The documentation for this class was generated from the following file: