//=========================================================================
GBlackBoxModel::GBlackBoxModel()
{
+ _isExecutable = false;
}
//=========================================================================
}
//=========================================================================
-
std::string GBlackBoxModel::getBBTKPackage()
{
//=========================================================================
+ bool GBlackBoxModel::isExecutable()
+ {
+ return _isExecutable;
+ }
+
+ //=========================================================================
+
+ void GBlackBoxModel::setExecutable(bool executable)
+ {
+ _isExecutable = executable;
+ }
+
+ //=========================================================================
+
std::string GBlackBoxModel::getStatusText()
{
std::string temp = "";
//=========================================================================
+ std::vector<GPortModel*> GBlackBoxModel::getInputPorts()
+ {
+ return _inputs;
+ }
+
+ //=========================================================================
+
+ std::vector<GPortModel*> GBlackBoxModel::getOutputPorts()
+ {
+ return _outputs;
+ }
+
+ //=========================================================================
+
+ void GBlackBoxModel::setValueToInputPort(int pos,std::string value)
+ {
+ _inputs[pos]->setValue(value);
+ }
+
+ //=========================================================================
+
} // EO namespace bbtk