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.
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.
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.
virtual ItemOid OSB_CORBA::ProductPart_i::itemId | ( | ) | const [virtual] |
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.
Implements OSB_CORBA::ProductPartBase_i.
virtual NodeOid OSB_CORBA::ProductPart_i::nodeId | ( | ) | const [virtual] |
virtual const Product_i& OSB_CORBA::ProductPart_i::productServant | ( | ) | const [private, virtual] |
virtual Product_i& OSB_CORBA::ProductPart_i::productServant | ( | ) | [private, virtual] |
const ItemOid OSB_CORBA::ProductPart_i::piId_ [protected] |
const NodeOid OSB_CORBA::ProductPart_i::pnId_ [private] |
Product_i& OSB_CORBA::ProductPart_i::prodi_ [private] |