OSB_CORBA::ProductPart_i Class Reference

Inheritance diagram for OSB_CORBA::ProductPart_i:

Inheritance graph
[legend]
Collaboration diagram for OSB_CORBA::ProductPart_i:

Collaboration graph
[legend]
List of all members.

Detailed Description

Servant for a read-only product part.

The class provides read locked access to the OSB library product node and item of the part.

Definition at line 225 of file productpart_i.h.

Public Member Functions

Protected Member Functions

Protected Attributes

Private Member Functions

Private Attributes


Constructor & Destructor Documentation

OSB_CORBA::ProductPart_i::ProductPart_i ( Product_i pd,
const NodeOid pnId,
const ItemOid piId 
)

Constructor for ProductPart_i.

This is the only contructor availabe for ProductPart_i. It only sets its private members. The product part is an abstract class which is a compound class from library product node and product item classes. In other words, the product part name is from product item name and product part mandatory from product node mandatory.

Parameters:
pd The reference to the OSB_CORBA::Product_i.
pnId The unique id of the product node.
piId The unique id of the product item.

virtual OSB_CORBA::ProductPart_i::~ProductPart_i (  )  [pure virtual]

Virtual empty destructor.


Member Function Documentation

virtual ItemOid OSB_CORBA::ProductPart_i::itemId (  )  const [virtual]

Get the OSB library product item id.

Implements OSB_CORBA::ProductPartBase_i.

virtual NodeRg OSB_CORBA::ProductPart_i::lockNode (  )  const [protected, virtual]

Lock the product node in the catalogue.

Uses the product catalogue lock manager to read lock the product node.

Returns:
A read guard that provides access to the OSB library product node.

Implements OSB_CORBA::ProductPartBase_i.

virtual NodeOid OSB_CORBA::ProductPart_i::nodeId (  )  const [virtual]

Get the OSB library product node id.

Implements OSB_CORBA::ProductPartBase_i.

virtual const Product_i& OSB_CORBA::ProductPart_i::productServant (  )  const [private, virtual]

Provide const access to the controlling product servant.

Implements OSB_CORBA::ProductPartBase_i.

virtual Product_i& OSB_CORBA::ProductPart_i::productServant (  )  [private, virtual]

Provide access to the controlling product servant.

Implements OSB_CORBA::ProductPartBase_i.


Member Data Documentation

const ItemOid OSB_CORBA::ProductPart_i::piId_ [protected]

Object id of the OSB library product item.

Definition at line 283 of file productpart_i.h.

const NodeOid OSB_CORBA::ProductPart_i::pnId_ [private]

Object id of the OSB library product node.

Definition at line 280 of file productpart_i.h.

Product_i& OSB_CORBA::ProductPart_i::prodi_ [private]

Reference to the controlling product servant.

Definition at line 278 of file productpart_i.h.


The documentation for this class was generated from the following file:
Generated on Sat Sep 2 14:29:00 2006 for OSB Library by  doxygen 1.4.7