fdhwlib  2.0.25
/home/kopmann/git-mirror/fdhwlib/fdhwlib/Hw/IRhandlerSock.h
Go to the documentation of this file.
00001 /***************************************************************************
00002     IRhandlerSock.h  -  description
00003 
00004     begin                : Tue Nov 21 2000
00005     copyright            : (C) 2000 by A Kopmann
00006     email                : kopmann@hpe.fzk.de
00007     status               :
00008     test                 :
00009     history              :
00010  ***************************************************************************/
00011 
00012 #ifndef _INC_IR_HANDLER_38563E480220_INCLUDED
00013 #define _INC_IR_HANDLER_38563E480220_INCLUDED
00014 
00015 // IR dispatcher for the FD mirror electronic
00016 // hpe, june 2000 (ak)
00017 //
00018 // Goal: There is only one IR + one IR vector, therefore
00019 // we have to provide a master process, that reads the IR vector
00020 // and informs all the other interested processes
00021 //
00022 // History:
00023 // 20 june 2000 First version trying to emulate a real software
00024 //              IR with a couple of semaphores...
00025 
00026 
00027 #include <cstdio>
00028 #include <cstdlib>
00029 
00030 #include <akutil/procDuration.h>
00031 
00032 #include <akutil/simplesocket.h>
00033 
00040 //##ModelId=3991397D0290
00041 class IRhandlerSock: public SimpleSocket {
00042 
00043 public:
00044         //##ModelId=3991397D0330
00045    IRhandlerSock();
00046 
00047         //##ModelId=3991397D0326
00048    ~IRhandlerSock();
00049 
00050         //##ModelId=3991397D0345
00051    int waitForNxPg();
00052 
00053    // this is only a template for others
00054         //##ModelId=3991397D0344
00055    int waitForError(); // in fact there are more than one sources...
00056 
00057 
00058 private:
00059 
00060 
00061 };
00062 
00063 #endif
00064 
00065