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

Iterates though 1-Wire devices on the bus using random selection by ROM ID. More...

#include <RomIterator.h>

Inheritance diagram for OneWire::RandomAccessRomIterator:
OneWire::RomIterator OneWire::MultidropRomIterator OneWire::MultidropRomIteratorWithResume OneWire::SingledropRomIterator

Public Member Functions

 RandomAccessRomIterator (OneWireMaster &master)
 
virtual OneWireMaster::CmdResult selectDevice (const RomId &romId)=0
 Select the device with the given ROM ID. 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 though 1-Wire devices on the bus using random selection by ROM ID.

Constructor & Destructor Documentation

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

Member Function Documentation

virtual OneWireMaster::CmdResult OneWire::RandomAccessRomIterator::selectDevice ( const RomId romId)
pure virtual

Select the device with the given ROM ID.

Implemented in OneWire::MultidropRomIteratorWithResume, OneWire::MultidropRomIterator, and OneWire::SingledropRomIterator.


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