SpherePackingScenarioGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
AbstractSpherePacksGenerator.h
Go to the documentation of this file.
00001 #ifndef CCA_ABSTRACTSPHEREPACKSGENERATOR
00002 #define CCA_ABSTRACTSPHEREPACKSGENERATOR
00003 
00004 #ifdef CCA
00005 #include <string.h>
00006 #include <vector>
00007 #include <iostream>
00008 namespace cca {
00009   class AbstractSpherePacksGenerator ;
00010 }
00011 namespace cca {
00012 class SpherePacksInterface ;
00013 }
00014 class cca::AbstractSpherePacksGenerator{
00015 protected:
00016 std::string _path;
00017 cca::SpherePacksInterface* scicodevis;
00018 
00019 public:
00020 virtual ~AbstractSpherePacksGenerator();
00021 static void main_loop(int argc, char** argv);
00022 void checkForConnections();
00023 void checkForCalls();
00024 void checkForDispose();
00025 const bool isDisposed(std::string id) const;
00026 void connect(cca::SpherePacksInterface*);
00027 void disconnect(long long &portid);
00028 virtual void generate()=0;
00029 
00030 virtual void checkForAcks_generate();
00031 virtual void setNumberOfSpheres(const long long& numberOfSpheres)=0;
00032 
00033 virtual void checkForAcks_setNumberOfSpheres();
00034 virtual void selectAlgorithm(const long long& algorithmNumber)=0;
00035 
00036 virtual void checkForAcks_selectAlgorithm();
00037 
00038 
00039 };
00040 #endif 
00041 
00042 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines