X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fstd%2Fsrc%2FbbstdSharedMemory.cxx;h=ea3383e80f65d04e078790dae5171cca4ea8927b;hb=ab8b8af6ee0f8dc16f70cc2e2f9b724674208398;hp=5dfd30a6a03ee5c167766c123cd576990320da54;hpb=cfad6c728cd3ca29bc3f7be73e856a4f1295e9a1;p=bbtk.git diff --git a/packages/std/src/bbstdSharedMemory.cxx b/packages/std/src/bbstdSharedMemory.cxx index 5dfd30a..ea3383e 100644 --- a/packages/std/src/bbstdSharedMemory.cxx +++ b/packages/std/src/bbstdSharedMemory.cxx @@ -60,7 +60,8 @@ namespace bbstd // Get the name of the input which changed std::string input_name = c->GetConnection()->GetBlackBoxToInput(); // Set the output to the value of the input which changed - bbSetOutputOut( bbGetInput(input_name) ); + bbSetOutputOut( bbGetInput(input_name) ); + printf("EED SharedMemory::bbSetStatusAndPropagate input_name:%s \n",input_name.c_str() ); } // No more change allowed mCanSet = false; @@ -86,8 +87,8 @@ namespace bbstd { firsttime = false; bbSetOutputOut( bbGetInputIn() ); - } - } + } // if firsttime +} BBTK_ADD_BLACK_BOX_TO_PACKAGE(std,SharedMemory); BBTK_BLACK_BOX_IMPLEMENTATION(SharedMemory,bbtk::AtomicBlackBox);