All Classes Functions Variables Typedefs Friends Pages
Public Member Functions | List of all members
Glympse::ITravelMode Struct Referenceabstract

Provides information about the way user is travelling (walking, running, driving, etc.). More...

#include <ITravelMode.h>

Inheritance diagram for Glympse::ITravelMode:
Inheritance graph
[legend]

Public Member Functions

virtual int32 getMode ()=0
 Gets travel mode. More...
 
virtual GPrimitive getSettings ()=0
 Gets blob of settings associated with specific travel mode. More...
 
- Public Member Functions inherited from Glympse::IComparable
virtual bool isEqual (const GCommon &o)=0
 Compares this instance with the specified object and indicates if they are equal. More...
 
- Public Member Functions inherited from Glympse::ICommon
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.
 
- Public Member Functions inherited from Glympse::IPersistable
virtual void encode (const GPrimitive &encoder, int32 mode)=0
 Encodes the receiver using a given archiver. More...
 
virtual void decode (const GPrimitive &decoder)=0
 Initializes an object from data in a given unarchiver. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Glympse::ICommon
virtual ~ICommon ()
 Destructor is protected to deny explicit object deallocation. More...
 

Detailed Description

Provides information about the way user is travelling (walking, running, driving, etc.).

Member Function Documentation

virtual int32 Glympse::ITravelMode::getMode ( )
pure virtual

Gets travel mode.

Returns
Travel mode choosen by user.
See Also
GC::TRAVEL_MODE_*
virtual GPrimitive Glympse::ITravelMode::getSettings ( )
pure virtual

Gets blob of settings associated with specific travel mode.

Returns
The blob of travel mode specific settings or NULL.

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