TarzaNN
TarzaNN neural network simulator
|
00001 #ifndef NODEABSTRACT_H_INCLUDED 00002 #define NODEABSTRACT_H_INCLUDED 00003 00004 #include "nowarn.h" 00005 #include <list> 00006 using namespace std; 00007 00008 #include <stdio.h> 00009 #include "common.h" 00010 00011 class FeaturePlaneAbstract; 00012 00017 class NodeAbstract { 00018 public: 00019 virtual void printType()=0; 00020 virtual bool isLocal()=0; 00021 private: 00022 00024 list<FeaturePlaneAbstract*> featurePlanes; 00025 }; 00026 00027 typedef struct ProxyInfo{ 00028 QString host; 00029 int port; 00030 int id; 00031 NodeAbstract* node; 00032 }ProxyInfo; 00033 00034 typedef ProxyInfo* p_ProxyInfo; 00035 00036 typedef QMap<QString, p_ProxyInfo> FPNodes; 00037 00038 #endif //NODEABSTRACT_H_INCLUDED