Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages | Examples

Aibo Class Reference

#include <aibolib.h>

Inheritance diagram for Aibo:

Inheritance graph
[legend]
Collaboration diagram for Aibo:

Collaboration graph
[legend]

Public Member Functions

 Aibo ()
virtual ~Aibo ()
virtual OStatus DoInit (const OSystemEvent &event)=0
virtual OStatus DoStart (const OSystemEvent &event)=0
virtual OStatus DoStop (const OSystemEvent &event)=0
virtual OStatus DoDestroy (const OSystemEvent &event)=0
int MotorPowerOn ()
int MotorPowerOff ()

Static Public Member Functions

static unsigned long GetCurrentSystemTime ()
static unsigned long GetTimeDiff (unsigned long t)

Protected Member Functions

void WaitReturnKey () const

Detailed Description

Class for simplified Aibo Control
Examples:

CamExample.h, HeadExample.h, LedsExample.h, LegsExample.h, MicExample.h, SensorsExample.h, and SoundExample.h.


Constructor & Destructor Documentation

Aibo::Aibo  ) 
 

Default constructor

virtual Aibo::~Aibo  )  [inline, virtual]
 

Default destructor


Member Function Documentation

virtual OStatus Aibo::DoInit const OSystemEvent &  event  )  [pure virtual]
 

Pure Virtual init method

virtual OStatus Aibo::DoStart const OSystemEvent &  event  )  [pure virtual]
 

Pure Virtual start method

virtual OStatus Aibo::DoStop const OSystemEvent &  event  )  [pure virtual]
 

Pure Virtual stop method

virtual OStatus Aibo::DoDestroy const OSystemEvent &  event  )  [pure virtual]
 

Pure Virtual destroy method

int Aibo::MotorPowerOn  )  [inline]
 

Turns the MotorPower on.

Returns:
1 if power on succeded 0 if failed

int Aibo::MotorPowerOff  )  [inline]
 

Turns the MotorPower off.

Returns:
1 if power off succeded 0 if failed

unsigned long Aibo::GetCurrentSystemTime  )  [inline, static]
 

Returns the current system time in miliseconds

Returns:
System Time in miliseconds

unsigned long Aibo::GetTimeDiff unsigned long  t  )  [inline, static]
 

Returns the time difference in miliseconds

Returns:
System Time difference in miliseconds

Here is the call graph for this function:

void Aibo::WaitReturnKey  )  const [protected]
 

Method that stops program till ENTER is pressed in terminal


The documentation for this class was generated from the following files:

tams Tim Baier AiboLib v0.2.4
Generated Thu Jan 19 11:55:01 2006 by doxygen 1.4.3