TxtSmartFactoryLib  0.8.0
Smart Factory Library
ft::TxtNfcDevice Class Reference

#include <TxtNfcDevice.h>

Inheritance diagram for ft::TxtNfcDevice:
Collaboration diagram for ft::TxtNfcDevice:

Public Member Functions

 TxtNfcDevice ()
 
virtual ~TxtNfcDevice ()
 
bool open ()
 
void close ()
 
std::string readTagsGetUID ()
 
bool eraseTags ()
 
std::string readTags ()
 
bool writeTags (TxtWorkpiece wp, std::vector< uTS > vuts, uint8_t mask_ts)
 
TxtNfcDatagetNfcData ()
 
void printNfcData ()
 
void publish ()
 
- Public Member Functions inherited from ft::SubjectObserver
 SubjectObserver ()
 
virtual ~SubjectObserver ()
 
virtual void Attach (Observer *)
 
virtual void Detach (Observer *)
 
virtual void Notify ()
 

Protected Member Functions

void printRawData (uint8_t *buffer)
 

Protected Attributes

bool opened
 
nfc_device * pnd
 
nfc_context * context
 
TxtNfcDatanfcData
 

Constructor & Destructor Documentation

ft::TxtNfcDevice::TxtNfcDevice ( )
virtual ft::TxtNfcDevice::~TxtNfcDevice ( )
virtual

Member Function Documentation

void ft::TxtNfcDevice::close ( )
bool ft::TxtNfcDevice::eraseTags ( )
TxtNfcData* ft::TxtNfcDevice::getNfcData ( )
inline
bool ft::TxtNfcDevice::open ( )
void ft::TxtNfcDevice::printNfcData ( )
void ft::TxtNfcDevice::printRawData ( uint8_t *  buffer)
protected
void ft::TxtNfcDevice::publish ( )
inline
std::string ft::TxtNfcDevice::readTags ( )
std::string ft::TxtNfcDevice::readTagsGetUID ( )
bool ft::TxtNfcDevice::writeTags ( TxtWorkpiece  wp,
std::vector< uTS vuts,
uint8_t  mask_ts 
)

Member Data Documentation

nfc_context* ft::TxtNfcDevice::context
protected
TxtNfcData* ft::TxtNfcDevice::nfcData
protected
bool ft::TxtNfcDevice::opened
protected
nfc_device* ft::TxtNfcDevice::pnd
protected

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