|
| | Wiegand37WithFacilityFormat () |
| | Constructor.
|
| |
| virtual | ~Wiegand37WithFacilityFormat () |
| | Destructor.
|
| |
| std::string | getName () const override |
| | Get the format name.
|
| |
| unsigned short int | getFacilityCode () const |
| | Get facility code.
|
| |
| void | setFacilityCode (unsigned short int facilityCode) |
| | Set facility code.
|
| |
| BitsetStream | getLinearDataWithoutParity () const override |
| | Get linear data without parity.
|
| |
| void | setLinearDataWithoutParity (const ByteVector &data) override |
| | Write linear data without parity into data buffer.
|
| |
| size_t | getFormatLinearData (ByteVector &data) const override |
| | Get the format linear data in bytes.
|
| |
| void | setFormatLinearData (const ByteVector &data, size_t *indexByte) override |
| | Set the format linear data in bytes.
|
| |
| FormatType | getType () const override |
| | Get the format type.
|
| |
| void | serialize (boost::property_tree::ptree &parentNode) override |
| | Serialize the current object to XML.
|
| |
| void | unSerialize (boost::property_tree::ptree &node) override |
| | UnSerialize a XML node to the current object.
|
| |
| std::string | getDefaultXmlNodeName () const override |
| | Get the default Xml Node name for this object.
|
| |
| bool | checkSkeleton (std::shared_ptr< Format > format) const override |
| | Check the current format skeleton with another format.
|
| |
Public Member Functions inherited from logicalaccess::Wiegand37Format |
| | Wiegand37Format () |
| | Constructor.
|
| |
| virtual | ~Wiegand37Format () |
| | Destructor.
|
| |
| unsigned int | getDataLength () const override |
| | Get the format length in bits.
|
| |
| std::string | getName () const override |
| | Get the format name.
|
| |
| BitsetStream | getLinearDataWithoutParity () const override |
| | Get linear data without parity.
|
| |
| void | setLinearDataWithoutParity (const ByteVector &data) override |
| | Write linear data without parity into data buffer.
|
| |
| size_t | getFormatLinearData (ByteVector &data) const override |
| | Get the format linear data in bytes.
|
| |
| void | setFormatLinearData (const ByteVector &data, size_t *indexByte) override |
| | Set the format linear data in bytes.
|
| |
| FormatType | getType () const override |
| | Get the format type.
|
| |
| void | serialize (boost::property_tree::ptree &parentNode) override |
| | Serialize the current object to XML.
|
| |
| void | unSerialize (boost::property_tree::ptree &node) override |
| | UnSerialize a XML node to the current object.
|
| |
| std::string | getDefaultXmlNodeName () const override |
| | Get the default Xml Node name for this object.
|
| |
| bool | checkSkeleton (std::shared_ptr< Format > format) const override |
| | Check the current format skeleton with another format.
|
| |
Public Member Functions inherited from logicalaccess::WiegandFormat |
| | WiegandFormat () |
| | Constructor.
|
| |
| virtual | ~WiegandFormat () |
| | Destructor.
|
| |
| unsigned char | getLeftParity () const |
| | Get left parity byte.
|
| |
| unsigned char | getRightParity () const |
| | Get right parity byte.
|
| |
| ByteVector | getLinearData () const override |
| | Get linear data.
|
| |
| virtual BitsetStream | getLinearDataWithoutParity () const =0 |
| | Get linear data without parity.
|
| |
| void | setLinearData (const ByteVector &data) override |
| | Set linear data.
|
| |
| virtual void | setLinearDataWithoutParity (const ByteVector &data)=0 |
| | Write linear data without parity into data buffer.
|
| |
| | StaticFormat () |
| | Constructor.
|
| |
| virtual | ~StaticFormat ()=default |
| |
| std::shared_ptr< DataRepresentation > | getDataRepresentation () const |
| | Get the Data Representation for the format.
|
| |
| void | setDataRepresentation (std::shared_ptr< DataRepresentation > &encoding) |
| | Set the Data Representation for the format.
|
| |
| std::shared_ptr< DataType > | getDataType () const |
| | Get the Data Type for the format.
|
| |
| void | setDataType (std::shared_ptr< DataType > &encoding) |
| | Set the Data Type for the format.
|
| |
| unsigned long long | getUid () const |
| | Get the UID number.
|
| |
| void | setUid (unsigned long long uid) |
| | Set the UID number.
|
| |
| virtual bool | needUserConfigurationToBeUse () const |
| | The format need user configuration to be use.
|
| |
| virtual void | convertField (BitsetStream &data, unsigned long long field, unsigned int fieldlen) const |
| | Convert a field into the configured DataRepresentation and DataType.
|
| |
| unsigned long long | revertField (BitsetStream &data, unsigned int *pos, unsigned int fieldlen) const |
| | Revert a field using the configured DataRepresentation and DataType.
|
| |
| size_t | getSkeletonLinearData (ByteVector &data) const override |
| | Get skeleton linear data.
|
| |
| void | setSkeletonLinearData (const ByteVector &data) override |
| | Set skeleton linear data.
|
| |
| | Format () |
| | Constructor.
|
| |
| | Format (const Format &other)=delete |
| | Remove copy.
|
| |
| Format & | operator= (const Format &)=delete |
| |
| virtual | ~Format ()=default |
| |
| virtual unsigned int | getDataLength () const =0 |
| | Get data length in bits.
|
| |
| virtual std::string | getName () const =0 |
| | Get the format name.
|
| |
| virtual ByteVector | getLinearData () const =0 |
| | Get linear data.
|
| |
| virtual void | setLinearData (const ByteVector &data)=0 |
| | Set linear data.
|
| |
| virtual size_t | getSkeletonLinearData (ByteVector &data) const =0 |
| | Get skeleton linear data.
|
| |
| virtual void | setSkeletonLinearData (const ByteVector &data)=0 |
| | Set skeleton linear data.
|
| |
| virtual FormatType | getType () const =0 |
| | Get the format type.
|
| |
| virtual std::vector< std::string > | getValuesFieldList () const |
| | Get values field list.
|
| |
| virtual unsigned int | getFieldLength (const std::string &field) const |
| | Get the field length.
|
| |
| virtual bool | checkSkeleton (std::shared_ptr< Format > format) const =0 |
| | Check the current format skeleton with another format.
|
| |
| virtual ByteVector | getIdentifier () |
| | Get the identifier.
|
| |
| virtual std::vector< std::shared_ptr< DataField > > | getFieldList () |
| | Get the format field list.
|
| |
| virtual void | setFieldList (std::vector< std::shared_ptr< DataField > > fields) |
| | Get the format field list.
|
| |
| std::shared_ptr< DataField > | getFieldFromName (std::string field) const |
| | Get the field object from name.
|
| |
| bool | isRepeatable () const |
| |
| void | setRepeatable (bool v) |
| |
| virtual | ~XmlSerializable ()=default |
| |
| virtual std::string | serialize () |
| | Serialize object to Xml Node string.
|
| |
| virtual std::string | serializeWithHeaders () |
| | Serialize object to Xml Node string, with xml headers.
|
| |
| virtual void | serialize (boost::property_tree::ptree &parentNode)=0 |
| | Serialize object to Xml Node.
|
| |
| virtual void | serializeToFile (const std::string &filename) |
| | Serialize object to a Xml file.
|
| |
| virtual void | unSerialize (boost::property_tree::ptree &node)=0 |
| | UnSerialize object from a Xml Node.
|
| |
| virtual void | unSerialize (const std::string &xmlstring, const std::string &rootNode) |
| | UnSerialize object from a Xml Node string.
|
| |
| virtual void | unSerialize (std::istream &is, const std::string &rootNode) |
| | UnSerialize object from a Xml node.
|
| |
| virtual void | unSerialize (boost::property_tree::ptree &node, const std::string &rootNode) |
| | UnSerialize object from a Xml node.
|
| |
| virtual void | unSerializeFromFile (const std::string &filename) |
| | UnSerialize object from a Xml file.
|
| |
| virtual std::string | getDefaultXmlNodeName () const =0 |
| | Get the default Xml Node name for this object.
|
| |
A Wiegand 37 with Facility format class.