summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/examples/RtEC/IIOPGateway/EC.h
blob: 2734de1dcd0ff19992bd7d4eec9ad628929cd3f5 (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
38
39
/* -*- C++ -*- */
/**
 *  @file   EC.h
 *
 *  $Id$
 *
 *  @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, char* argv[]);

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

#endif /* EC_H */