SObjectizer  5.7
so_5::dereg_reason Namespace Reference

Enumeration of cooperation deregistration reasons. More...

Variables

Cooperation deregistration reasons.
const int normal = 0
 Normal deregistration. More...
 
const int shutdown = 1
 Deregistration because SObjectizer Environment shutdown. More...
 
const int parent_deregistration = 2
 Deregistration because parent cooperation deregistration. More...
 
const int unhandled_exception = 3
 Deregistration because of unhandled exception. More...
 
const int unknown_error = 4
 Deregistration because of unknown error. More...
 
const int undefined = -1
 Reason is not properly defined. More...
 
const int user_defined_reason = 0x1000
 A starting point for user-defined reasons. More...
 

Detailed Description

Enumeration of cooperation deregistration reasons.

Since
v.5.2.3

Variable Documentation

◆ normal

const int so_5::dereg_reason::normal = 0

◆ parent_deregistration

const int so_5::dereg_reason::parent_deregistration = 2

Deregistration because parent cooperation deregistration.

◆ shutdown

const int so_5::dereg_reason::shutdown = 1

Deregistration because SObjectizer Environment shutdown.

Examples:
so_5/custom_work_thread_factory/main.cpp, so_5/default_message_limits/main.cpp, and so_5/make_pipeline/main.cpp.

◆ undefined

const int so_5::dereg_reason::undefined = -1

Reason is not properly defined.

◆ unhandled_exception

const int so_5::dereg_reason::unhandled_exception = 3

Deregistration because of unhandled exception.

◆ unknown_error

const int so_5::dereg_reason::unknown_error = 4

Deregistration because of unknown error.

◆ user_defined_reason

const int so_5::dereg_reason::user_defined_reason = 0x1000

A starting point for user-defined reasons.