0.3.0
Loading...
Searching...
No Matches
NAV::FlowExecutor Namespace Reference

Functions

void deinitialize ()
 Deinitialize all Nodes.
 
void deregisterNode (const Node *node)
 Called by nodes when they finished with sending data.
 
void execute ()
 Main task of the thread.
 
bool isRunning () noexcept
 Checks if the thread is running.
 
void start ()
 Starts the Thread.
 
void stop ()
 Stops the Thread.
 
void waitForFinish ()
 Waits for a thread to finish its execution.
 

Function Documentation

◆ deinitialize()

void NAV::FlowExecutor::deinitialize ( )

Deinitialize all Nodes.

◆ deregisterNode()

void NAV::FlowExecutor::deregisterNode ( const Node * node)

Called by nodes when they finished with sending data.

Parameters
[in]nodeThe node to deregister

Definition at line 141 of file FlowExecutor.cpp.

◆ execute()

void NAV::FlowExecutor::execute ( )

Main task of the thread.

Main task of the FlowExecutor thread.

Definition at line 154 of file FlowExecutor.cpp.

◆ isRunning()

bool NAV::FlowExecutor::isRunning ( )
nodiscardnoexcept

Checks if the thread is running.

Definition at line 85 of file FlowExecutor.cpp.

◆ start()

void NAV::FlowExecutor::start ( )

Starts the Thread.

Definition at line 91 of file FlowExecutor.cpp.

◆ stop()

void NAV::FlowExecutor::stop ( )

Stops the Thread.

Definition at line 105 of file FlowExecutor.cpp.

◆ waitForFinish()

void NAV::FlowExecutor::waitForFinish ( )

Waits for a thread to finish its execution.

Definition at line 126 of file FlowExecutor.cpp.