8 #ifndef K_FIRESYNC_PIPE_H
9 #define K_FIRESYNC_PIPE_H
522 #include <kFireSync/Client/kPipe.x.h>
kStatus kPipe_DeleteBlock(kPipe pipe, kBlock block)
Destroys the specified block and removes it from the pipe's block list.
kStatus kPipe_ResolvePort(kPipe pipe, const kChar *blockName, const kChar *portName, kPort *port)
Finds a port instance by name.
const kChar * kPipe_TypeDescriptionAt(kPipe pipe, kSize index)
Gets a description of the block type at the specified index.
kSize kPipe_UserBlockCount(kPipe pipe)
Gets the number of user-created blocks belonging to the pipe.
kStatus kPipe_EnableTimer(kPipe pipe, kBool enable)
Enables the pipe timer service.
kStatus kPipe_ThreadPriorityClassInfo(kPipe pipe, kInfo32s *info)
Reports constraint and validity information for the ThreadPriorityClass setting.
kStatus kPipe_ResolveBlock(kPipe pipe, const kChar *blockName, kBlock *block)
Finds a block instance by name.
kThreadPriorityClass kPipe_ThreadPriorityClass(kPipe pipe)
Gets the thread priority class for any pipe threads.
kStatus kPipe_AddRoutePoints(kPipe pipe, const kRoutePoint *source, const kRoutePoint *destination, kRoute *route)
Adds a message route to the pipe.
kSize kPipe_RouteCount(kPipe pipe)
Returns the number of routes in the pipe.
kStatus kPipe_SetEngine(kPipe pipe, kPipeEngine type)
Sets the pipe processing engine type.
kBool kPipe_TimerEnabled(kPipe pipe)
Reports whether the pipe timer is currently enabled.
Represents pipe configuration.
kStatus kPipe_AddRouteStr(kPipe pipe, const kChar *sourceBlock, const kChar *sourcePort, const kChar *destBlock, const kChar *destPort, kRoute *route)
Adds a message route to the pipe by resolving end-point names.
kSize kPipe_ThreadCount(kPipe pipe)
Gets the desired number of threads used by the pipe engine.
kStatus kPipe_DeleteRoute(kPipe pipe, kRoute route)
Removes a message route from the pipe.
Represents constraint and validity information for a bit flag setting.
Definition: kInfo.h:544
kStatus kPipe_TimerPeriodInfo(kPipe pipe, kInfo64u *info)
Reports constraint and validity information for the TimerPeriod setting.
kStatus kPipe_ThreadAffinityInfo(kPipe pipe, kInfo *info)
Reports constraint and validity information for the ThreadAffinity setting.
kStatus kPipe_ThreadAffinity(kPipe pipe, kBitArray affinity)
Gets the thread affinity for any pipe threads.
kStatus kPipe_ThreadPriorityOffsetInfo(kPipe pipe, kInfo32s *info)
Reports constraint and validity information for the ThreadPriorityOffset setting. ...
k64u kPipe_TimerPeriod(kPipe pipe)
Reports the current period for the piper timer service.
kStatus kPipe_SetThreadPriorityClass(kPipe pipe, kThreadPriorityClass priorityClass)
Sets the thread priority class for any pipe threads.
kSize kPipe_MaxQueueCount(kPipe pipe)
Gets the maximum count of the pipe's message input queue.
Represents constraint and validity information for a 32-bit signed integer setting.
Definition: kInfo.h:166
kStatus kPipe_SetMaxQueueCount(kPipe pipe, kSize count)
Sets the maximum count for the pipe's message input queue.
Essential declarations related to FireSync nodes.
kBlock kPipe_UserBlockAt(kPipe pipe, kSize index)
Gets the user-created block at the specified index.
kSize kPipe_BlockCount(kPipe pipe)
Gets the total number of blocks belonging to the pipe (including system and user blocks).
kPipeEngine kPipe_Engine(kPipe pipe)
Gets the pipe processing engine type.
kSize kPipe_TypeCount(kPipe pipe)
Gets the number of block types currently available on this node.
kStatus kPipe_SetThreadCount(kPipe pipe, kSize count)
Sets the desired number of threads used by the pipe engine.
kStatus kPipe_ResolveBlockById(kPipe pipe, k32u id, kBlock *block)
Finds a block instance by id.
kStatus kPipe_ResolveRoutePoint(kPipe pipe, const kChar *blockName, const kChar *portName, kRoutePoint *routePoint)
Determines the routing end-point of a port from block/port names.
kStatus kPipe_ClearRoutes(kPipe pipe)
Removes all message routes from the pipe.
kStatus kPipe_AddBlock(kPipe pipe, const kChar *typeName, const kChar *name, kBlock *block)
Creates and adds a new block to the pipe.
Represents port configuration.
kSize kPipe_MaxQueueSize(kPipe pipe)
Gets the maximum total data size of the pipe's message input queue.
kStatus kPipe_SwapUserBlocks(kPipe pipe, kSize index0, kSize index1)
Swaps the order of two user blocks in the pipe's user block list.
kStatus kPipe_EngineInfo(kPipe pipe, kInfoBits *info)
Reports constraint and validity information for the Engine setting.
kStatus kPipe_SetMaxQueueSize(kPipe pipe, kSize size)
Sets the maximum total data size for the pipe's message input queue.
kBlock kPipe_BlockAt(kPipe pipe, kSize index)
Gets the block at the specified index.
kStatus kPipe_TimerEnabledInfo(kPipe pipe, kInfoBool *info)
Reports constraint and validity information for the TimerEnabled setting.
Represents block configuration.
Represents constraint and validity information for a 64-bit unsigned integer setting.
Definition: kInfo.h:234
Represents configuration for a pipe message route.
const kChar * kPipe_TypeNameAt(kPipe pipe, kSize index)
Gets the name of the block type at the specified index.
kRoute kPipe_RouteAt(kPipe pipe, kSize index)
Gets the route at the specified index.
kStatus kPipe_SetThreadAffinity(kPipe pipe, kBitArray affinity)
Sets the thread affinity for any pipe threads.
k32s kPipe_ThreadPriorityOffset(kPipe pipe)
Gets the thread priority offset for any pipe threads.
Represents constraint and validity information for a kSize setting.
Definition: kInfo.h:370
kStatus kPipe_AddRoute(kPipe pipe, k32u sourceBlock, k32u sourcePort, k32u destBlock, k32u destPort, kRoute *route)
Adds a message route to the pipe.
Represents a source or destination endpoint address for a pipe data route.
Definition: kNodeDef.h:1796
kStatus kPipe_ThreadCountInfo(kPipe pipe, kInfoSize *info)
Reports constraint and validity information for the ThreadCount setting.
kStatus kPipe_Clear(kPipe pipe)
Resets pipe mode settings to defaults.
k32s kPipe_SetThreadPriorityOffset(kPipe pipe, k32s priorityOffset)
Sets the thread priority offset for any pipe threads.
Represents constraint and validity information for a general setting.
Definition: kInfo.h:64
kStatus kPipe_SetTimerPeriod(kPipe pipe, k64u periodUs)
Sets the period for the pipe timer service.
Represents the type of data processing engine used in a kPipe instance.
Represents constraint and validity information for a boolean setting.
Definition: kInfo.h:493