void MyTimer::Notify()
{
_box->Process();
+ _box->bbSignalOutputModification(std::string("Out"));
}
+
BBTK_ADD_BLACK_BOX_TO_PACKAGE(PackRecalage,ImageSwitcherBox)
myTimer->Start(time);
oldTime = time;
}
- else if(oldTime != time)
+ else if(oldTime != time && myTimer != NULL)
{
+ myTimer->Stop();
myTimer->Start(time);
oldTime = time;
}
{
myTimer = NULL;
change = false;
- time = -1;
- oldTime = -1;
+ time = 500;
+ oldTime = 500;
}
void ImageSwitcherBox::bbUserInitializeProcessing()
{