7#ifndef LOGICALACCESS_COMMANDS_HPP
8#define LOGICALACCESS_COMMANDS_HPP
34 std::shared_ptr<Chip>
getChip()
const override
43 virtual void setChip(std::shared_ptr<Chip> chip)
54 return d_readerCardAdapter;
63 d_readerCardAdapter = adapter;
81 d_commandtype = command_type;
90 : d_commandtype(commandtype)
The base commands class for all card commands.
Definition: commands.hpp:21
virtual void setReaderCardAdapter(std::shared_ptr< ReaderCardAdapter > adapter)
Set the reader/card adapter.
Definition: commands.hpp:61
std::shared_ptr< ReaderCardAdapter > getReaderCardAdapter() const override
Get the reader/card adapter.
Definition: commands.hpp:52
std::shared_ptr< Chip > getChip() const override
Get the chip.
Definition: commands.hpp:34
virtual void setCmdType(const std::string &command_type)
Set the cmd name.
Definition: commands.hpp:79
virtual const std::string & getCmdType() const
Get the cmd name.
Definition: commands.hpp:70
virtual void setChip(std::shared_ptr< Chip > chip)
Set the chip.
Definition: commands.hpp:43
Commands(std::string commandtype)
Constructor.
Definition: commands.hpp:89
std::shared_ptr< ReaderCardAdapter > d_readerCardAdapter
The reader/card adapter.
Definition: commands.hpp:97
Commands()=delete
Constructor.
std::weak_ptr< Chip > d_chip
The chip.
Definition: commands.hpp:102
std::string d_commandtype
The command type.
Definition: commands.hpp:107
The base abstract commands class for all card commands.
Definition: icommands.hpp:20