torc::generic::Property::Factory Class Reference

#include <Property.hpp>

Inheritance diagram for torc::generic::Property::Factory:

Inheritance graph
[legend]
Collaboration diagram for torc::generic::Property::Factory:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual PropertySharedPtr newPropertyPtr (const std::string &inName, const PropertyContainerSharedPtr &inContainer, const Value &inValue, const Unit &inUnit=eUnitUndefined, const PropertySharedPtr &inParentProperty=PropertySharedPtr(), const std::string &inOriginalName=std::string()) throw (Error)


Detailed Description

Convenience class to create a property.

Definition at line 70 of file Property.hpp.


Member Function Documentation

PropertySharedPtr torc::generic::Property::Factory::newPropertyPtr ( const std::string &  inName,
const PropertyContainerSharedPtr &  inContainer,
const Value inValue,
const Unit inUnit = eUnitUndefined,
const PropertySharedPtr &  inParentProperty = PropertySharedPtr(),
const std::string &  inOriginalName = std::string() 
) throw (Error) [inline, virtual]

Create a property.

Parameters:
[in] inName Name of the property to be created.
[in] inContainer Pointer of the property container.
[in] inValue Value of the property.
[in] inUnit Unit of the property.
Returns:
Pointer to created property.
Create a property.

Parameters:
[in] inName Name of the property to be created.
[in] inContainer Pointer of the property container.
[in] inValue Value of the property.
[in] inUnit Unit of the property.
Returns:
Pointer to created property.

Definition at line 268 of file Property.hpp.


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

Generated on Thu Oct 13 16:50:20 2011 for TORC by  doxygen 1.5.6