BaseTypedOutControl.cxx

Go to the documentation of this file.
00001 #include <CLAM/BaseTypedOutControl.hxx>
00002 #include <CLAM/Processing.hxx>
00003 
00004 namespace CLAM{
00005         BaseTypedOutControl::BaseTypedOutControl(const std::string &name, Processing * proc)
00006                 : mName(name)
00007                 , mProcessing(proc)
00008         {
00009                 if (proc) proc->RegisterTypedOutControl(this);
00010         }
00011         
00012         BaseTypedOutControl::~BaseTypedOutControl()
00013         {
00014                 if (mProcessing)
00015                         mProcessing->GetTypedOutControls().ProcessingInterface_Unregister(this);
00016         }
00017 }

Generated on Tue Aug 12 22:33:42 2008 for CLAM by  doxygen 1.5.5