DataStorm  0.1
Data Distribution Service
Classes | Namespaces | Functions
DataStorm.h File Reference
#include <DataStorm/Config.h>
#include <Ice/Ice.h>
#include <DataStorm/Types.h>
#include <DataStorm/Sample.h>
#include <DataStorm/Node.h>
#include <DataStorm/InternalI.h>
#include <DataStorm/InternalT.h>
#include <DataStorm/CtrlCHandler.h>
#include <regex>

Go to the source code of this file.

Classes

class  DataStorm::Sample< Key, Value, UpdateTag >
 A sample provides information about a data element update. More...
 
class  DataStorm::Reader< Key, Value, UpdateTag >
 The Reader class is used to retrieve samples for a data element. More...
 
class  DataStorm::Writer< Key, Value, UpdateTag >
 The writer class is used to write samples for a data element. More...
 
class  DataStorm::Topic< Key, Value, UpdateTag >
 The Topic class. More...
 
struct  DataStorm::Filter< T >
 Filter structure to specify the filter name and criteria value. More...
 
class  DataStorm::SingleKeyReader< Key, Value, UpdateTag >
 The key reader to read the data element associated with a given key. More...
 
class  DataStorm::MultiKeyReader< Key, Value, UpdateTag >
 The key reader to read the data element associated with a given set of keys. More...
 
class  DataStorm::FilteredKeyReader< Key, Value, UpdateTag >
 The filtered reader to read data elements whose key match a given filter. More...
 
class  DataStorm::SingleKeyWriter< Key, Value, UpdateTag >
 The key writer to write the data element associated with a given key. More...
 
class  DataStorm::MultiKeyWriter< Key, Value, UpdateTag >
 The key writer to write data elements associated with a given set of keys. More...
 

Namespaces

 DataStorm
 

Functions

std::ostream & DataStorm::operator<< (std::ostream &os, SampleEvent sampleType)
 Convert the given sample type to a string and add it to the stream. More...
 
std::ostream & DataStorm::operator<< (std::ostream &os, const std::vector< SampleEvent > &types)
 Convert the given sample type vector to a string and add it to the stream. More...
 
template<typename K , typename V , typename U >
std::ostream & DataStorm::operator<< (std::ostream &os, const Sample< K, V, U > &sample)
 Convert the given sample to a string and add it to the stream. More...
 
template<typename K , typename V , typename UT >
SingleKeyReader< K, V, UT > DataStorm::makeSingleKeyReader (const Topic< K, V, UT > &topic, const typename Topic< K, V, UT >::KeyType &key, const std::string &name=std::string(), const ReaderConfig &config=ReaderConfig()) noexcept
 Creates a key reader for the given topic and key. More...
 
template<typename SFC , typename K , typename V , typename UT >
SingleKeyReader< K, V, UT > DataStorm::makeSingleKeyReader (const Topic< K, V, UT > &topic, const typename Topic< K, V, UT >::KeyType &key, const Filter< SFC > &sampleFilter, const std::string &name=std::string(), const ReaderConfig &config=ReaderConfig()) noexcept
 Creates a key reader for the given topic, key and sample filter. More...
 
template<typename K , typename V , typename UT >
MultiKeyReader< K, V, UT > DataStorm::makeMultiKeyReader (const Topic< K, V, UT > &topic, const std::vector< typename Topic< K, V, UT >::KeyType > &keys, const std::string &name=std::string(), const ReaderConfig &config=ReaderConfig()) noexcept
 Creates a multi-key reader for the given topic. More...
 
template<typename SFC , typename K , typename V , typename UT >
MultiKeyReader< K, V, UT > DataStorm::makeMultiKeyReader (const Topic< K, V, UT > &topic, const std::vector< typename Topic< K, V, UT >::KeyType > &keys, const Filter< SFC > &sampleFilter, const std::string &name=std::string(), const ReaderConfig &config=ReaderConfig()) noexcept
 Creates a multi-key reader for the given topic, keys and sample filter. More...
 
template<typename K , typename V , typename UT >
MultiKeyReader< K, V, UT > DataStorm::makeAnyKeyReader (const Topic< K, V, UT > &topic, const std::string &name=std::string(), const ReaderConfig &config=ReaderConfig()) noexcept
 Creates an any-key reader for the given topic. More...
 
template<typename SFC , typename K , typename V , typename UT >
MultiKeyReader< K, V, UT > DataStorm::makeAnyKeyReader (const Topic< K, V, UT > &topic, const Filter< SFC > &sampleFilter, const std::string &name=std::string(), const ReaderConfig &config=ReaderConfig()) noexcept
 Creates an any-key reader for the given topic and sample filter. More...
 
template<typename KFC , typename K , typename V , typename UT >
FilteredKeyReader< K, V, UT > DataStorm::makeFilteredKeyReader (const Topic< K, V, UT > &topic, const Filter< KFC > &filter, const std::string &name=std::string(), const ReaderConfig &config=ReaderConfig())
 Creates a new filtered reader for the given topic and key filter. More...
 
template<typename KFC , typename SFC , typename K , typename V , typename UT >
FilteredKeyReader< K, V, UT > DataStorm::makeFilteredKeyReader (const Topic< K, V, UT > &topic, const Filter< KFC > &keyFilter, const Filter< SFC > &sampleFilter, const std::string &name=std::string(), const ReaderConfig &config=ReaderConfig())
 Creates a new filter reader for the given topic, key filter and sample filter. More...
 
template<typename K , typename V , typename UT >
SingleKeyWriter< K, V, UT > DataStorm::makeSingleKeyWriter (const Topic< K, V, UT > &topic, const typename Topic< K, V, UT >::KeyType &key, const std::string &name=std::string(), const WriterConfig &config=WriterConfig()) noexcept
 Creates a key writer for the given topic and key. More...
 
template<typename K , typename V , typename UT >
MultiKeyWriter< K, V, UT > DataStorm::makeMultiKeyWriter (const Topic< K, V, UT > &topic, const std::vector< typename Topic< K, V, UT >::KeyType > &keys, const std::string &name=std::string(), const WriterConfig &config=WriterConfig()) noexcept
 Creates a multi-key writer for the given topic and keys. More...
 
template<typename K , typename V , typename UT >
MultiKeyWriter< K, V, UT > DataStorm::makeAnyKeyWriter (const Topic< K, V, UT > &topic, const std::string &name=std::string(), const WriterConfig &config=WriterConfig()) noexcept
 Creates an any-key writer for the given topic. More...