
#include <learn/InterV__learn__intConnector.hpp>
#include <learn/ConnT__learn__intConnector.hpp>

InterV__learn__intConnector::InterV__learn__intConnector(const ConnT__learn__intConnector &connector, const Interaction& interaction, const vector<PortValue *> &values) :
        InteractionValue(),
        mInteraction(connector, interaction.ports()) {
    this->mPortValues.reserve(2);
    commonRecycle(interaction, values);
}


void InterV__learn__intConnector::commonRecycle(const Interaction& interaction, const vector<PortValue *> &values) {
	this->mPortValues.clear();
    for (vector<PortValue *>::const_iterator valueIt = values.begin() ;
         valueIt != values.end() ;
         ++valueIt) {
        this->mPortValues.push_back(*valueIt);
    }
}


InterV__learn__intConnector::~InterV__learn__intConnector(){
}


