1 #include "bbPackRecalageImageSwitcherBox.h"
2 #include "bbPackRecalagePackage.h"
3 namespace bbPackRecalage
5 MyTimer::MyTimer(ImageSwitcherBox *box): wxTimer()
14 void MyTimer::Notify()
17 _box->bbSignalOutputModification(std::string("Out"));
23 BBTK_ADD_BLACK_BOX_TO_PACKAGE(PackRecalage,ImageSwitcherBox)
24 BBTK_BLACK_BOX_IMPLEMENTATION(ImageSwitcherBox,bbtk::WxBlackBox);
25 void ImageSwitcherBox::Process()
27 time = bbGetInputTime();
31 myTimer = new MyTimer(this);
35 else if(oldTime != time && myTimer != NULL)
44 bbSetOutputOut(bbGetInputIn1());
49 bbSetOutputOut(bbGetInputIn2());
53 void ImageSwitcherBox::CreateWidget(wxWindow* parent)
55 bbSetOutputWidget( new wxButton ( parent , -1 , _T("Start/Stop Image Change") ) );
57 void ImageSwitcherBox::bbUserSetDefaultValues()
64 void ImageSwitcherBox::bbUserInitializeProcessing()
68 void ImageSwitcherBox::bbUserFinalizeProcessing()
74 // EO namespace bbPackRecalage