Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
openlcb/Node.cxx
Go to the documentation of this file.
1
35
#include "
openlcb/Node.hxx
"
36
37
namespace
openlcb
38
{
39
40
extern
void
StartInitializationFlow
(
Node
* node);
41
42
void
Node::initialize
()
43
{
44
// Ensures the caller's logic is statefully correct.
45
HASSERT
(!
is_initialized
());
46
47
StartInitializationFlow
(
this
);
48
}
49
50
}
// namespace openlcb
Node.hxx
Node
Node information.
Definition
Devtab.hxx:549
openlcb::Node::is_initialized
virtual bool is_initialized()=0
openlcb::Node::initialize
void initialize()
Callback from the simple stack to start the initialization process.
Definition
openlcb/Node.cxx:42
HASSERT
#define HASSERT(x)
Checks that the value of expression x is true, else terminates the current process.
Definition
macros.h:138
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
Node.cxx
Generated on Sun Feb 2 2025 21:18:14 for Open Model Railroad Network (OpenMRN) by
1.9.8