00001 00011 #ifndef SIMPLEALLTOALLWIRINGMETHOD_H 00012 #define SIMPLEALLTOALLWIRINGMETHOD_H 00013 00014 #include <WiringMethod.h> 00015 00017 00020 class SimpleAllToAllWiringMethod : public WiringMethod { 00021 00022 public: 00023 SimpleAllToAllWiringMethod(SimNetwork *net) 00024 : WiringMethod(net) {} 00025 ; 00026 00027 SimpleAllToAllWiringMethod(SimNetwork &net) 00028 : WiringMethod(net) {} 00029 ; 00030 00031 virtual ~SimpleAllToAllWiringMethod() {} 00032 ; 00033 00034 virtual unsigned connect(const SimObjectPopulation &source, 00035 const SimObjectPopulation &destination, 00036 ConnectionIterator &iterator, 00037 bool collectPairs = false, 00038 WiringMethod::ConnectPairsVector connectPairs = 00039 WiringMethod::ConnectPairsVector(new vector< pair<SimObject::ID, 00040 SimObject::ID> >)); 00041 00042 virtual SimObject::ID::Vector connect(const SimObjectPopulation &source, 00043 const SimObjectPopulation &destination, 00044 const SimObjectFactory &connector, 00045 ConnectionIterator &iterator, 00046 bool collectIDs = false, 00047 bool collectPairs = false, 00048 WiringMethod::ConnectPairsVector connectPairs = 00049 WiringMethod::ConnectPairsVector(new vector< pair<SimObject::ID, 00050 SimObject::ID> >)); 00051 00052 virtual SimObject::ID::Vector connect(const SimObjectPopulation &source, 00053 const SimObjectPopulation &destination, 00054 ConnObjectFactory &connector, 00055 ConnectionIterator &iterator, 00056 bool collectIDs = false, 00057 bool collectPairs = false, 00058 WiringMethod::ConnectPairsVector connectPairs = 00059 WiringMethod::ConnectPairsVector(new vector< pair<SimObject::ID, 00060 SimObject::ID> >)); 00061 00062 }; 00063 00064 #endif