LibLogicalAccess  2.5.0
An Open Source RFID Library
Loading...
Searching...
No Matches
Public Member Functions | List of all members
logicalaccess::MifarePlusSL0Chip Class Reference

#include <MifarePlusSL0Chip.hpp>

Inheritance diagram for logicalaccess::MifarePlusSL0Chip:
logicalaccess::MifarePlusChip logicalaccess::Chip logicalaccess::IChip logicalaccess::IChip logicalaccess::MifarePlusSL0_2kChip logicalaccess::MifarePlusSL0_4kChip

Public Member Functions

 MifarePlusSL0Chip (const std::string &cardType)
 
int getSecurityLevel () const override
 
const std::string & getCardType () const override
 Get the card type of the chip.
 
std::string getGenericCardType () const override
 Get the generic card type.
 
std::shared_ptr< CommandsgetCommands () const override
 Get the commands.
 
ByteVector getChipIdentifier () const override
 Get the chip identifier.
 
std::shared_ptr< CardServicegetService (CardServiceType serviceType) override
 Get a card service for this chip.
 
- Public Member Functions inherited from logicalaccess::MifarePlusChip
virtual ~MifarePlusChip ()=default
 
 MifarePlusChip ()
 
virtual int getSecurityLevel () const
 
std::string getGenericCardType () const override
 Get the generic card type.
 
- Public Member Functions inherited from logicalaccess::IChip
virtual ~IChip ()=default
 
virtual const std::string & getCardType () const =0
 Get the card type of the chip.
 
virtual std::string getGenericCardType () const =0
 Get the generic card type.
 
virtual std::shared_ptr< CommandsgetCommands () const =0
 Get the commands.
 
virtual ByteVector getChipIdentifier () const =0
 Get the chip identifier.
 
virtual std::shared_ptr< CardServicegetService (CardServiceType serviceType)=0
 Get a card service for this chip.
 
- Public Member Functions inherited from logicalaccess::Chip
 Chip ()
 Constructor.
 
 Chip (std::string cardtype)
 Constructor.
 
virtual ~Chip ()
 Destructor.
 
const std::string & getCardType () const override
 Get the card type of the chip.
 
std::string getGenericCardType () const override
 Get the generic card type.
 
virtual std::shared_ptr< LocationNodegetRootLocationNode ()
 Get the root location node.
 
std::shared_ptr< CommandsgetCommands () const override
 Get the commands.
 
void setCommands (std::shared_ptr< Commands > commands)
 Set commands.
 
ByteVector getChipIdentifier () const override
 Get the chip identifier.
 
virtual void setChipIdentifier (ByteVector identifier)
 Set the chip identifier.
 
ChipPowerStatus getPowerStatus () const
 Get the chip power status.
 
void setPowerStatus (ChipPowerStatus powerStatus)
 Set the chip power status.
 
unsigned char getReceptionLevel () const
 Get the chip reception level.
 
void setReceptionLevel (unsigned char receptionLevel)
 Set the chip reception level.
 
virtual std::shared_ptr< AccessInfocreateAccessInfo () const
 Create default access informations.
 
virtual std::shared_ptr< LocationcreateLocation () const
 Create default location.
 
std::shared_ptr< CardServicegetService (CardServiceType serviceType) override
 Get a card service for this chip.
 
template<typename T >
std::shared_ptr< T > getService ()
 
bool operator< (const Chip &chip) const
 

Additional Inherited Members

- Static Public Member Functions inherited from logicalaccess::MifarePlusChip
static uint16_t key_number_from_sector (int sector, MifareKeyType type)
 
- Protected Attributes inherited from logicalaccess::Chip
std::string d_cardtype
 The card type of the profile.
 
ByteVector d_chipIdentifier
 The chip identifier.
 
ChipPowerStatus d_powerStatus
 The chip power status. Most chip doesn't have his own power supply.
 
std::shared_ptr< Commandsd_commands
 Commands object.
 
unsigned char d_receptionLevel
 The chip reception level.
 

Constructor & Destructor Documentation

◆ MifarePlusSL0Chip()

logicalaccess::MifarePlusSL0Chip::MifarePlusSL0Chip ( const std::string &  cardType)
inlineexplicit

Member Function Documentation

◆ getCardType()

const std::string & logicalaccess::MifarePlusSL0Chip::getCardType ( ) const
inlineoverridevirtual

Get the card type of the chip.

Returns
The chip's card type.

Reimplemented from logicalaccess::Chip.

◆ getChipIdentifier()

ByteVector logicalaccess::MifarePlusSL0Chip::getChipIdentifier ( ) const
inlineoverridevirtual

Get the chip identifier.

Returns
The chip identifier.

Reimplemented from logicalaccess::Chip.

◆ getCommands()

std::shared_ptr< Commands > logicalaccess::MifarePlusSL0Chip::getCommands ( ) const
inlineoverridevirtual

Get the commands.

Returns
The commands.

Reimplemented from logicalaccess::Chip.

◆ getGenericCardType()

std::string logicalaccess::MifarePlusSL0Chip::getGenericCardType ( ) const
inlineoverridevirtual

Get the generic card type.

Returns
The generic card type.

Reimplemented from logicalaccess::Chip.

◆ getSecurityLevel()

int logicalaccess::MifarePlusSL0Chip::getSecurityLevel ( ) const
inlineoverridevirtual

Reimplemented from logicalaccess::MifarePlusChip.

◆ getService()

std::shared_ptr< CardService > logicalaccess::MifarePlusSL0Chip::getService ( CardServiceType  serviceType)
inlineoverridevirtual

Get a card service for this chip.

Parameters
serviceTypeThe card service type.
Returns
The card service.

Reimplemented from logicalaccess::Chip.


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