|
| virtual void | addLocation (const GLocation &location)=0 |
| | Adds location to the track. More...
|
| |
| virtual void | setSource (int32 source)=0 |
| | Specifies track source. More...
|
| |
| virtual void | setDistance (int32 distance)=0 |
| | Specifies track distance. More...
|
| |
|
virtual void | calculateDistance ()=0 |
| | Calculates track distance based on location data already populated.
|
| |
| virtual GTrack | getTrack ()=0 |
| | Returns track object constructed by the builder. More...
|
| |
|
virtual int32 | retain ()=0 |
| | Add a reference to our object in a COM-like way.
|
| |
|
virtual int32 | release ()=0 |
| | Release a reference to our object in a COM-like way.
|
| |
|
virtual int32 | hold ()=0 |
| | Add a reference to our object in a COM-like way.
|
| |
|
virtual int32 | unhold ()=0 |
| | Release a reference to our object in a COM-like way.
|
| |
|
virtual int32 | hashCode ()=0 |
| | Returns an integer hash code for this object.
|
| |
| virtual bool | equals (const GCommonObj &o)=0 |
| | Compares this instance with the specified object and indicates if they are equal. More...
|
| |
| virtual GString | toString ()=0 |
| | Returns a string containing a concise, human-readable description of this object. More...
|
| |
|
virtual void | attachObject (const GCommon &obj)=0 |
| | Asociates arbitrary object with the instance.
|
| |
|
virtual GCommon | extractObject ()=0 |
| | Extracts associated object or NULL if no association is established.
|
| |
The interface to construct and initialize track objects.
It is recommended to construct track builder objects and populate it with location data on background thread from performance considerations. Parsing track information and converting it in an alternative representation can be pretty resource consuming operation.
However, applying it to the platform (by calling ITicket::updateRoute) has to be done on the same thread where platform was instantiated.