NEOCCA bindings Specification
0.2.8
|
Memory lifecycle: More...
#include <AbstractFramework.hh>
Public Member Functions | |
virtual | ~AbstractFramework () |
virtual TypeMap_shared | createTypeMap ()=0 |
virtual Services * | getServices (const std::string &selfInstanceName, const std::string &selfClassName, TypeMap_shared selfProperties)=0 |
virtual void | releaseServices (Services *svc)=0 |
virtual void | shutdownFramework ()=0 |
Tell the framework to close up shop, but the framework instance still needs to be deallocated by falling off the stack or by being deleted or by being passed back to destroyEmptyFramework() in the case that it was created with createEmptyFramework. | |
virtual AbstractFramework * | createEmptyFramework ()=0 |
Constructor of a sub-framework instance -- a separate container from this one with the same implementation, but probably little or no common content. | |
virtual void | destroyEmptyFramework (AbstractFramework *subframe)=0 |
Destructor of a framework instance obtained from createEmptyFramework. |
Memory lifecycle:
If this interface is received through a function argument, createEmptyFramework/destroyEmptyFramework must be used as noted. The usual rule applies: only the code creating the AbstractFramework instance should destroy it.
virtual neo::cca::AbstractFramework::~AbstractFramework | ( | ) | [inline, virtual] |
{}
virtual TypeMap_shared neo::cca::AbstractFramework::createTypeMap | ( | ) | [pure virtual] |
virtual Services* neo::cca::AbstractFramework::getServices | ( | const std::string & | selfInstanceName, |
const std::string & | selfClassName, | ||
TypeMap_shared | selfProperties | ||
) | [pure virtual] |
virtual void neo::cca::AbstractFramework::releaseServices | ( | Services * | svc | ) | [pure virtual] |
virtual void neo::cca::AbstractFramework::shutdownFramework | ( | ) | [pure virtual] |
Tell the framework to close up shop, but the framework instance still needs to be deallocated by falling off the stack or by being deleted or by being passed back to destroyEmptyFramework() in the case that it was created with createEmptyFramework.
virtual AbstractFramework* neo::cca::AbstractFramework::createEmptyFramework | ( | ) | [pure virtual] |
Constructor of a sub-framework instance -- a separate container from this one with the same implementation, but probably little or no common content.
virtual void neo::cca::AbstractFramework::destroyEmptyFramework | ( | AbstractFramework * | subframe | ) | [pure virtual] |
Destructor of a framework instance obtained from createEmptyFramework.
subframe->shutdown() will be called if it has not already been.