diff options
Diffstat (limited to 'trunk/TAO/tao/PortableServer/IdAssignmentStrategySystem.cpp')
-rw-r--r-- | trunk/TAO/tao/PortableServer/IdAssignmentStrategySystem.cpp | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/trunk/TAO/tao/PortableServer/IdAssignmentStrategySystem.cpp b/trunk/TAO/tao/PortableServer/IdAssignmentStrategySystem.cpp new file mode 100644 index 00000000000..d7775832e2c --- /dev/null +++ b/trunk/TAO/tao/PortableServer/IdAssignmentStrategySystem.cpp @@ -0,0 +1,44 @@ +// $Id$ + +#include "tao/PortableServer/IdAssignmentStrategySystem.h" + +ACE_RCSID (PortableServer, + Id_Assignment_Strategy, + "$Id$") + + +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + +namespace TAO +{ + namespace Portable_Server + { + char + IdAssignmentStrategySystem::id_assignment_key_type (void) const + { + return 'S'; + } + + bool + IdAssignmentStrategySystem::has_system_id (void) const + { + return true; + } + } +} + +TAO_END_VERSIONED_NAMESPACE_DECL + +ACE_FACTORY_NAMESPACE_DEFINE ( + ACE_Local_Service, + IdAssignmentStrategySystem, + TAO::Portable_Server::IdAssignmentStrategySystem) + +ACE_STATIC_SVC_DEFINE ( + IdAssignmentStrategySystem, + ACE_TEXT ("IdAssignmentStrategySystem"), + ACE_SVC_OBJ_T, + &ACE_SVC_NAME (IdAssignmentStrategySystem), + ACE_Service_Type::DELETE_THIS | ACE_Service_Type::DELETE_OBJ, + 0) + |