DUDS
Distributed Update of Data from Something
ConversationExternal.cpp
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  */
11 
12 namespace duds { namespace hardware { namespace interface {
13 
15  return data;
16 }
17 
18 std::size_t ConversationExternal::length() const {
19  return len;
20 }
21 
22 } } }
char * data
Points to the start of the external buffer.
virtual std::size_t length() const
Returns the length of the buffer following the start pointer.
virtual char * start() const
Returns a pointer to the begining of the conversation part's buffer.
std::size_t len
Length of the external buffer.