13 #include <boost/noncopyable.hpp> 16 namespace duds {
namespace hardware {
namespace interface {
70 virtual int address()
const = 0;
75 #endif // #ifndef I2C_HPP
virtual void converse(Conversation &conv)=0
Conducts I2C communication with a device.
virtual int address() const =0
Returns the address of the device that this object will attempt to communicate with.
Allows a common interface for using Conversation objects for communication.
static std::wstring_convert< std::codecvt_utf8< char32_t >, char32_t > conv
String converter; UTF-8 to/from UTF-32.
Represents a two-way conversation with a device.