bbtkError("The input \""<<input<<"\" of the box \""<<to->bbGetName()
<<"\" is already connected");
}
-
+
+
+ //EED2021-09-06 dlopen flags for == != -> bbtkDynamicLibraryHandling.h
+
// std::string t1 ( from->bbGetOutputType(output).name() );
// std::string t2 ( to->bbGetInputType(input).name() );
- // if //( t1 != t2 )
- if ( from->bbGetOutputType(output) !=
- to->bbGetInputType(input) )
+ // if //( t1 != t2 )
+ if ( from->bbGetOutputType(output) != to->bbGetInputType(input) )
{
if ( from->bbGetOutputType(output) == typeid(Data) )
{
<<"' will be resolved at run time"
);
mFromAny = true;
- }
- else if ( to->bbGetInputType(input) == typeid(Data) )
- {
+ } else if ( to->bbGetInputType(input) == typeid(Data) ) {
bbtkDebugMessage("kernel",8," -> '"<<input<<"' type is "
<<TypeName<Data>()<<" : can receive any data"
<<std::endl);
mToAny = true;
- }
- else
- {
+ } else {
// std::cout << "Adaptive connection "<<std::endl;
std::string name;
name = from->bbGetName() + "." + output + "-"
}
- mFrom = from;
- mOriginalFrom = from;
- mTo = to;
- mOriginalTo = to;
- mInput = mOriginalInput = input;
- mOutput = mOriginalOutput = output;
+ mFrom = from;
+ mOriginalFrom = from;
+ mTo = to;
+ mOriginalTo = to;
+ mInput = mOriginalInput = input;
+ mOutput = mOriginalOutput = output;
// Lock this pointer !!!
//Pointer p = MakePointer(this,true);
// LG : Connection Update does not set mTo as modified
mTo->bbSetInput(mInput, mFrom->bbGetOutput(mOutput),false);
}
-
}
//==================================================================