#include <IdAssignmentStrategy.h>
Inheritance diagram for TAO::Portable_Server::IdAssignmentStrategy:
Public Member Functions | |
virtual void | strategy_init (TAO_Root_POA *poa) |
virtual void | strategy_cleanup (void) |
virtual char | id_assignment_key_type (void) const =0 |
char | key_type_length (void) const |
void | create_key (CORBA::Octet *buffer, CORBA::ULong &starting_at) |
virtual bool | has_system_id (void) const =0 |
Definition at line 31 of file IdAssignmentStrategy.h.
void TAO::Portable_Server::IdAssignmentStrategy::create_key | ( | CORBA::Octet * | buffer, | |
CORBA::ULong & | starting_at | |||
) |
Definition at line 33 of file IdAssignmentStrategy.cpp.
References key_type_length().
00036 { 00037 // Copy the system id byte. 00038 buffer[starting_at] = (CORBA::Octet) this->id_assignment_key_type (); 00039 starting_at += this->key_type_length (); 00040 }
virtual bool TAO::Portable_Server::IdAssignmentStrategy::has_system_id | ( | void | ) | const [pure virtual] |
virtual char TAO::Portable_Server::IdAssignmentStrategy::id_assignment_key_type | ( | void | ) | const [pure virtual] |
Returns the key type the says which specific policy we have
Implemented in TAO::Portable_Server::IdAssignmentStrategySystem, and TAO::Portable_Server::IdAssignmentStrategyUser.
char TAO::Portable_Server::IdAssignmentStrategy::key_type_length | ( | void | ) | const |
Returns the length of the id_assignment type
Definition at line 27 of file IdAssignmentStrategy.cpp.
Referenced by create_key().
void TAO::Portable_Server::IdAssignmentStrategy::strategy_cleanup | ( | void | ) | [virtual] |
Implements TAO::Portable_Server::Policy_Strategy.
Definition at line 22 of file IdAssignmentStrategy.cpp.
void TAO::Portable_Server::IdAssignmentStrategy::strategy_init | ( | TAO_Root_POA * | poa | ) | [virtual] |
Implements TAO::Portable_Server::Policy_Strategy.
Definition at line 17 of file IdAssignmentStrategy.cpp.