00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef _GEDDEI_CONNECTION_H
00012 #define _GEDDEI_CONNECTION_H
00013
00014 #ifdef __GEDDEI_BUILD
00015 #include "signaltype.h"
00016 #include "signaltyperef.h"
00017 #else
00018 #include <geddei/signaltype.h>
00019 #include <geddei/signaltyperef.h>
00020 #endif
00021 using namespace Geddei;
00022
00023 namespace Geddei
00024 {
00025
00034 class Connection
00035 {
00036 protected:
00037 SignalType *theType;
00038
00039 public:
00045 virtual const SignalTypeRef type() = 0;
00046
00058 virtual void enforceMinimum(const uint elements) = 0;
00059
00063 Connection();
00064
00068 virtual ~Connection();
00069 };
00070
00071 }
00072
00073 #endif