Main Page | Class Hierarchy | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages | Examples

vetDefs.h File Reference

This header contains VETLib shared definitions:. More...

Go to the source code of this file.

Defines

#define VETRET_OK   0
 Standard return codes are defined as pow of 2, so you may add result and still be able to extract each original error from the sum (15=8+4+2+1).
#define VETRET_PARAM_ERR   1
#define VETRET_INTERNAL_ERR   2
#define VETRET_ILLEGAL_USE   4
#define VETRET_DEPRECATED_ERR   8
#define VETRET_OK_DEPRECATED   16
#define VETRET_NOT_IMPLEMENTED   666
#define VETCLASS_TYPE_UNKNOWN   0
 Here we define main class types of VETLib objects, referrer is classType enumeration of main iterfaces (vetInput, vetFrame, ..).
#define VETCLASS_TYPE_OBJECT   10
#define VETCLASS_TYPE_EXCEPTION   20
#define VETCLASS_TYPE_FRAME   1000
#define VETCLASS_TYPE_BUFFER   2000
#define VETCLASS_TYPE_INPUT   4000
#define VETCLASS_TYPE_OUTPUT   8000
#define VETCLASS_TYPE_FILTER   1600
#define VETCLASS_TYPE_CODEC   3200
#define VETCLASS_TYPE_VISION   6400
#define INFO(x)   ;
#define DEBUG(x)   ;
#define DEBUGMSG(msg, x)   ;

Typedefs

typedef unsigned char uchar
 Short way to call unsigned char, useful with vetFrameT<>.
typedef int VETRESULT
 Standard return type for VETLib methods is defined as an integer, but in future it may be updated as a long, in your code you should define always VETRESULT, not int: Sample: VETRESULT myMethod() { return VETRET_OK; }.


Detailed Description

This header contains VETLib shared definitions:.

Version:
1.0.2
Date:
23/12/2005
Author:
Alessandro Polo
VETLib Framework 1.0.2 Copyright (C) Alessandro Polo 2006 http://www.ewgate.net/vetlib

Definition in file vetDefs.h.


Generated on Tue Jan 24 11:59:07 2006 for VETLib by  doxygen 1.4.4