Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

DualCoding::LookoutRequestBase Class Reference

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

#include <LookoutRequests.h>

Inheritance diagram for DualCoding::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

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

Constructor.

Definition at line 44 of file LookoutRequests.h.

virtual DualCoding::LookoutRequestBase::~LookoutRequestBase (  )  [virtual]

Destructor.

Definition at line 48 of file LookoutRequests.h.

DualCoding::LookoutRequestBase::LookoutRequestBase ( const LookoutRequestBase req  ) 

Copy constructor.

Definition at line 51 of file LookoutRequests.h.


Member Function Documentation

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

Definition at line 31 of file LookoutRequests.h.

Referenced by DualCoding::MapBuilder::storeImage().

void DualCoding::LookoutRequestBase::setResultType ( const LookoutResultType_t  rtype  ) 

Definition at line 41 of file LookoutRequests.h.


Member Data Documentation

Initial value:
 {
  "noMotion",
  "pointAt",
  "scan",
  "track",
  "search"
}

Definition at line 28 of file LookoutRequests.h.

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

Definition at line 58 of file LookoutRequests.h.

Referenced by DualCoding::Lookout::requestComplete().


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

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:20 2016 by Doxygen 1.6.3