33 #ifndef OneWire_RomIterator
34 #define OneWire_RomIterator
virtual OneWireMaster::CmdResult reselectCurrentDevice()=0
Reselect the current device for an additional operation.
OneWireMaster::CmdResult selectDevice()
Select the one and only device.
Definition: RomIterator.h:126
OneWireMaster::CmdResult selectFirstDeviceInFamily(uint8_t familyCode)
Definition: RomIterator.cpp:59
Standard container for a 1-Wire ROM ID.
Definition: RomId.h:43
virtual ~RomIterator()
Definition: RomIterator.h:54
RomId romId
Definition: RomCommands.h:49
Iterates through all 1-Wire devices sequentially using the search procedure.
Definition: RomIterator.h:81
RandomAccessRomIterator(OneWireMaster &master)
Definition: RomIterator.h:112
SingledropRomIterator(OneWireMaster &master)
Definition: RomIterator.h:123
RomCommands::SearchState searchState
Definition: RomIterator.h:84
virtual OneWireMaster::CmdResult selectNextDevice()=0
Select the next device in the sequence.
ForwardRomIterator(OneWireMaster &master)
Definition: RomIterator.h:65
MultidropRomIteratorWithResume(OneWireMaster &master)
Definition: RomIterator.h:148
OneWireMaster & master() const
The 1-Wire master used to issue ROM commands.
Definition: RomIterator.h:57
Iterator for a multidrop 1-Wire bus where slaves support the Resume ROM command.
Definition: RomIterator.h:141
virtual OneWireMaster::CmdResult selectDevice(const RomId &romId)
Select the device with the given ROM ID.
Definition: RomIterator.cpp:81
Controls selection of 1-Wire devices on the bus through ROM commands.
Definition: RomIterator.h:44
virtual bool lastDevice() const
Indicates that current device is the last.
Definition: RomIterator.cpp:39
virtual OneWireMaster::CmdResult reselectCurrentDevice()
Reselect the current device for an additional operation.
Definition: RomIterator.cpp:54
virtual bool lastDevice() const =0
Indicates that current device is the last.
Iterator for a multidrop 1-Wire bus.
Definition: RomIterator.h:131
virtual OneWireMaster::CmdResult selectFirstDevice()
Select the first device in the sequence.
Definition: RomIterator.cpp:44
OneWireMaster::CmdResult selectNextFamilyDevice()
Definition: RomIterator.cpp:65
virtual OneWireMaster::CmdResult selectDevice(const RomId &romId)=0
Select the device with the given ROM ID.
virtual OneWireMaster::CmdResult selectDevice(const RomId &romId)
Select the device with the given ROM ID.
Definition: RomIterator.cpp:76
Iterates through all 1-Wire devices in a sequential first to last order.
Definition: RomIterator.h:61
ForwardSearchRomIterator(OneWireMaster &master)
Definition: RomIterator.h:88
Base class for all 1-Wire Masters.
Definition: OneWireMaster.h:43
MultidropRomIterator(OneWireMaster &master)
Definition: RomIterator.h:135
const RomId & selectedDevice() const
ROM ID of the currently selected device.
Definition: RomIterator.h:91
virtual OneWireMaster::CmdResult selectNextDevice()
Select the next device in the sequence.
Definition: RomIterator.cpp:49
State used by all ROM ID search functions.
Definition: RomCommands.h:47
RomIterator(OneWireMaster &master)
Definition: RomIterator.h:51
Iterator for a singledrop 1-Wire bus.
Definition: RomIterator.h:119
CmdResult
Result of all 1-Wire commands.
Definition: OneWireMaster.h:68
virtual OneWireMaster::CmdResult selectFirstDevice()=0
Select the first device in the sequence.
OneWireMaster::CmdResult OWSkipRom(OneWireMaster &master)
Definition: RomCommands.cpp:152
Iterates though 1-Wire devices on the bus using random selection by ROM ID.
Definition: RomIterator.h:108