The BlinkenlightProxy class is used to enable and disable a flashing indicator light, and to set its period, via a blinkenlight device.  
 More...
#include <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_t * | mDevice | 
Detailed Description
The BlinkenlightProxy class is used to enable and disable a flashing indicator light, and to set its period, via a blinkenlight device. 
Constructor. Leave the access field empty to start unconnected. The current period (one whole on/off cycle) of the blinking light. If the period is zero and the light is enabled, the light is on. Set the state of the indicator light. A period of zero means the light will be unblinkingly on or off. Returns 0 on success, else -1. 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. 
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]. 
The documentation for this class was generated from the following file:
