Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
core::pack::task::operation::ResLvlTaskOperationFactory Class Reference

#include <ResLvlTaskOperationFactory.hh>

Collaboration diagram for core::pack::task::operation::ResLvlTaskOperationFactory:
Collaboration graph
[legend]

Public Types

typedef std::map< std::string,
ResLvlTaskOperationCreatorOP
RLTOC_Map
 
typedef utility::tag::Tag Tag
 
typedef utility::tag::TagPtr TagPtr
 

Public Member Functions

void factory_register (ResLvlTaskOperationCreatorOP)
 
void add_creator (ResLvlTaskOperationCreatorOP)
 add a prototype, using its default type name as the map key More...
 
bool has_type (std::string const &) const
 
ResLvlTaskOperationOP newRLTO (std::string const &) const
 return new ResLvlTaskOperation by key lookup in rlto_map_ (new ResLvlTaskOperation parses Tag if provided) More...
 

Static Public Member Functions

static ResLvlTaskOperationFactoryget_instance ()
 

Private Member Functions

 ResLvlTaskOperationFactory ()
 
virtual ~ResLvlTaskOperationFactory ()
 

Private Attributes

RLTOC_Map rltoc_map_
 

Static Private Attributes

static ResLvlTaskOperationFactoryinstance_
 

Member Typedef Documentation

Constructor & Destructor Documentation

core::pack::task::operation::ResLvlTaskOperationFactory::ResLvlTaskOperationFactory ( )
private

Referenced by get_instance().

core::pack::task::operation::ResLvlTaskOperationFactory::~ResLvlTaskOperationFactory ( )
privatevirtual

Member Function Documentation

void core::pack::task::operation::ResLvlTaskOperationFactory::add_creator ( ResLvlTaskOperationCreatorOP  rltoc)

add a prototype, using its default type name as the map key

add a ResLvlTaskOperation prototype, using its default type name as the map key

References rltoc_map_.

Referenced by core::pack::task::operation::TaskOperationFactory::add_creator(), and factory_register().

void core::pack::task::operation::ResLvlTaskOperationFactory::factory_register ( ResLvlTaskOperationCreatorOP  creator)

References add_creator().

ResLvlTaskOperationFactory * core::pack::task::operation::ResLvlTaskOperationFactory::get_instance ( )
static
bool core::pack::task::operation::ResLvlTaskOperationFactory::has_type ( std::string const &  type) const

References rltoc_map_.

ResLvlTaskOperationOP core::pack::task::operation::ResLvlTaskOperationFactory::newRLTO ( std::string const &  type) const

return new ResLvlTaskOperation by key lookup in rlto_map_ (new ResLvlTaskOperation parses Tag if provided)

return new ResLvlTaskOperation by key lookup in rltoc_map_ (new ResLvlTaskOperation parses Tag if provided)

References rltoc_map_.

Member Data Documentation

ResLvlTaskOperationFactory * core::pack::task::operation::ResLvlTaskOperationFactory::instance_
staticprivate

Referenced by get_instance().

RLTOC_Map core::pack::task::operation::ResLvlTaskOperationFactory::rltoc_map_
private

Referenced by add_creator(), has_type(), and newRLTO().


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