OneWire Library for Arduino  version: 1.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator
OneWire::ForwardRomIterator Class Referenceabstract

Iterates through all 1-Wire devices in a sequential first to last order. More...

#include <RomIterator.h>

Inheritance diagram for OneWire::ForwardRomIterator:
OneWire::RomIterator OneWire::ForwardSearchRomIterator

Public Member Functions

 ForwardRomIterator (OneWireMaster &master)
 
virtual bool lastDevice () const =0
 Indicates that current device is the last. More...
 
virtual OneWireMaster::CmdResult selectFirstDevice ()=0
 Select the first device in the sequence. More...
 
virtual OneWireMaster::CmdResult selectNextDevice ()=0
 Select the next device in the sequence. More...
 
virtual OneWireMaster::CmdResult reselectCurrentDevice ()=0
 Reselect the current device for an additional operation. More...
 
- Public Member Functions inherited from OneWire::RomIterator
virtual ~RomIterator ()
 
OneWireMastermaster () const
 The 1-Wire master used to issue ROM commands. More...
 

Additional Inherited Members

- Protected Member Functions inherited from OneWire::RomIterator
 RomIterator (OneWireMaster &master)
 

Detailed Description

Iterates through all 1-Wire devices in a sequential first to last order.

Constructor & Destructor Documentation

OneWire::ForwardRomIterator::ForwardRomIterator ( OneWireMaster master)
inline
Parameters
master1-Wire master to use to issue ROM commands.

Member Function Documentation

virtual bool OneWire::ForwardRomIterator::lastDevice ( ) const
pure virtual

Indicates that current device is the last.

Implemented in OneWire::ForwardSearchRomIterator.

virtual OneWireMaster::CmdResult OneWire::ForwardRomIterator::reselectCurrentDevice ( )
pure virtual

Reselect the current device for an additional operation.

Implemented in OneWire::ForwardSearchRomIterator.

virtual OneWireMaster::CmdResult OneWire::ForwardRomIterator::selectFirstDevice ( )
pure virtual

Select the first device in the sequence.

Implemented in OneWire::ForwardSearchRomIterator.

virtual OneWireMaster::CmdResult OneWire::ForwardRomIterator::selectNextDevice ( )
pure virtual

Select the next device in the sequence.

Implemented in OneWire::ForwardSearchRomIterator.


The documentation for this class was generated from the following file: