Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
openlcb::SimpleCanStackBase::WithStreamSupport Class Reference

Helper class to add stream support straight after construction. More...

#include <SimpleStack.hxx>

Public Member Functions

 WithStreamSupport (SimpleCanStackBase *p)
 

Detailed Description

Helper class to add stream support straight after construction.

Usage: add following at toplevel in main.cxx

SimpleCanStack stack(NODE_ID);
SimpleCanStack::WithStreamSupport stream_support(&stack);
Helper class to add stream support straight after construction.
Helper class for bringing up all components needed for a typical OpenLCB node.

Definition at line 459 of file SimpleStack.hxx.

Constructor & Destructor Documentation

◆ WithStreamSupport()

openlcb::SimpleCanStackBase::WithStreamSupport::WithStreamSupport ( SimpleCanStackBase p)
inline

Definition at line 462 of file SimpleStack.hxx.


The documentation for this class was generated from the following file: