xo-umbrella2/xo-process/include/xo/process/UpxToConsole.hpp
Roland Conybeare 81a8a3dd84 git subrepo clone (merge) git@github.com:Rconybea/xo-process.git xo-process
subrepo:
  subdir:   "xo-process"
  merged:   "ff603471"
upstream:
  origin:   "git@github.com:Rconybea/xo-process.git"
  branch:   "main"
  commit:   "ff603471"
git-subrepo:
  version:  "0.4.9"
  origin:   "???"
  commit:   "???"
2026-06-06 22:17:23 -04:00

25 lines
742 B
C++

/* @file UpxToConsole.hpp */
#pragma once
#include "UpxEvent.hpp"
#include "xo/reactor/Sink.hpp"
namespace xo {
namespace process {
/* trivial extension of SinkToConsole<UpxEvent>.
* hoping to workaroudn a typeinfo problem by getting typeinfo for Sink1<UpxEvent>
* to appear in the process/ library instead of the process_py/ library.
*
* See FAQ "dynamic_cast<Foo<T> *> fails unexpectedly for a template class"
*/
class UpxToConsole : public xo::reactor::SinkToConsole<UpxEvent> {
public:
UpxToConsole();
static rp<UpxToConsole> make();
}; /*UpxToConsole*/
} /*namespace process*/
} /*namespace xo*/
/* end UpxToConsole.hpp */