LibLogicalAccess  2.5.0
An Open Source RFID Library
Loading...
Searching...
No Matches
wiegand34format.hpp
Go to the documentation of this file.
1
7#ifndef LOGICALACCESS_WIEGAND34FORMAT_HPP
8#define LOGICALACCESS_WIEGAND34FORMAT_HPP
9
11
12namespace logicalaccess
13{
17class LLA_CORE_API Wiegand34Format : public WiegandFormat
18{
19 public:
26
32 virtual ~Wiegand34Format();
33
37 unsigned int getDataLength() const override;
38
43 std::string getName() const override;
44
50 BitsetStream getLinearDataWithoutParity() const override;
51
57 void setLinearDataWithoutParity(const ByteVector &data) override;
58
65 size_t getFormatLinearData(ByteVector &data) const override;
66
72 void setFormatLinearData(const ByteVector &data, size_t *indexByte) override;
73
78 FormatType getType() const override;
79
84 void serialize(boost::property_tree::ptree &parentNode) override;
85
90 void unSerialize(boost::property_tree::ptree &node) override;
91
96 std::string getDefaultXmlNodeName() const override;
97
103 bool checkSkeleton(std::shared_ptr<Format> format) const override;
104};
105}
106
107#endif /* LOGICALACCESS_WIEGAND34FORMAT_HPP */
Definition: BitsetStream.hpp:15
A Wiegand 34 format class.
Definition: wiegand34format.hpp:18
A Wiegand format.
Definition: wiegandformat.hpp:18
std::vector< uint8_t > ByteVector
Definition: lla_fwd.hpp:80
Definition: asn1.hpp:9
FormatType
Format type.
Definition: format.hpp:27
Wiegand format.