Overview     Modules     Class Hierarchy     Classes     Members  

Interface for sizes plug-ins. More...

#include <SizeAlgorithm.h>

Inheritance diagram for tlp::SizeAlgorithm:
Collaboration diagram for tlp::SizeAlgorithm:

List of all members.

Public Member Functions

virtual ~SizeAlgorithm ()
- Public Member Functions inherited from tlp::Algorithm
 Algorithm (const AlgorithmContext &context)
 Constructs an algorithm and initializes members from the AlgorithmContext.
virtual ~Algorithm ()
virtual bool run ()
 Runs the algorithm on the context that was specified during construction.
virtual bool check (std::string &)
 Checks if the algorithm can run on the context it was given.
- Public Member Functions inherited from tlp::WithParameter
const
tlp::ParameterDescriptionList
getParameters ()
 Retrieves the parameters.
template<typename T >
void addInParameter (const char *str, const char *inHelp=0, const char *inDefValue=0, bool isMandatory=true)
 Adds an IN parameter to the plug-in.
template<typename T >
void addOutParameter (const char *str, const char *inHelp=0, const char *inDefValue=0, bool isMandatory=true)
 Adds an OUT parameter to the plug-in.
template<typename T >
void addInOutParameter (const char *str, const char *inHelp=0, const char *inDefValue=0, bool isMandatory=true)
 Adds an INOUT parameter to the plug-in.
template<typename T >
void addParameter (const char *parameterName, const char *help=NULL, const char *defaultValue=NULL, bool isMandatory=true)
 Adds an IN parameter to the plug-in (deprecated)
- Public Member Functions inherited from tlp::WithDependency
std::list< DependencygetDependencies ()
 Gets the list of Dependencies of this plug-in.
template<typename Ty >
void addDependency (const char *name, const char *release)
 Adds a dependency upon another plug-in. The parameters should be null-terminated strings, or NULL.

Public Attributes

SizePropertysizeResult
- Public Attributes inherited from tlp::Algorithm
Graphgraph
 The graph this algorithm will be run on. Retrieved from the context at construction.
PluginProgresspluginProgress
 A PluginProgress to give feedback to the user, retrieved from the context. It can be a NULL pointer, so use with caution.
DataSetdataSet
 A DataSet containing parameters for this algorithm, if any. Retrieved from the context at construction.

Protected Member Functions

 SizeAlgorithm (const AlgorithmContext &context)

Friends

class SizeProperty

Detailed Description

Interface for sizes plug-ins.


Constructor & Destructor Documentation

virtual tlp::SizeAlgorithm::~SizeAlgorithm ( )
inlinevirtual
tlp::SizeAlgorithm::SizeAlgorithm ( const AlgorithmContext context)
protected

Friends And Related Function Documentation

friend class SizeProperty
friend

Member Data Documentation

SizeProperty* tlp::SizeAlgorithm::sizeResult


Tulip Software by LaBRI Visualization Team    2001 - 2012