torc-master
|
#include <SingleInstance.hpp>
Public Types | |
typedef SingleInstance | Type |
typedef SelfReferencing< Type > ::Pointer | Pointer |
typedef SelfReferencing< Type > ::WeakPointer | WeakPointer |
Public Member Functions | |
virtual SingleInstanceSharedPtr | newSingleInstancePtr (const std::string &inName, const ViewSharedPtr &inViewPtr, const ViewSharedPtr &inMasterPtr, const std::string &inOriginalName=std::string()) throw (Error) |
virtual void | create (Pointer &outPointer) throw (Error) |
Convenience class to create a single instance.
Definition at line 53 of file SingleInstance.hpp.
|
inherited |
A pointer to an object of type Type
Definition at line 45 of file FactoryType.hpp.
|
inherited |
A rename of the parameter type
Definition at line 40 of file FactoryType.hpp.
|
inherited |
A weak pointer to an object of type Type
Definition at line 50 of file FactoryType.hpp.
|
inlinevirtualinherited |
Create an object of the Type specification of Factory. If the object has a boost::weak_ptr to itself, it is the task of this method to set this after the object is created.
Definition at line 58 of file FactoryType.hpp.
|
virtual |
Create a single instance.
[in] | inName | Name of the single instance to be created. |
[in] | inViewPtr | Pointer to parented(View) object. |
[in] | inMasterPtr | Pointer to master(View) object. |
[in] | inOriginalName | Original name of the single instance [optional]. |
Definition at line 43 of file SingleInstance.cpp.