ndmspc v1.2.0-0.1.rc7
Loading...
Searching...
No Matches
Ndmspc Namespace Reference

Global callback function for libwebsockets client events. More...

Classes

struct  ExecutionProgress
 Execution progress metrics for IPC-based distributed processing. More...
 
class  NBinning
 NBinning object for managing multi-dimensional binning and axis definitions. More...
 
class  NBinningDef
 Defines binning mapping and content for NDMSPC histograms. More...
 
class  NBinningPoint
 Represents a single point in multi-dimensional binning. More...
 
class  NCloudEvent
 Represents a CloudEvent object for HTTP communication. More...
 
class  NDimensionalExecutor
 Executes a function over all points in an N-dimensional space, optionally in parallel. More...
 
class  NDimensionalIpcRunner
 
class  NGnNavigator
 Navigator object for managing hierarchical data structures and projections. More...
 
class  NGnThreadData
 Thread-local data object for NDMSPC processing. More...
 
class  NGnTree
 NDMSPC tree object for managing multi-dimensional data storage and processing. More...
 
class  NHttpRequest
 Provides HTTP request functionality using libcurl. More...
 
class  NLogger
 Thread-safe singleton logger with per-thread file output. More...
 
class  NParameters
 NParameters object. More...
 
class  NResourceMonitor
 Monitors and records resource usage (CPU, memory, wall time) for processes or threads. More...
 
class  NStorageTree
 NDMSPC storage tree object for managing ROOT TTree-based data storage. More...
 
class  NTaskStateManager
 Manages task lifecycle: pending → running → done/failed. More...
 
class  NThreadData
 Thread-local data object for NDMSPC processing. More...
 
class  NTreeBranch
 NDMSPC tree branch object for managing ROOT TBranch and associated data. More...
 
class  NUtils
 Utility class providing static helper functions for file operations, histogram manipulations, axis handling, string and vector utilities, JSON parsing, and progress display. More...
 
class  NWsClient
 WebSocket client for asynchronous communication using libwebsockets. More...
 
class  NWsClientInfo
 Holds per-client data for WebSocket connections. More...
 
struct  WS_URI
 Structure representing a parsed WebSocket URI. More...
 

Typedefs

using NHnSparseProcessFuncPtr = void (*)(Ndmspc::NBinningPoint *, TList *, TList *, int)
 Function pointer type for processing sparse nodes in the tree.
 
using NGnProcessFuncPtr = void (*)(Ndmspc::NBinningPoint *, TList *, TList *, int)
 Function pointer type for processing binning points and lists.
 
using NGnBeginFuncPtr = void (*)(Ndmspc::NBinningPoint *, int)
 Function pointer type for the beginning of a tree operation.
 
using NGnEndFuncPtr = void (*)(Ndmspc::NBinningPoint *, int)
 Function pointer type for termination functions used in NGnTree.
 

Enumerations

enum class  Binning { kSingle = 0 , kMultiple = 1 , kUser = 2 , kUndefined = 3 }
 Types of binning supported. More...
 
enum class  AxisType { kFixed = 0 , kVariable = 1 , kUndefined = 2 }
 Types of axis supported. More...
 

Detailed Description

Global callback function for libwebsockets client events.

Handles various websocket events such as connection, message receipt, errors, etc.

Parameters
wsiPointer to the websocket instance.
reasonCallback reason/event type.
userUser data pointer.
inInput data pointer.
lenLength of input data.
Returns
Status code for libwebsockets.

Typedef Documentation

◆ NGnBeginFuncPtr

Function pointer type for the beginning of a tree operation.

This function pointer is used to define a callback that operates on a binning point, a list, and an integer parameter. It is typically called at the start of a tree-related process or iteration.

Parameters
Ndmspc::NBinningPoint*Pointer to a binning point structure.
intAn integer parameter, typically used for indexing or counting.

Definition at line 52 of file NGnTree.h.

◆ NGnEndFuncPtr

using Ndmspc::NGnEndFuncPtr = void (*)(Ndmspc::NBinningPoint *, int)

Function pointer type for termination functions used in NGnTree.

This function is called to perform termination operations on a binning point.

Parameters
binningPointPointer to the Ndmspc::NBinningPoint object.
flagAn integer flag for custom behavior.

Definition at line 62 of file NGnTree.h.

◆ NGnProcessFuncPtr

using Ndmspc::NGnProcessFuncPtr = void (*)(Ndmspc::NBinningPoint *, TList *, TList *, int)

Function pointer type for processing binning points and lists.

This type defines a pointer to a function that processes a binning point and two lists, along with an integer parameter.

Parameters
Ndmspc::NBinningPoint*Pointer to a binning point object.
TList*Pointer to the first list.
TList*Pointer to the second list.
intAn integer parameter for processing.

Definition at line 40 of file NGnTree.h.

◆ NHnSparseProcessFuncPtr

using Ndmspc::NHnSparseProcessFuncPtr = void (*)(Ndmspc::NBinningPoint *, TList *, TList *, int)

Function pointer type for processing sparse nodes in the tree.

This function is expected to process a binning point and two lists, with an additional integer parameter.

Parameters
Ndmspc::NBinningPoint*Pointer to the binning point to process.
TList*Pointer to the first list involved in processing.
TList*Pointer to the second list involved in processing.
intAdditional integer parameter for processing.

Definition at line 27 of file NGnTree.h.

Enumeration Type Documentation

◆ AxisType

enum class Ndmspc::AxisType
strong

Types of axis supported.

Enumerator
kFixed 

fixed axis type

kVariable 

variable axis type

kUndefined 

Undefined axis type.

Definition at line 30 of file NBinning.h.

◆ Binning

enum class Ndmspc::Binning
strong

Types of binning supported.

Enumerator
kSingle 

No rebin possible.

kMultiple 

Rebin is possible.

kUser 

No rebin possible, but axis range is as single bin (User must set bin as needed)

kUndefined 

Undefined binning type.

Definition at line 19 of file NBinning.h.