Aimsun Next Scripting  24.0
Public Member Functions | List of all members
GKScheduleMasterControlMeteringItem Class Reference

Public Member Functions

 GKScheduleMasterControlMeteringItem ()
 
 GKScheduleMasterControlMeteringItem (uint afrom, uint aduration, GKControlMetering *acontrolMet)
 
int getFrom () const
 
uint getDuration () const
 
void setFrom (uint seconds)
 
void setDuration (uint seconds)
 
void setControlJunction (GKControlMetering *amet)
 
GKControlMeteringgetControlMetering () const
 

Detailed Description

It tells to the simulator when it will start, the duration and the control metering information.

Constructor & Destructor Documentation

◆ GKScheduleMasterControlMeteringItem() [1/2]

GKScheduleMasterControlMeteringItem::GKScheduleMasterControlMeteringItem ( )

◆ GKScheduleMasterControlMeteringItem() [2/2]

GKScheduleMasterControlMeteringItem::GKScheduleMasterControlMeteringItem ( uint  afrom,
uint  aduration,
GKControlMetering acontrolMet 
)

Member Function Documentation

◆ getControlMetering()

GKControlMetering * GKScheduleMasterControlMeteringItem::getControlMetering ( ) const

Returns the associated control plan.

◆ getDuration()

uint GKScheduleMasterControlMeteringItem::getDuration ( ) const

Returns the duration in seconds.

◆ getFrom()

int GKScheduleMasterControlMeteringItem::getFrom ( ) const

Returns the starting time in seconds.

◆ setControlJunction()

void GKScheduleMasterControlMeteringItem::setControlJunction ( GKControlMetering amet)

Sets the associated control plan.

◆ setDuration()

void GKScheduleMasterControlMeteringItem::setDuration ( uint  seconds)

Sets the duration in seconds.

◆ setFrom()

void GKScheduleMasterControlMeteringItem::setFrom ( uint  seconds)

Sets the starting time in seconds.

© Aimsun SLU
Aimsun ®