AlphaBetaCreators.cpp

Provide vish with creators for the DataSource, DataFilter and DataSink modules. Also specify the types that can be connected to the modules.

See also:
Related: - Alpha.hpp - Beta.hpp - DataSource.hpp - DataFilter.hpp - DataSink.hpp
00001 #include "../alphabeta/DataSource.hpp"
00002 #include "../alphabeta/DataFilter.hpp"
00003 #include "../alphabeta/DataSink.hpp"
00004 
00005 #include <ocean/plankton/VCreator.hpp>
00006 
00007 
00020 using namespace AlphaBeta;
00021 using namespace Wizt;
00022 
00023 
00024 static Ref<VCreator<DataSource>                     > VDataSourceCreator("Tutorial/DataSource");
00025 static Ref<VCreator<DataFilter, AcceptList<Alpha> > > VDataFilterCreator("Tutorial/DataFilter");
00026 static Ref<VCreator<DataSink  , AcceptList<Beta > > > VDataSinkCreator  ("Tutorial/DataSink");
00027 
00028 
00029 VISH_INITIALIZER bool VISH_abcexample(VInitialization*VInit)
00030 {
00031         return VInit->IsCompatible();
00032 }
00033 

Generated on Thu Apr 2 18:58:47 2009 for VISHTutorial by  doxygen 1.4.7