class KNX::GroupAddress
- KNX::GroupAddress
- KNX::Address
- BinData
- Reference
- Object
Defined in:
knx/address.crConstant Summary
-
AFTER_DESERIALIZE =
[] of Nil
-
BEFORE_SERIALIZE =
[] of Nil
-
ENDIAN =
["big"]
-
KLASS_NAME =
[KNX::GroupAddress]
-
PARTS =
[{type: "bitfield", name: 2, cls: KNX::GroupAddress, onlyif: nil, verify: nil}, {type: "basic", name: sub_group, cls: UInt8, onlyif: nil, verify: nil, value: nil, endian: nil}] of Nil
-
REMAINING =
[] of Nil
Constructors
Class Method Summary
Macro Summary
- knx_address(name, onlyif = nil, verify = nil, value = nil)
- knx_group_address(name, onlyif = nil, verify = nil, value = nil)
- knx_header(name, onlyif = nil, verify = nil, value = nil)
- knx_header_timer(name, onlyif = nil, verify = nil, value = nil)
- knx_header_wrapper(name, onlyif = nil, verify = nil, value = nil)
Instance Method Summary
- #__format__ : IO::ByteFormat
- #_reserved_ : UInt8
- #_reserved_=(_reserved_ : UInt8)
- #main_group : UInt8
- #main_group=(main_group : UInt8)
- #middle_group : UInt8
- #middle_group=(middle_group : UInt8)
- #sub_group : UInt8
- #sub_group=(sub_group : UInt8)
-
#to_s : String
Returns a nicely readable and concise string representation of this object, typically intended for users.
Instance methods inherited from class KNX::Address
__format__ : IO::ByteFormat
__format__,
group?
group?,
to_i
to_i,
to_s : String
to_s
Constructor methods inherited from class KNX::Address
parse(address : String) : Address
parse
Class methods inherited from class KNX::Address
bit_fields
bit_fields,
parse(input : Int)parse(bytes : Bytes)
parse(io : IO) parse
Macros inherited from class KNX::Address
knx_address(name, onlyif = nil, verify = nil, value = nil)
knx_address,
knx_header(name, onlyif = nil, verify = nil, value = nil)
knx_header,
knx_header_timer(name, onlyif = nil, verify = nil, value = nil)
knx_header_timer,
knx_header_wrapper(name, onlyif = nil, verify = nil, value = nil)
knx_header_wrapper
Constructor Detail
Class Method Detail
Macro Detail
Instance Method Detail
def to_s : String
#
Description copied from class Object
Returns a nicely readable and concise string representation of this object, typically intended for users.
This method should usually not be overridden. It delegates to
#to_s(IO)
which can be overridden for custom implementations.
Also see #inspect
.