Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

baci::SmartPropertyPointer< T > Class Template Reference

#include <baciSmartPropertyPointer.h>

Inheritance diagram for baci::SmartPropertyPointer< T >:

Inheritance graph
[legend]
Collaboration diagram for baci::SmartPropertyPointer< T >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SmartPropertyPointer (CharacteristicComponentImpl *component_p)
 SmartPropertyPointer (T *prop, CharacteristicComponentImpl *component_p)
 ~SmartPropertyPointer ()
SmartPropertyPointer< T > * operator= (const T *)

Private Member Functions

 SmartPropertyPointer ()
void init ()

Private Attributes

CharacteristicComponentImplcomponent_mp
 The Characteristic Component that owns the property.

Detailed Description

template<class T>
class baci::SmartPropertyPointer< T >

The smart pointer for a property It is derived form the SmartServantProperty class to ensure to destroy the object when it is deleted.


Constructor & Destructor Documentation

template<class T>
baci::SmartPropertyPointer< T >::SmartPropertyPointer CharacteristicComponentImpl component_p  ) 
 

Constructor

*


*

template<class T>
baci::SmartPropertyPointer< T >::SmartPropertyPointer T *  prop,
CharacteristicComponentImpl component_p
 

Constructor

Parameters:
prop The pointer to the property
*

*

template<class T>
baci::SmartPropertyPointer< T >::~SmartPropertyPointer  ) 
 

Destructor *


*

template<class T>
baci::SmartPropertyPointer< T >::SmartPropertyPointer  )  [private]
 

Declared to inhibit the usage of the smart pointer without passing the component


Member Function Documentation

template<class T>
void baci::SmartPropertyPointer< T >::init  )  [private]
 

Add the characteristics of the property to the component It calls the addPropertyDesc method of the Characteristic Component

template<class T>
SmartPropertyPointer<T>* baci::SmartPropertyPointer< T >::operator= const T *   ) 
 

Redefine the equal operator initing adding the property to the descriptor struct of the Characteristic Component


Member Data Documentation

template<class T>
CharacteristicComponentImpl* baci::SmartPropertyPointer< T >::component_mp [private]
 

The Characteristic Component that owns the property.


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 02:37:21 2009 for ACS C++ API by doxygen 1.3.8