This is Unofficial EPICS BASE Doxygen Site
tcpSendWatchdog.h
Go to the documentation of this file.
1 /*************************************************************************\
2 * Copyright (c) 2002 The University of Chicago, as Operator of Argonne
3 * National Laboratory.
4 * Copyright (c) 2002 The Regents of the University of California, as
5 * Operator of Los Alamos National Laboratory.
6 * EPICS BASE is distributed subject to a Software License Agreement found
7 * in file LICENSE that is included with this distribution.
8 \*************************************************************************/
9 
10 /*
11  *
12  *
13  * L O S A L A M O S
14  * Los Alamos National Laboratory
15  * Los Alamos, New Mexico 87545
16  *
17  * Copyright, 1986, The Regents of the University of California.
18  *
19  *
20  * Author Jeffrey O. Hill
21  * johill@lanl.gov
22  * 505 665 1831
23  */
24 
25 #ifndef INC_tcpSendWatchdog_H
26 #define INC_tcpSendWatchdog_H
27 
28 #include "epicsTimer.h"
29 
30 #include "libCaAPI.h"
31 
32 class tcpSendWatchdog : private epicsTimerNotify {
33 public:
35  epicsMutex & cbMutex, cacContextNotify & ctxNotify,
36  epicsMutex & mutex, tcpiiu &,
37  double periodIn, epicsTimerQueue & queueIn );
38  virtual ~tcpSendWatchdog ();
39  void start ( const epicsTime & );
40  void cancel ();
41 private:
42  const double period;
43  epicsTimer & timer;
44  epicsMutex & cbMutex;
45  cacContextNotify & ctxNotify;
46  epicsMutex & mutex;
47  tcpiiu & iiu;
48  expireStatus expire ( const epicsTime & currentTime );
49  tcpSendWatchdog ( const tcpSendWatchdog & );
50  tcpSendWatchdog & operator = ( const tcpSendWatchdog & );
51 };
52 
53 #endif // #ifndef INC_tcpSendWatchdog_H
virtual ~tcpSendWatchdog()
void start(const epicsTime &)
tcpSendWatchdog(epicsMutex &cbMutex, cacContextNotify &ctxNotify, epicsMutex &mutex, tcpiiu &, double periodIn, epicsTimerQueue &queueIn)