Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

nub::obj_mgr Namespace Reference


Detailed Description

A thin wrapper around nub::obj_factory.

This provides some compile-time insulation from nub::obj_factory for clients that only need to create objects, but don't need to register new object-creation functions.


Functions

nub::soft_ref< nub::objectnew_obj (const char *type)
 Will not return 0; will throw an exception on failure.
nub::soft_ref< nub::objectnew_obj (const rutz::fstring &type)
 Will not return 0; will throw an exception on failure.
template<class T, class S>
nub::soft_ref< T > new_typed_obj (S type)


Function Documentation

nub::soft_ref< nub::object > nub::obj_mgr::new_obj const rutz::fstring type  ) 
 

Will not return 0; will throw an exception on failure.

Definition at line 50 of file objmgr.cc.

References GVX_TRACE, nub::obj_factory::instance(), and rutz::factory< T >::new_checked_object().

nub::soft_ref< nub::object > nub::obj_mgr::new_obj const char *  type  ) 
 

Will not return 0; will throw an exception on failure.

Definition at line 45 of file objmgr.cc.

Referenced by tcl::obj::make_unique(), new_typed_obj(), objNew(), objNewArgs(), and objNewArr().


Generated on Sun Nov 22 13:51:39 2009 for iLab Neuromorphic Vision Toolkit by  doxygen 1.4.4