NSwarm::

Choose your operating system:

Windows

macOS

Linux

References

Module

SwarmInterface

Header

/Engine/Source/Editor/SwarmInterface/Public/SwarmDefines.h

Include

#include "SwarmDefines.h"

Syntax

namespace NSwarm
{
    enum
    {
        SWARM_SUCCESS                          = 0,
        SWARM_INVALID                          = -1,
        SWARM_ERROR_FILE_FOUND_NOT             = -2,
        SWARM_ERROR_NULL_POINTER               = -3,
        SWARM_ERROR_EXCEPTION                  = -4,
        SWARM_ERROR_INVALID_ARG                = -5,
        SWARM_ERROR_INVALID_ARG1               = -6,
        SWARM_ERROR_INVALID_ARG2               = -7,
        SWARM_ERROR_INVALID_ARG3               = -8,
        SWARM_ERROR_INVALID_ARG4               = -9,
        SWARM_ERROR_CHANNEL_NOT_FOUND          = -10,
        SWARM_ERROR_CHANNEL_NOT_READY          = -11,
        SWARM_ERROR_CHANNEL_IO_FAILED          = -12,
        SWARM_ERROR_CONNECTION_NOT_FOUND       = -13,
        SWARM_ERROR_JOB_NOT_FOUND              = -14,
        SWARM_ERROR_JOB                        = -15,
        SWARM_ERROR_CONNECTION_DISCONNECTED    = -16,
        SWARM_ERROR_AGENT_NOT_FOUND            = -17,
    }
}

Values

Name

Description

SWARM_SUCCESS

SWARM_INVALID

SWARM_ERROR_FILE_FOUND_NOT

SWARM_ERROR_NULL_POINTER

SWARM_ERROR_EXCEPTION

SWARM_ERROR_INVALID_ARG

SWARM_ERROR_INVALID_ARG1

SWARM_ERROR_INVALID_ARG2

SWARM_ERROR_INVALID_ARG3

SWARM_ERROR_INVALID_ARG4

SWARM_ERROR_CHANNEL_NOT_FOUND

SWARM_ERROR_CHANNEL_NOT_READY

SWARM_ERROR_CHANNEL_IO_FAILED

SWARM_ERROR_CONNECTION_NOT_FOUND

SWARM_ERROR_JOB_NOT_FOUND

SWARM_ERROR_JOB

SWARM_ERROR_CONNECTION_DISCONNECTED

SWARM_ERROR_AGENT_NOT_FOUND