|
| GarbageCollectorDecorator (std::unique_ptr< AlgoSequence > &&sequence, observer_ptr< PersistenceServiceManager > psManager=nullptr) |
| Constructor. More...
|
|
bool | Initialize () override |
| Initializes the object deletion. More...
|
|
bool | FreesUnused () |
| Gets the free unused flag. More...
|
|
| AlgoSequenceDecorator (std::unique_ptr< AlgoSequence > &&sequence) |
| Constructor. More...
|
|
bool | Finalize () override |
| Finalizes the algorithms of the decorated sequence. More...
|
|
| AlgoSequence (const std::string &name) |
| Constructor. More...
|
|
bool | AddAlgorithm (std::unique_ptr< Algorithm > &&algo) |
| Adds a new algorithm to the sequence. More...
|
|
observer_ptr< Algorithm > | GetAlgorithm (const std::string name) |
| Get an algorithm. More...
|
|
const Algorithms & | GetAlgorithms () const |
| Get the algorithms. More...
|
|
Algorithms & | GetAlgorithms () |
| Get the algorithms. More...
|
|
bool | Process () |
| Processes all the algorithms. More...
|
|
IterateRequest | Iterate () |
| Forward the iteration request to the contained algorithms. More...
|
|
iterator | begin () |
|
iterator | end () |
|
const_iterator | begin () const |
|
const_iterator | end () const |
|
size_t | size () |
|
bool | SetDataStoreManager (observer_ptr< DataStoreManager > dsManager) |
| Set the data store manager for the sequence and all the contained algorithms. More...
|
|
bool | SetEventLoopProxy (observer_ptr< EventLoopProxy > loopProxy) |
| Set the event loop proxy for the sequence and all the contained algorithms. More...
|
|
| Algorithm (const std::string &name) |
|
observer_ptr< EventLoopProxy > | GetEventLoopProxy () |
| Accessor for the event loop proxy. More...
|
|
| Filter () |
| Constructor. More...
|
|
FilterResult | GetFilterResult () |
| Get the result for the filter. More...
|
|
FilterLogic | GetFilterLogic () |
| Get the current filter logic. More...
|
|
void | SetFilterStatus (FilterStatus status) |
| Toggles on and off filtering. More...
|
|
FilterStatus | GetFilterStatus () |
| The filter status. More...
|
|
void | SetFilterLogic (FilterLogic filterLogic) |
| Sets the filter return value logic. More...
|
|
| Info (const std::string &name) |
| Constructor. More...
|
|
virtual | ~Info () |
| Destructor. More...
|
|
virtual const std::string | GetType () const |
|
virtual const std::string | GetName () const |
| The type (i.e. class) of the object. More...
|
|
virtual const std::string | GetVersion () const |
| The name of the object. More...
|
|
| Configurable () |
| Constructor. More...
|
|
template<typename T > |
bool | SetParameter (const std::string &name, const T &value) |
| Set the value of a parameter. More...
|
|
bool | SetParameter (const std::string &name, const char *value) |
| Set the value of a string parameter using a string literal. More...
|
|
std::vector< std::string > | GetParameters () |
| Get the names of the parameters. More...
|
|
| DataStoreUser () |
|
virtual | ~DataStoreUser () |
| Destructor. More...
|
|
observer_ptr< DataStoreManager > | GetDataStoreManager () |
| Getter for the Data store manager. More...
|
|
| ObjectProducer () |
| Constructor. More...
|
|
virtual | ~ObjectProducer () |
| Destructor. More...
|
|
template<typename C > |
void | DeclareProducedObject (std::string name, ObjectCategory category, C aliases, std::string store) |
| Declare a produced objects. More...
|
|
const ProducedObjects & | GetProducedObjects () const |
| Getter method for produced objects. More...
|
|
bool | SetDisabled (bool disabled=true) |
| Disables/enables the producer. More...
|
|
virtual std::vector< std::string > | FreeObjects (const std::vector< std::string > &objs, Memory::Status memStatus) |
| Free the memory for given objects. More...
|
|
template<> |
void | DeclareProducedObject (std::string name, ObjectCategory category, const char *alias, std::string store) |
|
| ObjectConsumer () |
| Constructor. More...
|
|
void | DeclareConsumedObject (std::string name, ObjectCategory category, std::string store, bool optional=false) |
| Declare a consumed objects. More...
|
|
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. More...
|
|
const ConsumedObjects & | GetConsumedObjects () const |
| Getter method for consumed objects. More...
|
|
|
bool | ProcessAlgo (size_t iAlgo) override |
| Process the given algorithm and eliminates the unneeded objects. More...
|
|
observer_ptr< AlgoSequence > | GetSequence () |
| Getter for the decorated sequence. More...
|
|
| AlgoSequence (const std::shared_ptr< Filter::Representation > &filterRepr, const std::shared_ptr< Info::Representation > &infoRepr, const std::shared_ptr< Configurable::Representation > &confRepr, const std::shared_ptr< DataStoreUser::Representation > &dsuRepr, const std::shared_ptr< ObjectProducer::Representation > &opRepr, const std::shared_ptr< ObjectConsumer::Representation > &ocRepr, const std::shared_ptr< Algorithm::Representation > &algoRepr) |
|
std::shared_ptr< Representation > & | GetRepresentation () |
|
| Algorithm (const std::shared_ptr< Filter::Representation > &filterRepr, const std::shared_ptr< Info::Representation > &infoRepr, const std::shared_ptr< Configurable::Representation > &confRepr, const std::shared_ptr< DataStoreUser::Representation > &dsuRepr, const std::shared_ptr< ObjectProducer::Representation > &opRepr, const std::shared_ptr< ObjectConsumer::Representation > &ocRepr, const std::shared_ptr< Algorithm::Representation > &algoRepr) |
|
std::shared_ptr< Representation > & | GetRepresentation () |
|
void | SetFilterResult (FilterResult result) |
| Sets the result. More...
|
|
| Filter (const std::shared_ptr< Representation > &impl) |
|
std::shared_ptr< Representation > & | GetRepresentation () |
|
| Info (const std::shared_ptr< Representation > &impl) |
|
std::shared_ptr< Representation > & | GetRepresentation () |
|
template<typename T > |
bool | DefineParameter (const std::string &name, T &variable) |
| Set a parameter. More...
|
|
| Configurable (const std::shared_ptr< Representation > &impl) |
|
std::shared_ptr< Representation > & | GetRepresentation () |
|
| DataStoreUser (const std::shared_ptr< Representation > &impl) |
|
std::shared_ptr< Representation > & | GetRepresentation () |
|
| ObjectProducer (const std::shared_ptr< Representation > &impl) |
|
std::shared_ptr< Representation > & | GetRepresentation () |
|
| ObjectConsumer (const std::shared_ptr< Representation > &impl) |
|
std::shared_ptr< Representation > & | GetRepresentation () |
|
A garbage collector decorator for an algorithm sequence.
This decorator adds garbage collection capability to an AlgoSequence. The garbage collector will remove from data stores all those event objects that, after the execution of an algorithm, are not needed for any subsequent algorithm or persistence service. If the memory status is not NORMAL (see #Memory::Status) then the garbage collector will trigger a memory free for all the unused objects. This behavior can be turned off by setting the "freeUnused" parameter to false.