GMTDTaskInfo Class Reference

GMTDTaskInfo Class Reference

Overview

An immutable object representing a task that will be completed at a vehicle stop.

Inherits GMTSImmutableData.

Public Member Functions

(instancetype) - initWithTaskID:taskDuration:
 Instantiates an instance of this class.

Properties

GMTDFleetEngineIDStringtaskID
 The unique ID of the task.
NSTimeInterval taskDuration
 The time required to perform the task.

Member Function Documentation

- (instancetype) initWithTaskID: (GMTDFleetEngineIDString *)  taskID
taskDuration: (NSTimeInterval)  taskDuration 

Instantiates an instance of this class.

Parameters:
taskIDThe ID of a task.
taskDurationThe time required to perform the task.

Property Documentation

- (GMTDFleetEngineIDString*) taskID [read, copy]

The unique ID of the task.

- (NSTimeInterval) taskDuration [read, assign]

The time required to perform the task.