Go to the documentation of this file.00001 #ifndef ROC_AbbFactory
00002 #define ROC_AbbFactory
00003
00004 #ifndef DABC_Factory
00005 #include "dabc/Factory.h"
00006 #endif
00007
00008 #ifndef ROC_Board
00009 #include "roc/Board.h"
00010 #endif
00011
00012 namespace roc {
00013
00014 class AbbFactory: public dabc::Factory,
00015 public base::BoardFactory {
00016 public:
00017
00018 AbbFactory(const char* name);
00019
00020 virtual dabc::Device* CreateDevice(const char* classname, const char* devname, dabc::Command cmd);
00021
00022 virtual dabc::Module* CreateModule(const char* classname, const char* modulename, dabc::Command cmd);
00023
00024
00025 virtual void ShowDebug(int lvl, const char* msg);
00026
00027 virtual bool IsFactoryFor(const char* url);
00028
00029 virtual base::Board* DoConnect(const char* name, base::ClientRole role);
00030
00031 virtual bool DoClose(base::Board* brd);
00032 };
00033
00034 }
00035
00036 #endif
00037