PlayerCc::RFIDProxy Class Reference
The RFIDProxy
class is used to control a rfid device.
More...
#include <playerc++.h>
Inheritance diagram for PlayerCc::RFIDProxy:
Public Member Functions | |
RFIDProxy (PlayerClient *aPc, uint32_t aIndex=0) | |
constructor | |
~RFIDProxy () | |
destructor | |
uint32_t | GetTagsCount () const |
returns the number of RFID tags | |
playerc_rfidtag_t | GetRFIDTag (uint32_t aIndex) const |
returns a RFID tag | |
playerc_rfidtag_t | operator[] (uint32_t aIndex) const |
RFID data access operator. | |
Private Member Functions | |
void | Subscribe (uint32_t aIndex) |
void | Unsubscribe () |
Private Attributes | |
playerc_rfid_t * | mDevice |
Detailed Description
Member Function Documentation
playerc_rfidtag_t PlayerCc::RFIDProxy::operator[] | ( | uint32_t | aIndex | ) | const [inline] |
RFID data access operator.
This operator provides an alternate way of access the actuator data. For example, given a RFIDProxy
named rp
, the following expressions are equivalent: rp.GetRFIDTag
[0] and rp
[0].
The documentation for this class was generated from the following file: