w11 - cpp 0.794
Backend server for Rlink and w11
Loading...
Searching...
No Matches
Rw11VirtEth.ipp
Go to the documentation of this file.
1// $Id: Rw11VirtEth.ipp 1186 2019-07-12 17:49:59Z mueller $
2// SPDX-License-Identifier: GPL-3.0-or-later
3// Copyright 2014-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// 2017-01-29 847 1.0 Initial version
9// 2014-06-09 561 0.1 First draft
10// ---------------------------------------------------------------------------
11
16// all method definitions in namespace Retro
17namespace Retro {
18
19//------------------------------------------+-----------------------------------
21
22inline const std::string& Rw11VirtEth::ChannelId() const
23{
24 return fChannelId;
25}
26
27
28//------------------------------------------+-----------------------------------
30
32{
33 fRcvCb = move(rcvcbfo);
34 return;
35}
36
37} // end namespace Retro
virtual const std::string & ChannelId() const
FIXME_docs.
Definition: Rw11VirtEth.ipp:22
std::function< bool(std::shared_ptr< RethBuf > &)> rcvcbfo_t
Definition: Rw11VirtEth.hpp:33
std::string fChannelId
channel id
Definition: Rw11VirtEth.hpp:59
void SetupRcvCallback(rcvcbfo_t &&rcvcbfo)
FIXME_docs.
Definition: Rw11VirtEth.ipp:31
rcvcbfo_t fRcvCb
receive callback fobj
Definition: Rw11VirtEth.hpp:60
Declaration of class ReventLoop.
Definition: ReventLoop.cpp:47