TAO  3.0.0
Public Member Functions | Private Member Functions | Private Attributes | List of all members
TAO_Protocol_Item Class Reference

#include <Resource_Factory.h>

Collaboration diagram for TAO_Protocol_Item:
Collaboration graph
[legend]

Public Member Functions

 TAO_Protocol_Item (const ACE_CString &name)
 
 ~TAO_Protocol_Item ()
 
const ACE_CStringprotocol_name ()
 
TAO_Protocol_Factoryfactory ()
 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 &)=delete
 
void operator= (const TAO_Protocol_Item &)=delete
 
 TAO_Protocol_Item (TAO_Protocol_Item &&)=delete
 
void operator= (TAO_Protocol_Item &&)=delete
 

Private Attributes

ACE_CString name_
 Protocol factory name. More...
 
TAO_Protocol_Factoryfactory_
 Pointer to factory object. More...
 
int factory_owner_
 Whether we own (and therefore have to delete) the factory object. More...
 

Constructor & Destructor Documentation

◆ TAO_Protocol_Item() [1/3]

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::~TAO_Protocol_Item ( )

Destructor that deallocates the factory object if the Protocol_Item retains ownership.

◆ TAO_Protocol_Item() [2/3]

TAO_Protocol_Item::TAO_Protocol_Item ( const TAO_Protocol_Item )
privatedelete

◆ TAO_Protocol_Item() [3/3]

TAO_Protocol_Item::TAO_Protocol_Item ( TAO_Protocol_Item &&  )
privatedelete

Member Function Documentation

◆ factory() [1/2]

TAO_Protocol_Factory * TAO_Protocol_Item::factory ( )

Return a pointer to the protocol factory.

◆ factory() [2/2]

void TAO_Protocol_Item::factory ( TAO_Protocol_Factory factory,
int  owner = 0 
)

Set the factory pointer's value.

◆ operator=() [1/2]

void TAO_Protocol_Item::operator= ( const TAO_Protocol_Item )
privatedelete

◆ operator=() [2/2]

void TAO_Protocol_Item::operator= ( TAO_Protocol_Item &&  )
privatedelete

◆ protocol_name()

const ACE_CString & TAO_Protocol_Item::protocol_name ( )

Return a reference to the character representation of the protocol factories name.

Member Data Documentation

◆ factory_

TAO_Protocol_Factory* TAO_Protocol_Item::factory_
private

Pointer to factory object.

◆ factory_owner_

int TAO_Protocol_Item::factory_owner_
private

Whether we own (and therefore have to delete) the factory object.

◆ name_

ACE_CString TAO_Protocol_Item::name_
private

Protocol factory name.


The documentation for this class was generated from the following files: