Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

Kodu::VisualBumpDetectionTask Class Reference

#include <VisualBumpDetectionTask.h>

Inheritance diagram for Kodu::VisualBumpDetectionTask:

Detailed Description

Definition at line 17 of file VisualBumpDetectionTask.h.

List of all members.

Public Member Functions

 VisualBumpDetectionTask (KoduConditionBump *bmpCondition, KoduWorld *worldState)
 Constructor.
 VisualBumpDetectionTask (const VisualBumpDetectionTask &kTask)
 Copy constructor.
 ~VisualBumpDetectionTask ()
 Destructor.
VisualBumpDetectionTaskoperator= (const VisualBumpDetectionTask &kTask)
 Assignment operator.
virtual bool canExecute (const KoduWorld &)
 Checks if the VisualBumpDetectionTask can execute.
virtual void examineTaskResults ()
 Examines the results from the MapBuilder request to see if an object was "bumped".
virtual const
DualCoding::MapBuilderRequest
getMapBuilderRequest ()
 Creates a MapBuilder request telling the robot where to look to detect the bump.

Private Attributes

KoduConditionBumpcondition
 The bump condition that needs to detect the bump.
KoduWorldwState

Static Private Attributes

static unsigned int idCount = 10000
 Used to generate id numbers for VisualBumpDetectionTask.

Constructor & Destructor Documentation

Kodu::VisualBumpDetectionTask::VisualBumpDetectionTask ( KoduConditionBump bmpCondition,
KoduWorld worldState 
)

Constructor.

Definition at line 20 of file VisualBumpDetectionTask.h.

Kodu::VisualBumpDetectionTask::VisualBumpDetectionTask ( const VisualBumpDetectionTask kTask  ) 

Copy constructor.

Definition at line 31 of file VisualBumpDetectionTask.h.

Kodu::VisualBumpDetectionTask::~VisualBumpDetectionTask (  ) 

Destructor.

Definition at line 38 of file VisualBumpDetectionTask.h.


Member Function Documentation

bool Kodu::VisualBumpDetectionTask::canExecute ( const KoduWorld kWorldState  )  [virtual]

Checks if the VisualBumpDetectionTask can execute.

Implements Kodu::PerceptualTaskBase.

Definition at line 22 of file VisualBumpDetectionTask.cc.

void Kodu::VisualBumpDetectionTask::examineTaskResults (  )  [virtual]

Examines the results from the MapBuilder request to see if an object was "bumped".

Reimplemented from Kodu::PerceptualTaskBase.

Definition at line 30 of file VisualBumpDetectionTask.cc.

const DualCoding::MapBuilderRequest & Kodu::VisualBumpDetectionTask::getMapBuilderRequest (  )  [virtual]

Creates a MapBuilder request telling the robot where to look to detect the bump.

Reimplemented from Kodu::PerceptualTaskBase.

Definition at line 71 of file VisualBumpDetectionTask.cc.

VisualBumpDetectionTask& Kodu::VisualBumpDetectionTask::operator= ( const VisualBumpDetectionTask kTask  ) 

Assignment operator.

Definition at line 44 of file VisualBumpDetectionTask.h.


Member Data Documentation

The bump condition that needs to detect the bump.

Definition at line 64 of file VisualBumpDetectionTask.h.

Referenced by canExecute(), examineTaskResults(), operator=(), VisualBumpDetectionTask(), and ~VisualBumpDetectionTask().

unsigned int Kodu::VisualBumpDetectionTask::idCount = 10000 [static, private]

Used to generate id numbers for VisualBumpDetectionTask.

Definition at line 63 of file VisualBumpDetectionTask.h.


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

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