10 #ifndef GO_WEB_SCAN_PIPE_H
11 #define GO_WEB_SCAN_PIPE_H
147 #include <GoWebScanSdk/GoWebScanPipe.x.h>
kStatus(kCall * GoWebScanPipeSendFx)(kPointer context, GoWebScanPipeMsg msg)
Defines the signature of the handler used by tasks to receive a message from the pipe.
Definition: GoWebScanPipe.h:33
kStatus GoWebScanPipe_AddMsgPool(GoWebScanPipe pipe, GoWebScanPipeMsgPool *pool)
Adds a message pool to the pipe.
kSize GoWebScanPipe_ThreadCount(GoWebScanPipe pipe)
Gets the number of threads to be used by the pipe.
kStatus GoWebScanPipe_AddTask(GoWebScanPipe pipe, GoWebScanPipeTask *task)
Adds a task to the pipe.
kStatus GoWebScanPipe_Emit(GoWebScanPipe pipe, GoWebScanPipeMsg msg)
Adds a completed message to the pipe's outgoing queue.
Declares the GoWebScanPipeMsg class.
Declares the GoWebScanPipeMsgPool class.
kStatus GoWebScanPipe_SetThreadCount(GoWebScanPipe pipe, kSize count)
Sets the number of threads to be used by the pipe.
kStatus GoWebScanPipe_Dispatch(GoWebScanPipe pipe, GoWebScanPipeTask task, GoWebScanPipeMsg msg)
Dispatches a processing job (task + message) to the pipe.
Essential GoWebScan declarations.
kStatus GoWebScanPipe_Construct(GoWebScanPipe *pipe, kAlloc allocator)
Constructs a GoWebScanPipe object.
kStatus GoWebScanPipe_Clear(GoWebScanPipe pipe)
Receives and frees all messages exiting the pipe until the pipe is empty.
Represents a processing task for the GoWebScanPipe class. Each GoWebScanPipeTask maintains a FIFO que...
kStatus GoWebScanPipe_Receive(GoWebScanPipe pipe, GoWebScanPipeMsg *msg, k64u timeout)
Receives a completed processing job from the pipe.
Represents a pipeline to run sequences of processing tasks concurrently. A GoWebScanPipe object coord...
Represents a pool of GoWebScanPipeMsg objects. The pool allocates GoWebScanPipeMsg objects with a def...
Base class for a msg that can be processed with a GoWebScanPipeTask and submitted to the GoWebScanPip...
kStatus GoWebScanPipe_Start(GoWebScanPipe pipe)
Initializes the pipe.
kSize GoWebScanPipe_ErrorCount(GoWebScanPipe pipe)
Gets the current count of processing errors that have occurred in the pipe.