IDrive Class Reference

#include <trilobot.h>

List of all members.


Detailed Description

Interface for trilobot drive

Definition at line 247 of file trilobot.h.


Public Member Functions

double Distance ()
double Distance (const DateTime &stamp)
IDriveHalt ()
IDriveHalt (const DateTime &at)
IDriveAddObserver (IDriveObserver *observer)
virtual ~IDrive ()

Protected Member Functions

virtual double ImplDistance (const DateTime &)=0
virtual void ImplHalt (const DateTime &)=0
virtual void ImplAddObserver (IDriveObserver *observer)=0

Constructor & Destructor Documentation

virtual ~IDrive (  )  [inline, virtual]

Definition at line 290 of file trilobot.h.


Member Function Documentation

double Distance (  )  [inline]

Gets the actual distance

Definition at line 253 of file trilobot.h.

References ImplDistance(), and DateTime::Now().

Referenced by readCoreInfo().

Here is the call graph for this function:

Here is the caller graph for this function:

double Distance ( const DateTime stamp  )  [inline]

Gets the actual distance

Definition at line 261 of file trilobot.h.

References ImplDistance().

Here is the call graph for this function:

IDrive& Halt (  )  [inline]

Halts drive immediately

Definition at line 267 of file trilobot.h.

References ImplHalt(), and DateTime::Now().

Here is the call graph for this function:

IDrive& Halt ( const DateTime at  )  [inline]

Halts drive immediately

Definition at line 276 of file trilobot.h.

References ImplHalt().

Here is the call graph for this function:

IDrive& AddObserver ( IDriveObserver observer  )  [inline]

Sets the drive observer

Attention:
drive destroy observers objects

Definition at line 285 of file trilobot.h.

References ImplAddObserver().

Here is the call graph for this function:

virtual double ImplDistance ( const DateTime  )  [protected, pure virtual]

Referenced by Distance().

Here is the caller graph for this function:

virtual void ImplHalt ( const DateTime  )  [protected, pure virtual]

Referenced by Halt().

Here is the caller graph for this function:

virtual void ImplAddObserver ( IDriveObserver observer  )  [protected, pure virtual]

Referenced by AddObserver().

Here is the caller graph for this function:


The documentation for this class was generated from the following file:
Generated on Fri Jul 10 22:42:13 2009 for rob08 by  doxygen 1.5.4