Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
PendingInvocation< T > Struct Template Reference

Structure holding returned objects for an invoke_flow_nowait command. More...

#include <test_main.hxx>

Public Member Functions

void wait ()
 

Public Attributes

BufferPtr< T > b
 Buffer sent to the flow.
 
SyncNotifiable notifiable
 Notifiable to wait for.
 
BarrierNotifiable barrier {&notifiable}
 Barrier notifiable given to the buffer.
 
bool isWaited {false}
 True if wait has been invoked.
 

Detailed Description

template<class T>
struct PendingInvocation< T >

Structure holding returned objects for an invoke_flow_nowait command.

Definition at line 221 of file test_main.hxx.

Constructor & Destructor Documentation

◆ ~PendingInvocation()

template<class T >
PendingInvocation< T >::~PendingInvocation ( )
inline

Definition at line 232 of file test_main.hxx.

Member Function Documentation

◆ wait()

template<class T >
void PendingInvocation< T >::wait ( )
inline

Definition at line 237 of file test_main.hxx.

Member Data Documentation

◆ b

template<class T >
BufferPtr<T> PendingInvocation< T >::b

Buffer sent to the flow.

Definition at line 224 of file test_main.hxx.

◆ barrier

template<class T >
BarrierNotifiable PendingInvocation< T >::barrier {&notifiable}

Barrier notifiable given to the buffer.

Definition at line 228 of file test_main.hxx.

◆ isWaited

template<class T >
bool PendingInvocation< T >::isWaited {false}

True if wait has been invoked.

Definition at line 230 of file test_main.hxx.

◆ notifiable

template<class T >
SyncNotifiable PendingInvocation< T >::notifiable

Notifiable to wait for.

Definition at line 226 of file test_main.hxx.


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