Public Member Functions

TAO::Portable_Server::IdAssignmentStrategyFactoryImpl Class Reference

#include <IdAssignmentStrategyFactoryImpl.h>

Inheritance diagram for TAO::Portable_Server::IdAssignmentStrategyFactoryImpl:
Inheritance graph
[legend]
Collaboration diagram for TAO::Portable_Server::IdAssignmentStrategyFactoryImpl:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual IdAssignmentStrategycreate (::PortableServer::IdAssignmentPolicyValue value)
 Create a new servant retention strategy.
virtual void destroy (IdAssignmentStrategy *strategy)

Detailed Description

Definition at line 32 of file IdAssignmentStrategyFactoryImpl.h.


Member Function Documentation

IdAssignmentStrategy * TAO::Portable_Server::IdAssignmentStrategyFactoryImpl::create ( ::PortableServer::IdAssignmentPolicyValue  value  )  [virtual]

Create a new servant retention strategy.

Implements TAO::Portable_Server::IdAssignmentStrategyFactory.

Definition at line 6 of file IdAssignmentStrategyFactoryImpl.cpp.

               : IdAssignmentStrategyFactoryImpl.cpp 84281 2009-01-30 15:01:17Z wotte $")

TAO_BEGIN_VERSIONED_NAMESPACE_DECL

namespace TAO
{
  namespace Portable_Server
  {
    IdAssignmentStrategy *
    IdAssignmentStrategyFactoryImpl::create (
      ::PortableServer::IdAssignmentPolicyValue value)
    {
      IdAssignmentStrategy *strategy = 0;
      const char *strategy_name = 0;

      switch (value)
      {
        case ::PortableServer::SYSTEM_ID :
        {
          strategy_name = "IdAssignmentStrategySystem";
          break;
        }
        case ::PortableServer::USER_ID :
        {
          strategy_name = "IdAssignmentStrategyUser";
          break;
        }

void TAO::Portable_Server::IdAssignmentStrategyFactoryImpl::destroy ( IdAssignmentStrategy strategy  )  [virtual]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines