9 #ifndef OBJECTCONSUMER_H_    10 #define OBJECTCONSUMER_H_   112                           const std::string &alternativeName, 
ObjectCategory alternativeCategory,
   113                           std::string alternativeStore);
   153   std::shared_ptr<Representation> 
_repr;
 
bool optional
Definition: ObjectConsumer.h:40
 
observer_ptr< ConsumedObject > _prevAlt
Definition: ObjectConsumer.h:61
 
Definition: ObjectConsumer.h:142
 
ObjectConsumer()
Constructor. 
Definition: ObjectConsumer.h:30
 
ConsumedObject()
Constructor. 
Definition: ObjectConsumer.h:49
 
Exception class for bad object name. 
Definition: ObjectConsumer.h:121
 
A smart pointer not owning the wrapped object. 
Definition: ObserverPtr.h:28
 
std::vector< ConsumedObject > ConsumedObjects
Type for container of produced objects. 
Definition: ObjectConsumer.h:130
 
Exception(std::string msg="")
Definition: Exception.h:31
 
Exception class for using undeclared objects as parameters of DeclareAlternative. ...
Definition: ObjectConsumer.h:117
 
IncludeFileExc.h IncludeFileExc class declaration. 
Definition: Algorithm.h:21
 
ConsumedObjects objs
Definition: ObjectConsumer.h:146
 
const ConsumedObjects & GetConsumedObjects() const
Getter method for consumed objects. 
Definition: ObjectConsumer.h:139
 
std::string name
Definition: ObjectConsumer.h:37
 
std::string store
Definition: ObjectConsumer.h:39
 
ObjectCategory
Category of objects. 
Definition: ObjectCategory.h:17
 
Exception class for bad object category. 
Definition: ObjectConsumer.h:125
 
void DeclareConsumedObject(std::string name, ObjectCategory category, std::string store, bool optional=false)
Declare a consumed objects. 
Definition: ObjectConsumer.cpp:18
 
std::shared_ptr< Representation > & GetRepresentation()
Definition: ObjectConsumer.h:150
 
observer_ptr< ConsumedObject > _nextAlt
Definition: ObjectConsumer.h:61
 
std::shared_ptr< Representation > _repr
Definition: ObjectConsumer.h:153
 
std::vector< observer_ptr< ConsumedObject > > GetAlternatives() const
Definition: ObjectConsumer.cpp:82
 
Descriptor structure for a consumed object. 
Definition: ObjectConsumer.h:36
 
ObjectCategory category
Definition: ObjectConsumer.h:38
 
void DeclareAlternative(const std::string &name, ObjectCategory category, std::string store, const std::string &alternativeName, ObjectCategory alternativeCategory, std::string alternativeStore)
Declares two already declared objects as alternatives. 
Definition: ObjectConsumer.cpp:43
 
ObjectConsumer(const std::shared_ptr< Representation > &impl)
Definition: ObjectConsumer.h:149
 
Definition: Exception.h:24
 
Interface for a class which consumes data objects. 
Definition: ObjectConsumer.h:27