// 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) );
}
// No more change allowed
mCanSet = false;
{
firsttime = false;
bbSetOutputOut( bbGetInputIn() );
- }
- }
+ } // if firsttime
+}
BBTK_ADD_BLACK_BOX_TO_PACKAGE(std,SharedMemory);
BBTK_BLACK_BOX_IMPLEMENTATION(SharedMemory,bbtk::AtomicBlackBox);