summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Notify/Notify_Constraint_Visitors.h
blob: 8a2eff65dadcdd77c00f42e0197c2794d09fb168 (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
40
41
42
43
/* -*- C++ -*- */
// $Id$
// ==========================================================================
//
// = LIBRARY
//   orbsvcs
//
// = FILENAME
//   Notify_Constraint_Visitors.h
//
// = DESCRIPTION
//
//
// = AUTHOR
//    Pradeep Gore <pradeep@cs.wustl.edu>
//
// ==========================================================================

#ifndef NOTIFY_CONSTRAINT_VISITORS_H
#define NOTIFY_CONSTRAINT_VISITORS_H
#include "ace/pre.h"

#include "ace/Hash_Map_Manager.h"
#include "orbsvcs/orbsvcs/Trader/Constraint_Visitors.h"
#include "orbsvcs/CosNotificationC.h"
#include "notify_export.h"

class TAO_Notify_Export TAO_Notify_Constraint_Evaluator : public TAO_Constraint_Evaluator
{
 public:
  TAO_Notify_Constraint_Evaluator (const CosNotification::StructuredEvent& s_event);
  // Constructor.

  virtual int visit_property (TAO_Property_Constraint* literal);

 private:
  ACE_Hash_Map_Manager <ACE_CString, const CORBA::Any*,
    ACE_SYNCH_MUTEX> property_lookup_;
  // Used to lookup property name and values
};

#include "ace/post.h"
#endif /* NOTIFY_CONSTRAINT_VISITORS_H */