Logo ROOT   6.14/05
Reference Guide
Enumerations
MPCode Namespace Reference

This namespace prevents conflicts between MPCode::kError and ELogLevel::kError. More...

Enumerations

enum  EMPCode : unsigned {
  kExecFunc = 0, kExecFuncWithArg, kFuncResult, kIdling = 100,
  kSendResult, kProcFile = 200, kProcRange, kProcTree,
  kProcSelector, kProcResult, kProcEnded, kProcError,
  kMessage = 1000, kError, kFatalError, kShutdownOrder,
  kShutdownNotice, kRecvError
}
 An enumeration of the message codes handled by TProcessExecutor, TTreeProcessorMP, TMPWorker, TMPWorkerTree and by the low level classes TMPClient and TMPWorker. More...
 

Detailed Description

This namespace prevents conflicts between MPCode::kError and ELogLevel::kError.

Enumeration Type Documentation

◆ EMPCode

enum MPCode::EMPCode : unsigned

An enumeration of the message codes handled by TProcessExecutor, TTreeProcessorMP, TMPWorker, TMPWorkerTree and by the low level classes TMPClient and TMPWorker.

Enumerator
kExecFunc 

Execute function without arguments.

kExecFuncWithArg 

Execute function with the argument contained in the message.

kFuncResult 

The message contains the result of a function execution.

kIdling 

We are ready for the next task.

kSendResult 

Ask for a kFuncResult/kProcResult.

kProcFile 

Tell a TMPWorkerTree which tree to process. The object sent is a TreeInfo.

kProcRange 

Tell a TMPWorkerTree which tree and entries range to process. The object sent is a TreeRangeInfo.

kProcTree 

Tell a TMPWorkerTree to process the tree that was passed to it at construction time.

kProcSelector 

Tell a TMPWorkerTree to process the tree using the selector passed to it at construction time.

kProcResult 

The message contains the result of the processing of a TTree.

kProcEnded 

Tell the client we are done processing (i.e. we have reached the target number of entries to process)

kProcError 

Tell the client there was an error while processing.

kMessage 

Generic message.

kError 

Error message.

kFatalError 

Fatal error: whoever sends this message is terminating execution.

kShutdownOrder 

Used by the client to tell servers to shutdown.

kShutdownNotice 

Used by the workers to notify client of shutdown.

kRecvError 

Error while reading from the socket.

Definition at line 28 of file MPCode.h.