LibLogicalAccess  2.5.0
An Open Source RFID Library
Loading...
Searching...
No Matches
readerformatcomposite.hpp
Go to the documentation of this file.
1
7#ifndef LOGICALACCESS_READERFORMATCOMPOSITE_HPP
8#define LOGICALACCESS_READERFORMATCOMPOSITE_HPP
9
12
13namespace logicalaccess
14{
19class LLA_CORE_API ReaderFormatComposite : public XmlSerializable
20{
21 public:
26
30 virtual ~ReaderFormatComposite();
31
36 std::shared_ptr<Format> readFormat() const;
37
42 void serialize(boost::property_tree::ptree &parentNode) override;
43
48 void unSerialize(boost::property_tree::ptree &node) override;
49
54 std::string getDefaultXmlNodeName() const override;
55
60 std::shared_ptr<ReaderConfiguration> getReaderConfiguration() const;
61
62 /*
63 * \brief Set the reader configuration.
64 * \param provider The reader configuration.
65 */
66 void setReaderConfiguration(std::shared_ptr<ReaderConfiguration> readerConfig);
67
72 std::shared_ptr<CardsFormatComposite> getCardsFormatComposite() const;
73
74 /*
75 * \brief Set the cards format composite.
76 * \param provider The cards format composite.
77 */
78 void setCardsFormatComposite(std::shared_ptr<CardsFormatComposite> composite);
79
80 protected:
84 std::shared_ptr<CardsFormatComposite> d_cardsFormatComposite;
85
89 std::shared_ptr<ReaderConfiguration> d_readerConfiguration;
90};
91}
92
93#endif /* LOGICALACCESS_READERFORMATCOMPOSITE_HPP */
Cards format composite.
A reader format composite class. This is a card format composite associated to a specific reader conf...
Definition: readerformatcomposite.hpp:20
std::shared_ptr< ReaderConfiguration > d_readerConfiguration
The reader configuration.
Definition: readerformatcomposite.hpp:89
std::shared_ptr< CardsFormatComposite > d_cardsFormatComposite
The cards foramt composite.
Definition: readerformatcomposite.hpp:84
A Xml Serializable base class. Add Xml serialization to a class.
Definition: xmlserializable.hpp:54
Definition: asn1.hpp:9
Reader configuration.