#include <cca.h>
#include <stdPorts.h>           // for GoPort and other well-known ports.

#include "ParallelIntegrator_CCA.h"
#include "ParallelIntegrator_CCA_wrapper.h"
extern "C"
{

// We need a C wrapper to get dynamic loading to work.
// Here's our NULL constructor wrapped in C.
  gov::cca::Component * create_ParallelIntegrator ()
  {
    gov::cca::Component * wrapper;
    integrators::ccaimpl::ParallelIntegrator * component;
    component = new integrators::ccaimpl::ParallelIntegrator ();
    wrapper = dynamic_cast < gov::cca::Component * >(component);
    return wrapper;
  }
// See dccafe/cxx/dc/framework/ComponentFactory.h for details.
// More sophisticated repository interfaces would supplant this.
  char **getComponentList ()
  {
    static char *list[2];
    list[0] = "create_ParallelIntegrator ParallelIntegrator";
    list[1] = 0;
    return list;
  }
};