9 #ifndef OBJECTPRODUCER_H_ 10 #define OBJECTPRODUCER_H_ 47 const std::string &objStore)
48 : name{objName}, category{objCategory}, alias{objAlias}, store{objStore} {}
119 std::shared_ptr<Representation>
_repr;
Exception class for bad object category.
Definition: ObjectProducer.h:76
const ProducedObjects & GetProducedObjects() const
Getter method for produced objects.
Definition: ObjectProducer.h:94
std::string store
Definition: ObjectProducer.h:44
Exception(std::string msg="")
Definition: Exception.h:31
bool operator==(const ProducedObject &rhs) const
Definition: ObjectProducer.h:49
virtual ~ObjectProducer()
Destructor.
Definition: ObjectProducer.h:34
IncludeFileExc.h IncludeFileExc class declaration.
Definition: Algorithm.h:21
Descriptor structure for a produced object.
Definition: ObjectProducer.h:40
std::vector< ProducedObject > ProducedObjects
Type for container of produced objects.
Definition: ObjectProducer.h:85
Exception class for already declared objects.
Definition: ObjectProducer.h:80
std::shared_ptr< Representation > & GetRepresentation()
Definition: ObjectProducer.h:116
ProducedObjects objs
Definition: ObjectProducer.h:112
Definition: ObjectProducer.h:110
ProducedObject(const std::string &objName, const ObjectCategory objCategory, const std::string &objAlias, const std::string &objStore)
Definition: ObjectProducer.h:46
ObjectProducer()
Constructor.
Definition: ObjectProducer.cpp:18
ObjectCategory category
Definition: ObjectProducer.h:42
ObjectCategory
Category of objects.
Definition: ObjectCategory.h:17
std::string alias
Definition: ObjectProducer.h:43
Exception class for bad object name.
Definition: ObjectProducer.h:72
std::string name
Definition: ObjectProducer.h:41
Interface for a class which produced data objects.
Definition: ObjectProducer.h:28
Status
Aliases for memory occupation levels.
Definition: Memory.h:23
ProducedObject()
Definition: ObjectProducer.h:45
Definition: Exception.h:24
void DeclareProducedObject(std::string name, ObjectCategory category, std::string alias, std::string store)
Declare a produced objects.
Definition: ObjectProducer.cpp:20
virtual std::vector< std::string > FreeObjects(const std::vector< std::string > &objs, Memory::Status memStatus)
Free the memory for given objects.
Definition: ObjectProducer.cpp:45
ObjectProducer(const std::shared_ptr< Representation > &impl)
Definition: ObjectProducer.h:115
std::shared_ptr< Representation > _repr
Definition: ObjectProducer.h:119