PlayerCc::BlobfinderProxy Class Reference
[Proxies]

#include <playerc++.h>

Inheritance diagram for PlayerCc::BlobfinderProxy:

Inheritance graph
[legend]
Collaboration diagram for PlayerCc::BlobfinderProxy:

Collaboration graph
[legend]
List of all members.

Detailed Description

The BlobfinderProxy class is used to control a blobfinder device.

It contains no methods. The latest color blob data is stored in blobs, a dynamically allocated 2-D array, indexed by color channel.

Definition at line 407 of file playerc++.h.


Public Member Functions

 BlobfinderProxy (PlayerClient *aPc, uint32_t aIndex=0)
 default contsructor
 ~BlobfinderProxy ()
 destructor
uint32_t GetCount () const
 returns the number of blobs
playerc_blobfinder_blob_t GetBlob (uint32_t aIndex) const
 returns a blob
uint32_t GetWidth () const
 get the width of the image
uint32_t GetHeight () const
 get the height of the image
playerc_blobfinder_blob_t operator[] (uint32_t aIndex) const
 Blobfinder data access operator.

Private Member Functions

void Subscribe (uint32_t aIndex)
void Unsubscribe ()

Private Attributes

playerc_blobfinder_tmDevice

Member Function Documentation

playerc_blobfinder_blob_t PlayerCc::BlobfinderProxy::operator[] ( uint32_t  aIndex  )  const [inline]

Blobfinder data access operator.

This operator provides an alternate way of access the actuator data. For example, given a BlobfinderProxy named bp, the following expressions are equivalent: bp.GetBlob[0] and bp[0].

Definition at line 438 of file playerc++.h.

References GetBlob().

Here is the call graph for this function:


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

Last updated 12 September 2005 21:38:45