summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/examples/RtEC/IIOPGateway/EC.h
blob: b9f326327bcb6435abc4d8b59a30f3618fba7c45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/* -*- C++ -*- */
/**
 *  @file   EC.h
 *
 *  @author Carlos O'Ryan (coryan@cs.wustl.edu)
 *
 *  Event channel
 */

#ifndef EC_H
#define EC_H

#include "orbsvcs/RtecEventCommS.h"

#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */

/**
 * @class EC
 *
 * @brief Simple event channel
 */
class EC
{
public:
  /// Constructor
  EC (void);

  /// Run the test
  int run (int argc, ACE_TCHAR* argv[]);

private:
  int parse_args (int argc, ACE_TCHAR *argv[]);
};

#endif /* EC_H */