SimReqVCXfeatures Class Reference

Request VCX features at a given location. More...

#include <Neuro/NeuroSimEvents.H>

Inheritance diagram for SimReqVCXfeatures:
Inheritance graph
[legend]
Collaboration diagram for SimReqVCXfeatures:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SimReqVCXfeatures (SimModule *src, const Point2D< int > &p)
 Constuctor.
virtual ~SimReqVCXfeatures ()
 Destructor.
virtual std::string toString () const
 Get a description for printing out.
const Point2D< int > & loc () const
 Get access to the location of the features.
std::vector< float > & features ()
 Get read/write access to the features.

Detailed Description

Request VCX features at a given location.

PROGRAMMER NOTE: This is an example of a read/write SimReq, whereby the VCX directly dumps its features into the request and posts nothing in return. The object that did a request() of this event can then directly use the results in the event as soon as request() returns. If features() is empty after the event has been requested, then it means that no VisualCortex caught it and there are no features available.

Definition at line 703 of file NeuroSimEvents.H.


Constructor & Destructor Documentation

SimReqVCXfeatures::SimReqVCXfeatures ( SimModule src,
const Point2D< int > &  p 
)

Constuctor.

Definition at line 655 of file NeuroSimEvents.C.

SimReqVCXfeatures::~SimReqVCXfeatures (  )  [virtual]

Destructor.

Definition at line 659 of file NeuroSimEvents.C.


Member Function Documentation

std::vector< float > & SimReqVCXfeatures::features (  ) 

Get read/write access to the features.

Definition at line 670 of file NeuroSimEvents.C.

const Point2D< int > & SimReqVCXfeatures::loc (  )  const

Get access to the location of the features.

Definition at line 667 of file NeuroSimEvents.C.

std::string SimReqVCXfeatures::toString (  )  const [virtual]

Get a description for printing out.

Reimplemented from SimReq.

Definition at line 662 of file NeuroSimEvents.C.

References Point2D< T >::i, and sformat().


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:25:24 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3