w11 - cpp 0.794
Backend server for Rlink and w11
Loading...
Searching...
No Matches
Rw11VirtTermPty.hpp
Go to the documentation of this file.
1// $Id: Rw11VirtTermPty.hpp 1186 2019-07-12 17:49:59Z mueller $
2// SPDX-License-Identifier: GPL-3.0-or-later
3// Copyright 2013-2017 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
4//
5// Revision History:
6// Date Rev Version Comment
7// 2017-04-07 868 1.0.1 Dump(): add detail arg
8// 2013-03-06 495 1.0 Initial version
9// 2013-02-24 492 0.1 First draft
10// ---------------------------------------------------------------------------
11
12
17#ifndef included_Retro_Rw11VirtTermPty
18#define included_Retro_Rw11VirtTermPty 1
19
20#include <poll.h>
21
22#include "Rw11VirtTerm.hpp"
23
24namespace Retro {
25
27 public:
28
29 explicit Rw11VirtTermPty(Rw11Unit* punit);
31
32 virtual bool Open(const std::string& url, RerrMsg& emsg);
33
34 virtual bool Snd(const uint8_t* data, size_t count, RerrMsg& emsg);
35
36 virtual void Dump(std::ostream& os, int ind=0, const char* text=0,
37 int detail=0) const;
38
39 protected:
40 int RcvPollHandler(const pollfd& pfd);
41
42 protected:
43 int fFd;
44 };
45
46} // end namespace Retro
47
48//#include "Rw11VirtTermPty.ipp"
49
50#endif
FIXME_docs.
Definition: RerrMsg.hpp:25
FIXME_docs.
Definition: Rw11Unit.hpp:39
virtual bool Snd(const uint8_t *data, size_t count, RerrMsg &emsg)
FIXME_docs.
virtual void Dump(std::ostream &os, int ind=0, const char *text=0, int detail=0) const
FIXME_docs.
int RcvPollHandler(const pollfd &pfd)
FIXME_docs.
virtual bool Open(const std::string &url, RerrMsg &emsg)
FIXME_docs.
int fFd
fd for pty master side
Declaration of class ReventLoop.
Definition: ReventLoop.cpp:47