summaryrefslogtreecommitdiff
path: root/ACEXML/compass/Service.h
blob: b2e3db4226d97378d468df8a42f36e691d00be46 (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
// $Id$

#ifndef SERVICE_H
#define SERVICE_H

#include "orbsvcs/RtecEventCommS.h"
#include "orbsvcs/Event/EC_Event_Channel.h"
#include "orbsvcs/Event/EC_Default_Factory.h"
#include "orbsvcs/CosNamingS.h"
#include "orbsvcs/Naming/Naming_Utils.h"

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

class Service
{
  // = TITLE
  //   Simple consumer object
  //
  // = DESCRIPTION
  //   This class is a consumer of events.
  //   It simply registers for one event type.
  //
public:
  Service (void);
  // Constructor

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

private:
  CORBA::ORB_ptr orb_;
};

#endif /* CONSUMER_H */