7#ifndef LOGICALACCESS_TOPAZSTORAGECARDSERVICE_HPP
8#define LOGICALACCESS_TOPAZSTORAGECARDSERVICE_HPP
19#define STORAGECARDSERVICE_TOPAZ "TopazStorage"
53 void erase(std::shared_ptr<Location> location,
54 std::shared_ptr<AccessInfo> aiToUse)
override;
64 void writeData(std::shared_ptr<Location> location,
65 std::shared_ptr<AccessInfo> aiToUse,
66 std::shared_ptr<AccessInfo> aiToWrite,
const ByteVector &data,
77 ByteVector readData(std::shared_ptr<Location> location,
78 std::shared_ptr<AccessInfo> aiToUse,
size_t length,
89 ByteVector readDataHeader(std::shared_ptr<Location> location,
90 std::shared_ptr<AccessInfo> aiToUse)
override;
99 return std::dynamic_pointer_cast<TopazChip>(getChip());
The base storage card service class for all storage services.
Definition: storagecardservice.hpp:30
The Topaz base profile class.
Definition: topazstoragecardservice.hpp:25
std::shared_ptr< TopazChip > getTopazChip() const
Definition: topazstoragecardservice.hpp:97
std::string getCSType() override
Definition: topazstoragecardservice.hpp:38
std::vector< uint8_t > ByteVector
Definition: lla_fwd.hpp:80
CardBehavior
The card behaviors.
Definition: storagecardservice.hpp:20
#define STORAGECARDSERVICE_TOPAZ
Definition: topazstoragecardservice.hpp:19