TAO
2.3.3
|
#include <Resource_Factory.h>
Public Member Functions | |
TAO_Protocol_Item (const ACE_CString &name) | |
~TAO_Protocol_Item (void) | |
const ACE_CString & | protocol_name (void) |
TAO_Protocol_Factory * | factory (void) |
Return a pointer to the protocol factory. More... | |
void | factory (TAO_Protocol_Factory *factory, int owner=0) |
Set the factory pointer's value. More... | |
Private Member Functions | |
TAO_Protocol_Item (const TAO_Protocol_Item &) | |
void | operator= (const TAO_Protocol_Item &) |
Private Attributes | |
ACE_CString | name_ |
Protocol factory name. More... | |
TAO_Protocol_Factory * | factory_ |
Pointer to factory object. More... | |
int | factory_owner_ |
Whether we own (and therefore have to delete) the factory object. More... | |
TAO_Protocol_Item::TAO_Protocol_Item | ( | const ACE_CString & | name | ) |
Creator method, the protocol name can only be set when the object is created.
TAO_Protocol_Item::~TAO_Protocol_Item | ( | void | ) |
Destructor that deallocates the factory object if the Protocol_Item retains ownership.
|
private |
TAO_Protocol_Factory * TAO_Protocol_Item::factory | ( | void | ) |
Return a pointer to the protocol factory.
void TAO_Protocol_Item::factory | ( | TAO_Protocol_Factory * | factory, |
int | owner = 0 |
||
) |
Set the factory pointer's value.
|
private |
const ACE_CString & TAO_Protocol_Item::protocol_name | ( | void | ) |
Return a reference to the character representation of the protocol factories name.
|
private |
Pointer to factory object.
|
private |
Whether we own (and therefore have to delete) the factory object.
|
private |
Protocol factory name.