2015-08-22 01:58:41 +00:00
|
|
|
#ifndef __RETRO_IOBJECTSTORE_HPP__
|
|
|
|
#define __RETRO_IOBJECTSTORE_HPP__
|
|
|
|
|
|
|
|
namespace Retro
|
|
|
|
{
|
2015-08-23 06:42:29 +00:00
|
|
|
class SObjectTag;
|
|
|
|
class CVParamTransfer;
|
|
|
|
class IFactory;
|
|
|
|
class IObj;
|
2015-08-22 01:58:41 +00:00
|
|
|
|
|
|
|
class IObjectStore
|
|
|
|
{
|
|
|
|
public:
|
2015-08-23 06:42:29 +00:00
|
|
|
virtual IObj& GetObj(const SObjectTag&, const CVParamTransfer&)=0;
|
|
|
|
virtual IObj& GetObj(const SObjectTag&)=0;
|
|
|
|
virtual IObj& GetObj(char const*)=0;
|
|
|
|
virtual IObj& GetObj(char const*, const CVParamTransfer&)=0;
|
|
|
|
virtual void HasObject(const SObjectTag&) const=0;
|
|
|
|
virtual void ObjectIsLive(const SObjectTag&) const=0;
|
|
|
|
virtual IFactory& GetFactory() const=0;
|
|
|
|
virtual void Flush()=0;
|
|
|
|
virtual void ObjectUnreferenced(const SObjectTag&)=0;
|
2015-08-22 01:58:41 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // __RETRO_IOBJECTSTORE_HPP__
|