public abstract class FactoryBase
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
protected int | 
m_Number
 Number of current RT-Component's instances. 
 | 
protected Properties | 
m_Profile
 Component profile 
 | 
| Constructor and Description | 
|---|
FactoryBase(Properties profile)
 Constructor 
 | 
| Modifier and Type | Method and Description | 
|---|---|
abstract RTObject_impl | 
create(Manager mgr)
 Create components 
 | 
abstract RTObject_impl | 
destroy(RTObject_impl comp)
 Destroy components 
 | 
int | 
number()
 Get the number of current instances 
 | 
Properties | 
profile()
 Get the component profile 
 | 
protected Properties m_Profile
protected int m_Number
public FactoryBase(Properties profile)
profile - 
   Component profilepublic abstract RTObject_impl create(Manager mgr)
Pure virtual function to create RT-Component's instances
mgr - 
   Manager objectpublic abstract RTObject_impl destroy(RTObject_impl comp)
Pure virtual function to destroy RT-Component's instances
comp - 
   The target RT-Component for destructionpublic Properties profile()
Get the component profile.
public int number()
Get the number of current RT-Component's instances.