ARC SDK
Public Member Functions
Arc::EntityContainer< T > Class Template Reference

An entity consumer class storing all the consumed entities in a list. More...

#include <arc/compute/EntityRetriever.h>

Inheritance diagram for Arc::EntityContainer< T >:
Arc::EntityConsumer< T >

Public Member Functions

virtual void addEntity (const T &t)
 All the consumed entities are pushed to the list. More...
 

Detailed Description

template<typename T>
class Arc::EntityContainer< T >

An entity consumer class storing all the consumed entities in a list.

This class is a concrete subclass of the EntityConsumer abstract class, it also inherits from std::list, and implements the addEntity method in a way, that it stores all the consumed entities in the list (in itself).

The retrievers return their results through entity consumer objects, so this container object can be used in those places, and then the results can be found in the container, which can be treated as a standard list.

Member Function Documentation

◆ addEntity()

template<typename T>
virtual void Arc::EntityContainer< T >::addEntity ( const T &  t)
inlinevirtual

All the consumed entities are pushed to the list.

Because the EntityContainer is a standard list, it can push the entities in itself.

Implements Arc::EntityConsumer< T >.


The documentation for this class was generated from the following file: