Factory singleton allowing dynamic creation of registred data item nodes.
More...
#include <DataItemNodeFactory.h>
|
|
bool | isRegistredNode (const std::string &className) const |
| | test if a given data item node class is already registred
|
| |
|
std::set< std::string > | getRegistredNodes () const |
| | retrieve collection of registred node types
|
| |
| template<typename NodeType > |
| void | registerNode () |
| | register a new data item node into factory More...
|
| |
| template<typename NodeType > |
| void | unRegisterNode () |
| | un register a previously registred node from factory More...
|
| |
| const std::string & | getNodeName (const std::string &className) const |
| | retrieve name associated to a given node class More...
|
| |
| const std::string & | getNodeToolTip (const std::string &className) const |
| | retrieve tooltip associated to a given node class More...
|
| |
| const std::string & | getNodeLibraryName (const std::string &className) const |
| | retrieve library name associated to a given node class More...
|
| |
| const boost::filesystem::path & | getNodeHeaderPath (const std::string &className) const |
| | retrieve header relative directory associated to a given node class More...
|
| |
| DataItemNodePtr | createNode (const std::string &className) const |
| | create instance of a registered data item node class More...
|
| |
|
|
typedef std::map< std::string, NodeInfo > | FactoryMap |
| | map associating a class name to node informations
|
| |
|
| void | registerNode (const std::string &className, const NodeInfo &nodeInfo) |
| | register a new data item node into factory More...
|
| |
| void | unRegisterNode (const std::string &className) |
| | un register a previously registred node from factory More...
|
| |
|
|
| DataItemNodeFactory () |
| |
|
| ~DataItemNodeFactory () |
| |
Factory singleton allowing dynamic creation of registred data item nodes.
- Author
- E. Noirfalise
- Date
- 2014/03/18
- Copyright
- 2014 Reactiv'IP, all right reserved.
◆ registerNode() [1/2]
template<typename NodeType >
| void ipsdk::DataItemNodeFactory::registerNode |
( |
| ) |
|
|
inline |
register a new data item node into factory
- Exceptions
-
◆ unRegisterNode() [1/2]
template<typename NodeType >
| void ipsdk::DataItemNodeFactory::unRegisterNode |
( |
| ) |
|
|
inline |
un register a previously registred node from factory
- Exceptions
-
◆ getNodeName()
| const std::string& ipsdk::DataItemNodeFactory::getNodeName |
( |
const std::string & |
className | ) |
const |
retrieve name associated to a given node class
- Exceptions
-
◆ getNodeToolTip()
| const std::string& ipsdk::DataItemNodeFactory::getNodeToolTip |
( |
const std::string & |
className | ) |
const |
retrieve tooltip associated to a given node class
- Exceptions
-
◆ getNodeLibraryName()
| const std::string& ipsdk::DataItemNodeFactory::getNodeLibraryName |
( |
const std::string & |
className | ) |
const |
retrieve library name associated to a given node class
- Exceptions
-
◆ getNodeHeaderPath()
| const boost::filesystem::path& ipsdk::DataItemNodeFactory::getNodeHeaderPath |
( |
const std::string & |
className | ) |
const |
retrieve header relative directory associated to a given node class
- Exceptions
-
◆ createNode()
| DataItemNodePtr ipsdk::DataItemNodeFactory::createNode |
( |
const std::string & |
className | ) |
const |
create instance of a registered data item node class
- Exceptions
-
◆ registerNode() [2/2]
| void ipsdk::DataItemNodeFactory::registerNode |
( |
const std::string & |
className, |
|
|
const NodeInfo & |
nodeInfo |
|
) |
| |
|
protected |
register a new data item node into factory
- Exceptions
-
◆ unRegisterNode() [2/2]
| void ipsdk::DataItemNodeFactory::unRegisterNode |
( |
const std::string & |
className | ) |
|
|
protected |
un register a previously registred node from factory
- Exceptions
-
The documentation for this class was generated from the following file:
- /media/reactivipdev/Nightly/IPSDK_Patch/IPSDK_4_1/IPSDK_Nightly/include/public/IPSDKBaseData/DataItem/Node/DataItemNodeFactory.h