blob: 81fe0850980247e03a59f9a6bf064f41b4d27afb (
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
|
// $Id$
// ========================================================================
//
// = FILE
// Simple_Dyanmic.h
//
// = DESCRIPTION
// Class that implements a really simple dynamic property.
//
// = AUTHOR
// Seth Widoff <sbw1@cs.wustl.edu>
//
// =======================================================================
#ifndef TAO_SIMPLE_DYNAMIC_H
#define TAO_SIMPLE_DYNAMIC_H
#include "orbsvcs/Trader/Trader_Utils.h"
template<class T>
class TAO_Simple_Dynamic_Property : public TAO_Dynamic_Property
{
public:
TAO_Simple_Dynamic_Property (const T& dp);
virtual CORBA::Any* evalDP (const char* /* name */,
CORBA::TypeCode_ptr /* returned_type */,
const CORBA::Any& /* extra_info */,
CORBA::Environment &)
ACE_THROW_SPEC ((CosTradingDynamic::DPEvalFailure));
private:
T dp_;
};
#if defined (ACE_TEMPLATES_REQUIRE_SOURCE)
#include "Simple_Dynamic.cpp"
#endif /* ACE_TEMPLATES_REQUIRE_SOURCE */
#endif /* TAO_SIMPLE_DYNAMIC_H */
|