Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / orbsvcs / tests / Notify / lib / Command_Factory.h
blob2465bc2c227b0bb8545e8c335629dcb604e5fd09
1 /* -*- C++ -*- */
2 /**
3 * @file Command_Factory.h
5 * @author Pradeep Gore <pradeep@oomworks.com>
6 */
8 #ifndef TAO_Notify_Tests_COMMAND_FACTORY_H
9 #define TAO_Notify_Tests_COMMAND_FACTORY_H
10 #include /**/ "ace/pre.h"
12 #include "notify_test_export.h"
14 #if !defined (ACE_LACKS_PRAGMA_ONCE)
15 # pragma once
16 #endif /* ACE_LACKS_PRAGMA_ONCE */
18 class TAO_Notify_Tests_Command;
20 /**
21 * @class TAO_Notify_Tests_Command_Factory
23 * @brief Base class for Factory to create command objects.
25 class TAO_NOTIFY_TEST_Export TAO_Notify_Tests_Command_Factory
27 public:
28 /// Constructor
29 TAO_Notify_Tests_Command_Factory ();
31 /// Destructor
32 virtual ~TAO_Notify_Tests_Command_Factory ();
34 /// Create the command.
35 virtual TAO_Notify_Tests_Command* create () = 0;
38 #include /**/ "ace/post.h"
39 #endif /* TAO_Notify_Tests_COMMAND_FACTORY_H */