1 #include "bbPackRecalageImageSwitcherBox.h"
2 #include "bbPackRecalagePackage.h"
3 namespace bbPackRecalage
5 MyTimer::MyTimer(ImageSwitcherBox *box): wxTimer()
14 void MyTimer::Notify()
21 BBTK_ADD_BLACK_BOX_TO_PACKAGE(PackRecalage,ImageSwitcherBox)
22 BBTK_BLACK_BOX_IMPLEMENTATION(ImageSwitcherBox,bbtk::WxBlackBox);
23 void ImageSwitcherBox::Process()
25 time = bbGetInputTime();
29 myTimer = new MyTimer(this);
33 else if(oldTime != time)
41 bbSetOutputOut(bbGetInputIn1());
46 bbSetOutputOut(bbGetInputIn2());
50 void ImageSwitcherBox::CreateWidget(wxWindow* parent)
52 bbSetOutputWidget( new wxButton ( parent , -1 , _T("Start/Stop Image Change") ) );
54 void ImageSwitcherBox::bbUserSetDefaultValues()
61 void ImageSwitcherBox::bbUserInitializeProcessing()
65 void ImageSwitcherBox::bbUserFinalizeProcessing()
71 // EO namespace bbPackRecalage