Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

LookoutRequestBase Class Reference

Base class for requests to the Lookout. More...

#include <LookoutRequests.h>

Inheritance diagram for LookoutRequestBase:

Detailed Description

Base class for requests to the Lookout.

Definition at line 16 of file LookoutRequests.h.

List of all members.

Classes

class  IRTask
class  Task
 Base class for Lookout tasks; cannot instantiate directly. More...
class  VisionObjectTask
 Uses bult-in object detectors (like pink ball detector) via VisionObjectEvent stream. More...
class  VisionRegionTask
 Uses built-in colored region detectors via Region event stream. More...
class  VisionTask
 Base class for vision tasks, should not be instantiated. More...

Public Types

enum  HeadMotionType_t {
  noMotion, pointAt, scan, track,
  search, numHeadMotionTypes
}
enum  LookoutResultType_t { noResult, imageResult, distanceResult, interestPoints }

Public Member Functions

HeadMotionType_t getHeadMotionType () const
void setHeadMotionType (const HeadMotionType_t htype)
LookoutResultType_t getResultType () const
void setResultType (const LookoutResultType_t rtype)
 LookoutRequestBase (HeadMotionType_t htype=noMotion, LookoutResultType_t rtype=noResult)
 Constructor.
virtual ~LookoutRequestBase ()
 Destructor.
 LookoutRequestBase (const LookoutRequestBase &req)
 Copy constructor.

Public Attributes

HeadMotionType_t headMotionType
LookoutResultType_t resultType
unsigned int requestID
 Non-zero value assigned when the request is added to the queue.

Static Public Attributes

static const char *const headMotionTypeNames [numHeadMotionTypes]

Private Member Functions

LookoutRequestBaseoperator= (const LookoutRequestBase &)

Member Enumeration Documentation

Enumerator:
noMotion 

use current head position

pointAt 

move head to specified gaze point

scan 

scan head along specified path

track 

move head to track object

search 

spiral search for a known object

numHeadMotionTypes 

Definition at line 19 of file LookoutRequests.h.

Enumerator:
noResult 

don't return anything (just move the head)

imageResult 

take a picture

distanceResult 

measure distance with IR rangefinder

interestPoints 

collection of interest points (from scanning)

Definition at line 33 of file LookoutRequests.h.


Constructor & Destructor Documentation

LookoutRequestBase ( HeadMotionType_t  htype = noMotion,
LookoutResultType_t  rtype = noResult 
)

Constructor.

Definition at line 44 of file LookoutRequests.h.

virtual ~LookoutRequestBase (  )  [virtual]

Destructor.

Definition at line 48 of file LookoutRequests.h.

LookoutRequestBase ( const LookoutRequestBase req  ) 

Copy constructor.

Definition at line 51 of file LookoutRequests.h.


Member Function Documentation

HeadMotionType_t getHeadMotionType (  )  const

Definition at line 30 of file LookoutRequests.h.

LookoutResultType_t getResultType (  )  const

Definition at line 40 of file LookoutRequests.h.

LookoutRequestBase& operator= ( const LookoutRequestBase  )  [private]
void setHeadMotionType ( const HeadMotionType_t  htype  ) 

Definition at line 31 of file LookoutRequests.h.

void setResultType ( const LookoutResultType_t  rtype  ) 

Definition at line 41 of file LookoutRequests.h.


Member Data Documentation

Definition at line 56 of file LookoutRequests.h.

const char *const headMotionTypeNames [static]
Initial value:
 {
  "noMotion",
  "pointAt",
  "scan",
  "track",
  "search"
}

Definition at line 28 of file LookoutRequests.h.

unsigned int requestID

Non-zero value assigned when the request is added to the queue.

Definition at line 58 of file LookoutRequests.h.

Definition at line 57 of file LookoutRequests.h.


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

DualCoding 5.1CVS
Generated Thu Apr 25 01:59:04 2013 by Doxygen 1.6.3