Changes to attempt to silence bcc64x
[ACE_TAO.git] / TAO / orbsvcs / tests / Notify / lib / Factories_Define.h
blobd22bb52cfe8e202474af5f1b1cc69d65e21d08b5
1 /* -*- C++ -*- */
2 /**
3 * @file Factories_Define.h
5 * @author Pradeep Gore <pradeep@oomworks.com>
6 */
8 #ifndef TAO_FACTORIES_DEFINE_H
9 #define TAO_FACTORIES_DEFINE_H
10 #include /**/ "ace/pre.h"
12 #include "Command_Factory_T.h"
14 #define TAO_Notify_Tests_COMMAND_FACTORY_DEFINE(export, command, factory_name) \
16 typedef TAO_Notify_Tests_Command_Factory_T <command> command##_Factory;\
18 ACE_STATIC_SVC_DECLARE_EXPORT (export, command##_Factory) \
20 ACE_FACTORY_DECLARE (export, command##_Factory) \
22 ACE_STATIC_SVC_DEFINE(command##_Factory, \
23 factory_name, \
24 ACE_SVC_OBJ_T, \
25 &ACE_SVC_NAME (command##_Factory), \
26 ACE_Service_Type::DELETE_THIS | ACE_Service_Type::DELETE_OBJ, \
27 0) \
29 ACE_FACTORY_DEFINE (export, command##_Factory) \
33 #include /**/ "ace/post.h"
34 #endif /* TAO_FACTORIES_DEFINE_H */