namespace bbstd
{
- void MagicBox::bbComputePostProcessStatus()
- {
- AtomicBlackBox::bbComputePostProcessStatus();
-
+void MagicBox::bbComputePostProcessStatus() // Virtual
+{
+ AtomicBlackBox::bbComputePostProcessStatus();
if (bbGetInputActive()==false)
{
// Update the output statuses
OutputConnectorMapType::iterator o;
for ( o = bbGetOutputConnectorMap().begin(); o!= bbGetOutputConnectorMap().end(); ++o)
{
- o->second->SetStatus(new_output_status);
+ o->second->SetStatus( new_output_status );
} // for o
} // if
+}
- }
-
-
- void MagicBox::bbUserSetDefaultValues()
- {
- bbSetInputActive(true);
- }
+void MagicBox::bbUserSetDefaultValues()
+{
+ bbSetInputActive(true);
+}
- void MagicBox::bbUserInitializeProcessing()
- {
- }
+void MagicBox::bbUserInitializeProcessing()
+{
+}
- void MagicBox::bbUserFinalizeProcessing()
- {
- }
+void MagicBox::bbUserFinalizeProcessing()
+{
+}
- void MagicBox::DoProcess()
- {
- if (bbGetInputActive()==true)
+void MagicBox::DoProcess()
+{
+ if (bbGetInputActive()==true)
{
bbSetOutputOut( bbGetInputIn() );
- } // Active
- }
+ } // if Active
+}
- BBTK_ADD_BLACK_BOX_TO_PACKAGE(std,MagicBox);
- BBTK_BLACK_BOX_IMPLEMENTATION(MagicBox,bbtk::AtomicBlackBox);
+BBTK_ADD_BLACK_BOX_TO_PACKAGE(std,MagicBox);
+BBTK_BLACK_BOX_IMPLEMENTATION(MagicBox,bbtk::AtomicBlackBox);
-}
-// EO namespace bbstd
+} // EO namespace bbstd