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

vetObject Class Reference

An abrstract, base, class designed for many VETLib's objects, currently it just defines some methods. More...

#include <vetObject.h>

Inheritance diagram for vetObject:

vetCodec vetFilter vetProcess vetVision vetCodec_BMP vetCodec_BMP vetCodec_IMG vetCodec_MOV vetCodec_MPEG vetCodec_XVID vetDigitalFilter vetFilterColor vetFilterGeometric vetFilterNoiseChannel vetMultiplexer vetMotionIlluminationInvariant vetMotionLame

Public Types

enum  
 Ignore this, it's a class-type definition, mostly used by VETLib WorkShop, sintax is a bit more complex than usual because of a VC6 BUG, it's the same as: const int vetClassType = VETCLASS_TYPE_OBJECT;.

Public Member Functions

 vetObject ()
 Default public constructor.
virtual ~vetObject ()
 Destructor currenly clear only filters description strings.
char * getName () const
 Get Filter's name.
char * getDescription () const
 Get Filter's description.
double getVersion () const
 Get Filter's version.
void * getPointer ()

Protected Member Functions

void setName (const char *myName)
 Set Filter's name. Protected so only inherited classes can update their name.
void setDescription (const char *myDesc)
 Set Filter's description. Protected so only inherited classes can update their name.
void setVersion (const double myVersion)
 Set Filter's version. Protected so only inherited classes can update their name.

Protected Attributes

char * f_name
char * f_description
double f_version

Detailed Description

An abrstract, base, class designed for many VETLib's objects, currently it just defines some methods.

Bug:
Warning:
Todo:
See also:
Version:
1.0.2
Date:
18/09/2005
Author:
Alessandro Polo
VETLib Framework 1.0.2 Copyright (C) Alessandro Polo 2006 http://www.ewgate.net/vetlib

Definition at line 37 of file vetObject.h.


Constructor & Destructor Documentation

vetObject::vetObject  ) 
 

Default public constructor.

Parameters:
fps Frame per second value, default is 0, the max input+processing rate.

Definition at line 29 of file vetObject.cpp.

References f_description, f_name, setDescription(), setName(), and setVersion().


Member Function Documentation

char* vetObject::getDescription  )  const [inline]
 

Get Filter's description.

Returns:
a (null terminated) string (max lenght 128).
See also:
f_description

Definition at line 124 of file vetObject.h.

References f_description.

char* vetObject::getName  )  const [inline]
 

Get Filter's name.

Returns:
a (null terminated) string (max lenght 64).
See also:
f_name

Definition at line 116 of file vetObject.h.

References f_name.

double vetObject::getVersion  )  const [inline]
 

Get Filter's version.

Returns:
current version as a floating point value.
See also:
f_version

Definition at line 132 of file vetObject.h.

References f_version.

void vetObject::setDescription const char *  myDesc  )  [protected]
 

Set Filter's description. Protected so only inherited classes can update their name.

Parameters:
myDesc a (null terminated) string (max lenght 128).
See also:
f_description

Definition at line 69 of file vetObject.cpp.

References f_description.

Referenced by vetMultiplexer::reset(), vetMotionLame::reset(), vetMotionIlluminationInvariant::reset(), vetCodec_XVID::reset(), vetCodec_MPEG::reset(), vetCodec_MOV::reset(), vetCodec_IMG::reset(), vetCodec_BMP::reset(), vetDigitalFilter::vetDigitalFilter(), vetFilter::vetFilter(), vetFilterColor::vetFilterColor(), vetFilterGeometric::vetFilterGeometric(), vetFilterNoiseChannel::vetFilterNoiseChannel(), vetObject(), vetProcess::vetProcess(), and vetVision::vetVision().

void vetObject::setName const char *  myName  )  [protected]
 

Set Filter's name. Protected so only inherited classes can update their name.

Parameters:
myName a (null terminated) string (max lenght 64).
See also:
f_name

Definition at line 56 of file vetObject.cpp.

References f_name.

Referenced by vetMultiplexer::reset(), vetMotionLame::reset(), vetMotionIlluminationInvariant::reset(), vetCodec_XVID::reset(), vetCodec_MPEG::reset(), vetCodec_IMG::reset(), vetCodec_BMP::reset(), vetDigitalFilter::vetDigitalFilter(), vetFilter::vetFilter(), vetFilterColor::vetFilterColor(), vetFilterGeometric::vetFilterGeometric(), vetFilterNoiseChannel::vetFilterNoiseChannel(), vetObject(), vetProcess::vetProcess(), and vetVision::vetVision().

void vetObject::setVersion const double  myVersion  )  [protected]
 

Set Filter's version. Protected so only inherited classes can update their name.

Parameters:
myVersion version number.
See also:
f_version

Definition at line 81 of file vetObject.cpp.

References f_version.

Referenced by vetMultiplexer::reset(), vetMotionLame::reset(), vetMotionIlluminationInvariant::reset(), vetCodec_XVID::reset(), vetCodec_MPEG::reset(), vetCodec_MOV::reset(), vetCodec_IMG::reset(), vetCodec_BMP::reset(), vetDigitalFilter::vetDigitalFilter(), vetFilter::vetFilter(), vetFilterColor::vetFilterColor(), vetFilterGeometric::vetFilterGeometric(), vetFilterNoiseChannel::vetFilterNoiseChannel(), vetObject(), vetProcess::vetProcess(), and vetVision::vetVision().


The documentation for this class was generated from the following files:
Generated on Tue Jan 24 11:59:42 2006 for VETLib by  doxygen 1.4.4