summaryrefslogtreecommitdiff
path: root/trunk/TAO/orbsvcs/tests/Notify/lib/Command_Factory.h
blob: 5101acad53fda4cfe20ae8dc3945a12e7a3fab2c (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
44
/* -*- C++ -*- */
/**
 *  @file Command_Factory.h
 *
 *  $Id$
 *
 *  @author Pradeep Gore <pradeep@oomworks.com>
 *
 *
 */

#ifndef TAO_Notify_Tests_COMMAND_FACTORY_H
#define TAO_Notify_Tests_COMMAND_FACTORY_H
#include /**/ "ace/pre.h"

#include "notify_test_export.h"

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

class TAO_Notify_Tests_Command;

/**
 * @class TAO_Notify_Tests_Command_Factory
 *
 * @brief Base class for Factory to create command objects.
 *
 */
class TAO_NOTIFY_TEST_Export TAO_Notify_Tests_Command_Factory
{
public:
  /// Constuctor
  TAO_Notify_Tests_Command_Factory (void);

  /// Destructor
  virtual ~TAO_Notify_Tests_Command_Factory ();

  /// Create the command.
  virtual TAO_Notify_Tests_Command* create (void) = 0;
};

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