|
| | KeyboardReaderUnit () |
| | Constructor.
|
| |
| virtual | ~KeyboardReaderUnit () |
| | Destructor.
|
| |
| std::string | getName () const override |
| | Get the reader unit name.
|
| |
| std::string | getConnectedName () override |
| | Get the connected reader unit name.
|
| |
| void | setCardType (std::string cardType) override |
| | Set the card type.
|
| |
| bool | waitInsertion (unsigned int maxwait) override |
| | Wait for a card insertion.
|
| |
| bool | waitRemoval (unsigned int maxwait) override |
| | Wait for a card removal.
|
| |
| std::shared_ptr< Chip > | createChip (std::string type) override |
| | Create the chip object from card type.
|
| |
| std::shared_ptr< Chip > | getSingleChip () override |
| | Get the first and/or most accurate chip found.
|
| |
| std::vector< std::shared_ptr< Chip > > | getChipList () override |
| | Get chip available in the RFID rang.
|
| |
| bool | connect () override |
| | Connect to the card.
|
| |
| void | disconnect () override |
| | Disconnect from the reader.
|
| |
| bool | isConnected () override |
| | Check if the card is connected.
|
| |
| bool | connectToReader () override |
| | Connect to the reader. Implicit connection on first command sent.
|
| |
| void | disconnectFromReader () override |
| | Disconnect from reader.
|
| |
| std::string | getReaderSerialNumber () override |
| | Get a string hexadecimal representation of the reader serial number.
|
| |
| void | serialize (boost::property_tree::ptree &parentNode) override |
| | Serialize the current object to XML.
|
| |
| void | unSerialize (boost::property_tree::ptree &node) override |
| | UnSerialize a XML node to the current object.
|
| |
| std::shared_ptr< KeyboardReaderUnitConfiguration > | getKeyboardConfiguration () |
| | Get the Elatec reader unit configuration.
|
| |
| std::shared_ptr< KeyboardReaderProvider > | getKeyboardReaderProvider () const |
| | Get the Elatec reader provider.
|
| |
| ByteVector | getChipInAir (unsigned int maxwait) |
| | Get a chip identifier from the input device.
|
| |
| bool | waitInputChar (char &c, unsigned int maxwait) const |
| |
| void | setKeyboard (const std::string &devicename, unsigned int vendorId, unsigned int productId) |
| |
| unsigned int | getVendorId () const |
| |
| unsigned int | getProductId () const |
| |
| | ReaderUnit (std::string rpt) |
| | Constructor.
|
| |
| virtual | ~ReaderUnit () |
| | Destructor.
|
| |
| std::string | getRPType () const |
| | Get the reader provider type.
|
| |
| virtual ByteVector | getPingCommand () const |
| | Get the reader ping command.
|
| |
| virtual bool | waitInsertion (unsigned int maxwait)=0 |
| | Wait for a card insertion.
|
| |
| virtual bool | waitInsertion (const ByteVector &identifier, unsigned int maxwait) |
| | Wait for a specific card insertion.
|
| |
| virtual bool | waitRemoval (unsigned int maxwait)=0 |
| | Wait for a card removal.
|
| |
| virtual bool | isConnected ()=0 |
| | Check if the card is connected.
|
| |
| std::string | getCardType () const |
| | Get the forced card type.
|
| |
| virtual void | setCardType (std::string cardType)=0 |
| | Set the forced card type.
|
| |
| virtual std::shared_ptr< Chip > | createChip (std::string type) |
| | Create the chip object from card type.
|
| |
| virtual std::shared_ptr< Chip > | createChip (std::string type, const ByteVector &identifier) |
| | Create the chip object from card type with identifier.
|
| |
| virtual ByteVector | getNumber (std::shared_ptr< Chip > chip) |
| | Get the number from the embedded licensing configuration.
|
| |
| virtual std::shared_ptr< Chip > | getSingleChip ()=0 |
| | Get the first and/or most accurate chip found.
|
| |
| virtual std::vector< std::shared_ptr< Chip > > | getChipList ()=0 |
| | Get chip available in the RFID rang.
|
| |
| virtual ByteVector | getNumber (std::shared_ptr< Chip > chip, std::shared_ptr< CardsFormatComposite > composite) |
| | Get the number from the reader format composite.
|
| |
| virtual bool | connect ()=0 |
| | Connect to the card.
|
| |
| virtual bool | reconnect (int action=0) |
| | Reconnect to the card with the currently active share mode on the same reader.
|
| |
| virtual void | disconnect ()=0 |
| | Disconnect from the card.
|
| |
| virtual bool | connectToReader ()=0 |
| | Connect to the reader. Implicit connection on first command sent.
|
| |
| virtual void | disconnectFromReader ()=0 |
| | Disconnect from reader.
|
| |
| virtual std::string | getName () const =0 |
| | Get the reader unit name.
|
| |
| virtual std::string | getConnectedName () |
| | Get the connected reader unit name.
|
| |
| virtual std::shared_ptr< ReaderUnitConfiguration > | getConfiguration () |
| | Get the reader unit configuration.
|
| |
| virtual void | setConfiguration (std::shared_ptr< ReaderUnitConfiguration > config) |
| | Set the reader unit configuration.
|
| |
| virtual std::shared_ptr< ReaderCardAdapter > | getDefaultReaderCardAdapter () |
| | Get the default reader/card adapter.
|
| |
| virtual void | setDefaultReaderCardAdapter (std::shared_ptr< ReaderCardAdapter > defaultRca) |
| | Set the default reader/card adapter.
|
| |
| virtual std::shared_ptr< DataTransport > | getDataTransport () const |
| | Get the data transport layer.
|
| |
| virtual void | setDataTransport (std::shared_ptr< DataTransport > dataTransport) |
| | Set the data transport layer.
|
| |
| virtual std::string | getReaderSerialNumber ()=0 |
| | Get a string hexadecimal representation of the reader serial number.
|
| |
| std::string | getDefaultXmlNodeName () const override |
| | Get the default Xml Node name for this object.
|
| |
| void | serialize (boost::property_tree::ptree &node) override |
| | Serialize the current object to XML.
|
| |
| void | unSerialize (boost::property_tree::ptree &node) override |
| | UnSerialize a XML node to the current object.
|
| |
| void | unSerialize (boost::property_tree::ptree &node, const std::string &rootNode) override |
| | UnSerialize object from a Xml node.
|
| |
| std::shared_ptr< ReaderProvider > | getReaderProvider () const |
| | Get the associated reader provider.
|
| |
| void | setReaderProvider (std::weak_ptr< ReaderProvider > provider) |
| | Set the associated reader provider.
|
| |
| virtual std::shared_ptr< LCDDisplay > | getLCDDisplay () |
| | Get the LCD Display for this reader unit.
|
| |
| virtual void | setLCDDisplay (std::shared_ptr< LCDDisplay > d) |
| | Get the LCD Display for this reader unit.
|
| |
| virtual std::shared_ptr< LEDBuzzerDisplay > | getLEDBuzzerDisplay () |
| | Get the LED/Buzzer Display for this reader unit.
|
| |
| virtual void | setLEDBuzzerDisplay (std::shared_ptr< LEDBuzzerDisplay > lbd) |
| | Get the LCD Display for this reader unit.
|
| |
| virtual void | setCardTechnologies (const TechnoBitset &bitset) |
| |
| virtual TechnoBitset | getCardTechnologies () |
| |
| virtual TechnoBitset | getPossibleCardTechnologies () |
| |
| virtual ReaderServicePtr | getService (const ReaderServiceType &type) |
| |
| virtual std::string | serialize () |
| | Serialize object to Xml Node string.
|
| |
| virtual void | serialize (boost::property_tree::ptree &parentNode)=0 |
| | Serialize object to Xml Node.
|
| |
| virtual void | unSerialize (boost::property_tree::ptree &node)=0 |
| | UnSerialize object from a Xml Node.
|
| |
| virtual void | unSerialize (const std::string &xmlstring, const std::string &rootNode) |
| | UnSerialize object from a Xml Node string.
|
| |
| virtual void | unSerialize (std::istream &is, const std::string &rootNode) |
| | UnSerialize object from a Xml node.
|
| |
| virtual void | unSerialize (boost::property_tree::ptree &node, const std::string &rootNode) |
| | UnSerialize object from a Xml node.
|
| |
| virtual | ~XmlSerializable ()=default |
| |
| virtual std::string | serialize () |
| | Serialize object to Xml Node string.
|
| |
| virtual std::string | serializeWithHeaders () |
| | Serialize object to Xml Node string, with xml headers.
|
| |
| virtual void | serialize (boost::property_tree::ptree &parentNode)=0 |
| | Serialize object to Xml Node.
|
| |
| virtual void | serializeToFile (const std::string &filename) |
| | Serialize object to a Xml file.
|
| |
| virtual void | unSerialize (boost::property_tree::ptree &node)=0 |
| | UnSerialize object from a Xml Node.
|
| |
| virtual void | unSerialize (const std::string &xmlstring, const std::string &rootNode) |
| | UnSerialize object from a Xml Node string.
|
| |
| virtual void | unSerialize (std::istream &is, const std::string &rootNode) |
| | UnSerialize object from a Xml node.
|
| |
| virtual void | unSerialize (boost::property_tree::ptree &node, const std::string &rootNode) |
| | UnSerialize object from a Xml node.
|
| |
| virtual void | unSerializeFromFile (const std::string &filename) |
| | UnSerialize object from a Xml file.
|
| |
| virtual std::string | getDefaultXmlNodeName () const =0 |
| | Get the default Xml Node name for this object.
|
| |
The Keyboard reader unit class.