class PlateSighting
Defined in:
6_speed_daemon.cr
Constant Summary
-
ENDIAN =
["big"]
-
KLASS_NAME =
[PlateSighting]
-
PARTS =
[{type: "basic", name: plate_len, cls: UInt8, onlyif: nil, verify: nil, value: -> do
plate.bytesize
end}, {type: "string", name: plate, cls: String, onlyif: nil, verify: nil, length: -> do
plate_len
end, value: nil, encoding: nil}, {type: "basic", name: road, cls: UInt16, onlyif: nil, verify: nil, value: nil}, {type: "basic", name: mile, cls: UInt16, onlyif: nil, verify: nil, value: nil}, {type: "basic", name: timestamp, cls: UInt32, onlyif: nil, verify: nil, value: nil}] of Nil
-
REMAINING =
[] of Nil
Class Method Summary
Instance Method Summary
Macro Summary
-
data(name, onlyif = nil, verify = nil, value = nil)
-
error(name, onlyif = nil, verify = nil, value = nil)
-
heartbeat(name, onlyif = nil, verify = nil, value = nil)
-
i_am_camera(name, onlyif = nil, verify = nil, value = nil)
-
i_am_dispatcher(name, onlyif = nil, verify = nil, value = nil)
-
plate(name, onlyif = nil, verify = nil, value = nil)
-
plate_sighting(name, onlyif = nil, verify = nil, value = nil)
-
response(name, onlyif = nil, verify = nil, value = nil)
-
ticket(name, onlyif = nil, verify = nil, value = nil)
-
want_heartbeat(name, onlyif = nil, verify = nil, value = nil)
Class Method Detail
Instance Method Detail
def
__format__ : IO::ByteFormat
#
def
mile=(mile : UInt16)
#
def
plate=(plate : String)
#
def
plate_len=(plate_len : UInt8)
#
def
road=(road : UInt16)
#
def
timestamp=(timestamp : UInt32)
#
Macro Detail
macro
data(name, onlyif =
nil, verify =
nil, value =
nil)
#
macro
error(name, onlyif =
nil, verify =
nil, value =
nil)
#
macro
heartbeat(name, onlyif =
nil, verify =
nil, value =
nil)
#
macro
i_am_camera(name, onlyif =
nil, verify =
nil, value =
nil)
#
macro
i_am_dispatcher(name, onlyif =
nil, verify =
nil, value =
nil)
#
macro
plate(name, onlyif =
nil, verify =
nil, value =
nil)
#
macro
plate_sighting(name, onlyif =
nil, verify =
nil, value =
nil)
#
macro
response(name, onlyif =
nil, verify =
nil, value =
nil)
#
macro
ticket(name, onlyif =
nil, verify =
nil, value =
nil)
#
macro
want_heartbeat(name, onlyif =
nil, verify =
nil, value =
nil)
#