MPEG CDVA Experimentation Model (CXM)  1.0
Compact Descriptors for Visual Analisys
Namespaces | Macros | Typedefs | Functions
base.h File Reference
#include "unistd.h"
#include "sys/types.h"
#include "ctype.h"
#include "stdio.h"
#include "stdlib.h"
#include "stdarg.h"
Include dependency graph for base.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 evx
 

Macros

#define EVX_PLATFORM_LINUX
 
#define __EVX_FUNCTION__   __func__
 
#define EVX_SUCCESS   (0)
 
#define EVX_ERROR_INVALIDARG   (1)
 
#define EVX_ERROR_NOTIMPL   (2)
 
#define EVX_ERROR_OUTOFMEMORY   (3)
 
#define EVX_ERROR_UNDEFINED   (4)
 
#define EVX_ERROR_HARDWAREFAIL   (5)
 
#define EVX_ERROR_INVALID_INDEX   (6)
 
#define EVX_ERROR_CAPACITY_LIMIT   (7)
 
#define EVX_ERROR_INVALID_RESOURCE   (8)
 
#define EVX_ERROR_OPERATION_TIMEDOUT   (9)
 
#define EVX_ERROR_EXECUTION_FAILURE   (10)
 
#define EVX_ERROR_PERMISSION_DENIED   (11)
 
#define EVX_ERROR_IO_FAILURE   (12)
 
#define EVX_ERROR_RESOURCE_UNREACHABLE   (13)
 
#define EVX_ERROR_SYSTEM_FAILURE   (14)
 
#define EVX_ERROR_NOT_READY   (15)
 
#define EVX_ERROR_OPERATION_COMPLETED   (16)
 
#define EVX_ERROR_RESOURCE_UNUSED   (17)
 
#define EVX_PARAM_CHECK   (0)
 
#define evx_err(fmt, ...)
 
#define evx_msg(fmt, ...)
 
#define EVX_ERROR_CREATE_STRING(x)   ((char *) #x)
 
#define evx_post_error(x)   post_error_i(x, EVX_ERROR_CREATE_STRING(x), __EVX_FUNCTION__, (char *) __FILE__, __LINE__)
 
#define EVX_DISABLE_COPY_AND_ASSIGN(type)
 

Typedefs

typedef int64_t evx::int64
 
typedef int32_t evx::int32
 
typedef int16_t evx::int16
 
typedef int8_t evx::int8
 
typedef u_int64_t evx::uint64
 
typedef u_int32_t evx::uint32
 
typedef u_int16_t evx::uint16
 
typedef u_int8_t evx::uint8
 
typedef float evx::float32
 
typedef double evx::float64
 
typedef wchar_t evx::wchar
 
typedef uint8 evx::evx_status
 

Functions

uint32 evx::post_error_i (uint8 error, const char *error_string, const char *function, const char *filename, uint32 line)
 

Macro Definition Documentation

◆ __EVX_FUNCTION__

#define __EVX_FUNCTION__   __func__

◆ EVX_DISABLE_COPY_AND_ASSIGN

#define EVX_DISABLE_COPY_AND_ASSIGN (   type)
Value:
type(const type &rvalue); \
type &operator = (const type &rvalue);

◆ evx_err

#define evx_err (   fmt,
  ... 
)

Referenced by evx::post_error_i().

◆ EVX_ERROR_CAPACITY_LIMIT

#define EVX_ERROR_CAPACITY_LIMIT   (7)

◆ EVX_ERROR_CREATE_STRING

#define EVX_ERROR_CREATE_STRING (   x)    ((char *) #x)

◆ EVX_ERROR_EXECUTION_FAILURE

#define EVX_ERROR_EXECUTION_FAILURE   (10)

◆ EVX_ERROR_HARDWAREFAIL

#define EVX_ERROR_HARDWAREFAIL   (5)

◆ EVX_ERROR_INVALID_INDEX

#define EVX_ERROR_INVALID_INDEX   (6)

◆ EVX_ERROR_INVALID_RESOURCE

#define EVX_ERROR_INVALID_RESOURCE   (8)

◆ EVX_ERROR_INVALIDARG

#define EVX_ERROR_INVALIDARG   (1)

◆ EVX_ERROR_IO_FAILURE

#define EVX_ERROR_IO_FAILURE   (12)

◆ EVX_ERROR_NOT_READY

#define EVX_ERROR_NOT_READY   (15)

◆ EVX_ERROR_NOTIMPL

#define EVX_ERROR_NOTIMPL   (2)

◆ EVX_ERROR_OPERATION_COMPLETED

#define EVX_ERROR_OPERATION_COMPLETED   (16)

◆ EVX_ERROR_OPERATION_TIMEDOUT

#define EVX_ERROR_OPERATION_TIMEDOUT   (9)

◆ EVX_ERROR_OUTOFMEMORY

#define EVX_ERROR_OUTOFMEMORY   (3)

◆ EVX_ERROR_PERMISSION_DENIED

#define EVX_ERROR_PERMISSION_DENIED   (11)

◆ EVX_ERROR_RESOURCE_UNREACHABLE

#define EVX_ERROR_RESOURCE_UNREACHABLE   (13)

◆ EVX_ERROR_RESOURCE_UNUSED

#define EVX_ERROR_RESOURCE_UNUSED   (17)

◆ EVX_ERROR_SYSTEM_FAILURE

#define EVX_ERROR_SYSTEM_FAILURE   (14)

◆ EVX_ERROR_UNDEFINED

#define EVX_ERROR_UNDEFINED   (4)

◆ evx_msg

#define evx_msg (   fmt,
  ... 
)

◆ EVX_PARAM_CHECK

#define EVX_PARAM_CHECK   (0)

◆ EVX_PLATFORM_LINUX

#define EVX_PLATFORM_LINUX

◆ evx_post_error

#define evx_post_error (   x)    post_error_i(x, EVX_ERROR_CREATE_STRING(x), __EVX_FUNCTION__, (char *) __FILE__, __LINE__)

◆ EVX_SUCCESS

#define EVX_SUCCESS   (0)