fesa-core  5.0.1
fesa::HomogeneousDevCol Class Reference

This class contains a collection of devices and it lets do operations between other collections like add up, or rest. More...

#include <HomogeneousDevCol.h>

Public Member Functions

const std::set< AbstractDevice * > & getDevCol () const
 
void setDevCol (const std::set< AbstractDevice * > &col)
 
size_t getSize () const
 
bool insert (AbstractDevice *pDevice)
 
std::string getSharedCriteria () const
 
void setSharedCriteria (const std::string &sharedCriteria)
 

Detailed Description

This class contains a collection of devices and it lets do operations between other collections like add up, or rest.

Member Function Documentation

const std::set< AbstractDevice * > & fesa::HomogeneousDevCol::getDevCol ( ) const
inline

Returns a const pointer to the internal device set

std::string fesa::HomogeneousDevCol::getSharedCriteria ( ) const
inline

Returns the device collection selection criteri(on/a)

size_t fesa::HomogeneousDevCol::getSize ( ) const
inline

Returns the size of the device collection

bool fesa::HomogeneousDevCol::insert ( AbstractDevice pDevice)
inline

Adds in the collection the given AbstractDevice *. Return true if the insertion was done, false if the element was already there.

void fesa::HomogeneousDevCol::setDevCol ( const std::set< AbstractDevice * > &  col)
inline

Sets (by copy) the given set to the internal collection

void fesa::HomogeneousDevCol::setSharedCriteria ( const std::string &  sharedCriteria)
inline

Sets the device collection selection criteri(on/a)


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