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

vetProcess.cpp

Go to the documentation of this file.
00001 
00018 #include "vetProcess.h"
00019 
00020 
00021 
00022 vetProcess::vetProcess()
00023  {
00024 
00025         v_isMultiThreadingEnabled = VETDEF_MULITHREAD_ENABLED;
00026         v_MaxSimultaneousThread = VETDEF_THREADs_MAX;
00027 
00028         f_name = new char[64];
00029         f_description = new char[128];
00030 
00031         setName("Abstract Filter");
00032         setDescription("Abstract Class");
00033         setVersion(0.0);
00034  }
00035 
00036 vetProcess::~vetProcess()
00037  {
00038         delete f_name;
00039         delete f_description;
00040 
00041  }
00042 
00043 
00044 VETRESULT vetProcess::addFilter(vetFilter& aFilter)
00045  {
00046 
00047         return VETRET_OK;
00048  }
00049 
00050 VETRESULT vetProcess::removeFilter(vetFilter& oldFilter)
00051  {
00052 
00053         return VETRET_OK;
00054  }
00055 
00056 
00057 
00058 VETRESULT vetProcess::run()
00059  {
00060 
00061         return VETRET_OK;
00062  }
00063 
00064 VETRESULT vetProcess::runOnce()
00065  {
00066 
00067         if ( v_source == NULL )
00068                 return VETRET_ILLEGAL_USE;
00069 
00070 //      if ( v_out == NULL )
00071 //              return VETRET_ILLEGAL_USE;
00072 /*
00073         width = v_source->getWidth();
00074         height = v_source->getHeight();
00075 
00076         vetFrameCache vfc(width, height);
00077 
00078         (*v_source) >> vfc;
00079         (*v_out) << vfc;
00080 */
00081 
00082         return VETRET_OK;
00083  }
00084 
00085 

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