Skip to main content
Defines an open, ready-to-use, data sources. Streams is an entity containing the data sources. Once the files in the streams are opened, they stay opened and they keep some data in cache to make the next evaluations faster. To close the files, release the streams. Inherits from:

Members

Friends

Public functions

Function ~Streams

Return type:

Function Streams

Create a stream from given data sources. Parameters:
  • DataSources const & dataSources: [in] Data source from which to create stream.
  • bool open_files = false : [in] Wether files defined in the dataSources are opened at the creation of the Streams (default false).
Return type:

Function Streams

Parameters:
  • Streams const &
Return type:

Function Streams

Parameters:
  • Streams &&
Return type:

Function Streams

Retrieve an existing instance of Streams on a server. Parameters:
  • int id: [in] Id of the Streams on the server’s database.
  • Client const *const client: [in] Client instance designating the IP, port and protocol to use.
Return type:

Function operator=

Parameters:
  • Streams const &
Return type: Streams &

Function operator=

Parameters:
  • Streams &&
Return type: Streams &

Function releaseFiles

Closes all files and releases file resources. Return type: void

Function addStream

Add external stream. Parameters: Return type: void

Function addStream

Add external stream. Parameters:
  • ExternalStream * stream: [in] External stream to add.
  • LabelSpace const & identifier: [in] Identifier returned by the data sources.
Return type: void

Function getExternalStream

Parameters:
  • std::string const & key
Return type: ExternalStreamType *const

Function getExternalStream

Parameters:
  • LabelSpace const & identifier
Return type: ExternalStreamType *const

Function dataSources

Return type: DataSources

Public static functions

Function emptyStreams

Create an empty streams. Returns: Empty Streams. Return type: Streams