DUDS
Distributed Update of Data from Something
Conversationalist.hpp
Go to the documentation of this file.
1 /*
2  * This file is part of the DUDS project. It is subject to the BSD-style
3  * license terms in the LICENSE file found in the top-level directory of this
4  * distribution and at https://github.com/jjackowski/duds/blob/master/LICENSE.
5  * No part of DUDS, including this file, may be copied, modified, propagated,
6  * or distributed except according to the terms contained in the LICENSE file.
7  *
8  * Copyright (C) 2017 Jeff Jackowski
9  */
10 #ifndef CONVERSATIONALIST_HPP
11 #define CONVERSATIONALIST_HPP
12 
13 namespace duds { namespace hardware { namespace interface {
14 
15 class Conversation;
16 
22 public:
26  virtual ~Conversationalist() = 0;
31  virtual void converse(Conversation &conv) = 0;
32 };
33 
34 } } }
35 
36 #endif // #ifndef CONVERSATIONALIST_HPP
virtual ~Conversationalist()=0
Allow proper destruction using a Conversationalist pointer.
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.
Definition: BppFont.cpp:165
virtual void converse(Conversation &conv)=0
Begins a half-duplex Conversation with a device.
Represents a two-way conversation with a device.