Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
NodeInitializeFlow.cxx
Go to the documentation of this file.
1
35
#include "openlcb/NodeInitializeFlow.hxx"
36
37
namespace
openlcb
38
{
39
40
InitializeFlow::~InitializeFlow()
41
{
42
}
43
44
void
StartInitializationFlow
(
Node
*node)
45
{
46
auto
*g_initialize_flow =
Singleton<InitializeFlow>::instance
();
47
auto
*b = g_initialize_flow->alloc();
48
b->data()->node = node;
49
g_initialize_flow->send(b);
50
}
51
52
}
// namespace openlcb
53
54
//DEFINE_SINGLETON_INSTANCE(openlcb::InitializeFlow);
Singleton::instance
static T * instance()
Definition
Singleton.hxx:77
openlcb::Node
Base class for NMRAnet nodes conforming to the asynchronous interface.
Definition
Node.hxx:52
openlcb
Definition
RailcomPortDebug.hxx:202
openlcb::StartInitializationFlow
void StartInitializationFlow(Node *node)
Helper function that sends a local virtual node to the static InitializeFlow.
Definition
NodeInitializeFlow.cxx:44
src
openlcb
NodeInitializeFlow.cxx
Generated on Sun Feb 2 2025 21:18:14 for Open Model Railroad Network (OpenMRN) by
1.9.8