w11 - cpp 0.794
Backend server for Rlink and w11
Loading...
Searching...
No Matches
Rw11VirtTerm.ipp
Go to the documentation of this file.
1// $Id: Rw11VirtTerm.ipp 1186 2019-07-12 17:49:59Z mueller $
2// SPDX-License-Identifier: GPL-3.0-or-later
3// Copyright 2013-2018 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
4//
5// Revision History:
6// Date Rev Version Comment
7// 2018-12-15 1083 1.0.1 SetupRcvCallback(): use rval ref and move semantics
8// 2013-03-06 495 1.0 Initial version
9// 2013-02-19 490 0.1 First draft
10// ---------------------------------------------------------------------------
11
16// all method definitions in namespace Retro
17namespace Retro {
18
19//------------------------------------------+-----------------------------------
21
22inline const std::string& Rw11VirtTerm::ChannelId() const
23{
24 return fChannelId;
25}
26
27
28//------------------------------------------+-----------------------------------
30
32{
33 fRcvCb = move(rcvcbfo);
34 return;
35}
36
37} // end namespace Retro
void SetupRcvCallback(rcvcbfo_t &&rcvcbfo)
FIXME_docs.
rcvcbfo_t fRcvCb
receive callback fobj
std::string fChannelId
channel id
std::function< bool(const uint8_t *, size_t)> rcvcbfo_t
virtual const std::string & ChannelId() const
FIXME_docs.
Declaration of class ReventLoop.
Definition: ReventLoop.cpp:47