3 * @file Factories_Define.h
5 * @author Pradeep Gore <pradeep@oomworks.com>
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, \
25 &ACE_SVC_NAME (command##_Factory), \
26 ACE_Service_Type::DELETE_THIS | ACE_Service_Type::DELETE_OBJ, \
29 ACE_FACTORY_DEFINE (export, command##_Factory) \
33 #include /**/ "ace/post.h"
34 #endif /* TAO_FACTORIES_DEFINE_H */