![]() |
Rosetta Protocols
2014.16.56682
|
#include <GridFactory.hh>
Public Types | |
| typedef std::map< std::string, GridCreatorOP > | GridMap |
| typedef utility::tag::Tag | Tag |
| typedef utility::tag::TagCOP | TagCOP |
Public Member Functions | |
| virtual | ~GridFactory () |
| void | factory_register (GridCreatorOP creator) |
| add a Grid prototype, using it's default type name as the map key More... | |
| GridBaseOP | new_grid (utility::tag::TagCOP tag) const |
| create Grid given grid tag More... | |
| GridBaseOP | new_grid (utility::json_spirit::mObject data) const |
| create Grid given a serialized grid object More... | |
Static Public Member Functions | |
| static GridFactory * | get_instance () |
| static function to get the instance of ( pointer to) this singleton class More... | |
Private Member Functions | |
| GridFactory () | |
| GridFactory (GridFactory const &) | |
| GridFactory const & | operator= (GridFactory const &) |
Static Private Member Functions | |
| static GridFactory * | create_singleton_instance () |
| private singleton creation function to be used with utility::thread::threadsafe_singleton More... | |
Private Attributes | |
| GridMap | grid_creator_map_ |
Static Private Attributes | |
| static GridFactory * | instance_ |
|
virtual |
|
private |
References grid_creator_map_.
Referenced by create_singleton_instance().
|
private |
|
staticprivate |
private singleton creation function to be used with utility::thread::threadsafe_singleton
References GridFactory().
Referenced by get_instance().
| void protocols::qsar::scoring_grid::GridFactory::factory_register | ( | GridCreatorOP | creator | ) |
add a Grid prototype, using it's default type name as the map key
References grid_creator_map_, runtime_assert, and utility_exit_with_message.
|
static |
static function to get the instance of ( pointer to) this singleton class
References create_singleton_instance(), instance_, and utility::thread::safely_create_singleton().
Referenced by protocols::qsar::scoring_grid::GridManager::deserialize(), and protocols::qsar::scoring_grid::GridManager::make_new_grid().
| GridBaseOP protocols::qsar::scoring_grid::GridFactory::new_grid | ( | utility::tag::TagCOP | tag | ) | const |
create Grid given grid tag
References grid_creator_map_, type, and utility_exit_with_message.
Referenced by new_grid().
| GridBaseOP protocols::qsar::scoring_grid::GridFactory::new_grid | ( | utility::json_spirit::mObject | data | ) | const |
create Grid given a serialized grid object
References grid_creator_map_, new_grid(), type, and utility_exit_with_message.
|
private |
|
private |
Referenced by factory_register(), GridFactory(), and new_grid().
|
staticprivate |
Referenced by get_instance().
1.8.7