Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
CallableFlowRequestBase Struct Reference

All callable flow request objects have to derive from this struct. More...

#include <CallableFlow.hxx>

Inheritance diagram for CallableFlowRequestBase:
ProgrammingTrackRequest openlcb::BroadcastTimeServerDateRolloverFinishInput openlcb::BroadcastTimeServerSetInput openlcb::BroadcastTimeServerSyncInput openlcb::BroadcastTimeServerTimeInput openlcb::BulkAliasRequest openlcb::DccAccyProducerInput openlcb::MemoryConfigClientRequest openlcb::SNIPClientRequest openlcb::StreamReceiveRequest openlcb::TractionThrottleInput

Public Member Functions

void reset_base ()
 Call this from all instances of reset(...).
 

Public Attributes

int resultCode
 If high bits are zero, this is a 16-bit OpenLCB result code.
 
BarrierNotifiable done
 Used internally by the invoke_subflow mechanism of StateFlow to notify the calling flow upon completion.
 

Detailed Description

All callable flow request objects have to derive from this struct.

Definition at line 42 of file CallableFlow.hxx.

Member Function Documentation

◆ reset_base()

void CallableFlowRequestBase::reset_base ( )
inline

Call this from all instances of reset(...).

Definition at line 44 of file CallableFlow.hxx.

Member Data Documentation

◆ done

BarrierNotifiable CallableFlowRequestBase::done

Used internally by the invoke_subflow mechanism of StateFlow to notify the calling flow upon completion.

Definition at line 53 of file CallableFlow.hxx.

◆ resultCode

int CallableFlowRequestBase::resultCode

If high bits are zero, this is a 16-bit OpenLCB result code.

Higher values are OpenMRN errors.

Definition at line 50 of file CallableFlow.hxx.


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