00001 #ifndef CMPBOX_H_SEEN
00002 #define CMPBOX_H_SEEN
00003
00004
00005 #include <string>
00006
00007 namespace ccafe {
00008
00015 class CmpBox {
00016 private:
00017
00018 public:
00019 CmpBox(ccafeopq::Component * comp, Gizzard *giz, const std::string & name) ;
00020 CmpBox(Gizzard *giz, const std::string & name) ;
00021 CmpBox();
00022 virtual ~CmpBox();
00023 void setType(const std::string & type, bool internal);
00024 const char *name() { return cname.c_str(); }
00025 const char *type() { return ctype.c_str(); }
00026
00027
00028
00029 Gizzard *giz;
00030 ccafeopq::Component * comp;
00031 std::string cname;
00032 std::string ctype;
00033 bool internal;
00034
00035
00036 };
00037
00038 typedef ::boost::shared_ptr< CmpBox > CmpBox_shared;
00039
00040 } ENDSEMI
00041
00042
00043 #endif // CMPBOX_H_SEEN