versadac  1
versadac - Scalable Recorder Firmware
pingUtility.h
1 /*****************************************************************************
2 FILE : ping.h
3 VERSION : $Id: pingUtility.h 4938 2006-10-10 14:20:18Z martinto $
4 AUTHOR : Karl Wakeham
5 SYSTEM : GNU C++ for Power PC
6 DESCRIPTION : Header file for the ping object
7 *****************************************************************************/
8 
9 #ifndef __PING_H
10 #define __PING_H
11 
12 #include "ENUM_PingStatus.h"
13 #include "OSTask.h"
14 #include "stdtypes.h"
15 
17 {
18  public:
19 
20  // Services
21  pingUtility();
22  virtual ~pingUtility();
23 
24  void runTask();
25  void initiateRequest(char* z_host);
26  int getStatus();
27 
28  private:
29 
30  int m_status;
31  string_100 m_host;
32 };
33 
34 #endif // PING_h
35 
Definition: ostask.h:16
Definition: pingUtility.h:16