nds2-client - User 0.16.7
|
The NDS client namespace. More...
Classes | |
struct | availability |
Availability information for a channel. More... | |
class | availability_list_type |
A list of availabilitys (channels, availability segments) More... | |
class | buffer |
A buffer holds the data contents of a channel. More... | |
class | channel |
Represents a LIGO data channel. More... | |
struct | channel_data_type_conversion |
Given a C++ data type, determine which NDS channel data type applies to it. More... | |
class | channel_predicate_object |
A predicate object to be used in limiting the number of channels returned when searching for channels. More... | |
class | connection |
A connection to the NDS/NDS2 server. More... | |
class | data_iterable |
The data_iterable manages streaming data from an NDS::connection. More... | |
class | data_stream_iterator |
A input iterator. More... | |
struct | frequency_range |
A simple range for sample rates. More... | |
class | parameters |
The parameters class holds the configuration for a connection. This includes gap handling strategy and server connection information. More... | |
struct | request_period |
This represents a [start, stop) time with an optional data stride. More... | |
struct | segment |
An availability segment defines when data is available. More... | |
class | segment_list_type |
A list of detailed segments. This does not contain the channel name. More... | |
class | simple_availability_list_type |
A list of simple availability lists. More... | |
struct | simple_segment |
A simple [start,stop) range for denoting segments. More... | |
class | simple_segment_list_type |
A list of simple segments. This does not contain the channel name. More... | |
Functions | |
template<typename... Args> | |
channel_predicate_object | channel_predicate (Args... args) |
NDS::buffers_type | fetch (const NDS::parameters ¶ms, buffer::gps_second_type gps_start, buffer::gps_second_type gps_stop, const NDS::connection::channel_names_type &channel_names) |
Retreive data from the server without having to manage a connection. | |
NDS::buffers_type | fetch (buffer::gps_second_type gps_start, buffer::gps_second_type gps_stop, const NDS::connection::channel_names_type &channel_names) |
Retreive data from the server without having to manage a connection. | |
NDS::data_iterable | iterate (const NDS::parameters ¶ms, NDS::request_period period, const NDS::connection::channel_names_type &channel_names) |
Retreive data in segments without having to manage a connection. | |
NDS::data_iterable | iterate (NDS::request_period period, const NDS::connection::channel_names_type &channel_names) |
Retreive data in segments without having to manage a connection. | |
channels_type | find_channels (const NDS::parameters ¶ms, const channel_predicate_object &pred) |
Retrieve a list of channels without having to manage a connection. | |
channels_type | find_channels (const channel_predicate_object &pred) |
Retrieve a list of channels without having to manage a connection. | |
DLL_EXPORT NDS::buffers_type | fetch (const NDS::parameters ¶ms, buffer::gps_second_type gps_start, buffer::gps_second_type gps_stop, const NDS::connection::channel_names_type &channel_names) |
Retreive data from the server without having to manage a connection. | |
DLL_EXPORT NDS::buffers_type | fetch (buffer::gps_second_type gps_start, buffer::gps_second_type gps_stop, const NDS::connection::channel_names_type &channel_names) |
Retreive data from the server without having to manage a connection. | |
DLL_EXPORT NDS::data_iterable | iterate (const NDS::parameters ¶ms, NDS::request_period period, const NDS::connection::channel_names_type &channel_names) |
Retreive data in segments without having to manage a connection. | |
DLL_EXPORT NDS::data_iterable | iterate (NDS::request_period period, const NDS::connection::channel_names_type &channel_names) |
Retreive data in segments without having to manage a connection. | |
DLL_EXPORT channels_type | find_channels (const NDS::parameters ¶ms, const channel_predicate_object &pred) |
Retrieve a list of channels without having to manage a connection. | |
DLL_EXPORT channels_type | find_channels (const channel_predicate_object &pred) |
Retrieve a list of channels without having to manage a connection. | |
The NDS client namespace.
channel_predicate_object NDS::abi_0::channel_predicate | ( | Args... | args | ) |
Create a ChannelPredicate object initialized with the parameters to this call.
Args | The types of args |
args | arguments predicate object. |
NDS::buffers_type NDS::abi_0::fetch | ( | buffer::gps_second_type | gps_start, |
buffer::gps_second_type | gps_stop, | ||
const NDS::connection::channel_names_type & | channel_names | ||
) |
Retreive data from the server without having to manage a connection.
Given a start/stop time and a channel list retrieve the associated data, pulling connection information from the environment.
[in] | gps_start | Start time of request |
[in] | gps_stop | Stop time of request |
[in] | channel_names | The channel list |
DLL_EXPORT NDS::buffers_type NDS::abi_0::fetch | ( | buffer::gps_second_type | gps_start, |
buffer::gps_second_type | gps_stop, | ||
const NDS::connection::channel_names_type & | channel_names | ||
) |
Retreive data from the server without having to manage a connection.
Given a start/stop time and a channel list retrieve the associated data, pulling connection information from the environment.
[in] | gps_start | Start time of request |
[in] | gps_stop | Stop time of request |
[in] | channel_names | The channel list |
NDS::buffers_type NDS::abi_0::fetch | ( | const NDS::parameters & | params, |
buffer::gps_second_type | gps_start, | ||
buffer::gps_second_type | gps_stop, | ||
const NDS::connection::channel_names_type & | channel_names | ||
) |
Retreive data from the server without having to manage a connection.
Given a start/stop time and a channel list retrieve the associated data.
[in] | params | Parameters object specifying connection settings |
[in] | gps_start | Start time of request |
[in] | gps_stop | Stop time of request |
[in] | channel_names | The channel list |
DLL_EXPORT NDS::buffers_type NDS::abi_0::fetch | ( | const NDS::parameters & | params, |
buffer::gps_second_type | gps_start, | ||
buffer::gps_second_type | gps_stop, | ||
const NDS::connection::channel_names_type & | channel_names | ||
) |
Retreive data from the server without having to manage a connection.
Given a start/stop time and a channel list retrieve the associated data.
[in] | params | Parameters object specifying connection settings |
[in] | gps_start | Start time of request |
[in] | gps_stop | Stop time of request |
[in] | channel_names | The channel list |
channels_type NDS::abi_0::find_channels | ( | const channel_predicate_object & | pred | ) |
Retrieve a list of channels without having to manage a connection.
Return a list of channels that are available form this connection within the given contstraints.
[in] | pred | A channel_predicate object holding the constraints to impose on the search. |
DLL_EXPORT channels_type NDS::abi_0::find_channels | ( | const channel_predicate_object & | pred | ) |
Retrieve a list of channels without having to manage a connection.
Return a list of channels that are available form this connection within the given contstraints.
[in] | pred | A channel_predicate object holding the constraints to impose on the search. |
channels_type NDS::abi_0::find_channels | ( | const NDS::parameters & | params, |
const channel_predicate_object & | pred | ||
) |
Retrieve a list of channels without having to manage a connection.
Return a list of channels that are available form this connection within the given contstraints.
[in] | params | A parameters object used to specify a specific server |
[in] | pred | A channel_predicate object holding the constraints to impose on the search. |
DLL_EXPORT channels_type NDS::abi_0::find_channels | ( | const NDS::parameters & | params, |
const channel_predicate_object & | pred | ||
) |
Retrieve a list of channels without having to manage a connection.
Return a list of channels that are available form this connection within the given contstraints.
[in] | params | A parameters object used to specify a specific server |
[in] | pred | A channel_predicate object holding the constraints to impose on the search. |
NDS::data_iterable NDS::abi_0::iterate | ( | const NDS::parameters & | params, |
NDS::request_period | period, | ||
const NDS::connection::channel_names_type & | channel_names | ||
) |
Retreive data in segments without having to manage a connection.
Setup an iterative data retrieval process. This function initiates the request for data in range specified by period, but does not actually retreive the data. Instead it returns a data_stream object which manages the data iteration request.
[in] | params | Parameters object specifying connection settings |
[in] | period | The range of data to return. It may be any range that a request_period may express, including unbounded live data, bounded live data, or bounded historical data. |
[in] | channel_names | The list of channels to retrieve data for. |
DLL_EXPORT NDS::data_iterable NDS::abi_0::iterate | ( | const NDS::parameters & | params, |
NDS::request_period | period, | ||
const NDS::connection::channel_names_type & | channel_names | ||
) |
Retreive data in segments without having to manage a connection.
Setup an iterative data retrieval process. This function initiates the request for data in range specified by period, but does not actually retreive the data. Instead it returns a data_stream object which manages the data iteration request.
[in] | params | Parameters object specifying connection settings |
[in] | period | The range of data to return. It may be any range that a request_period may express, including unbounded live data, bounded live data, or bounded historical data. |
[in] | channel_names | The list of channels to retrieve data for. |
NDS::data_iterable NDS::abi_0::iterate | ( | NDS::request_period | period, |
const NDS::connection::channel_names_type & | channel_names | ||
) |
Retreive data in segments without having to manage a connection.
Setup an iterative data retrieval process. This function initiates the request for data in range specified by period, but does not actually retreive the data. Instead it returns a data_stream object which manages the data iteration request.
[in] | period | The range of data to return. It may be any range that a request_period may express, including unbounded live data, bounded live data, or bounded historical data. |
[in] | channel_names | The list of channels to retrieve data for. |
DLL_EXPORT NDS::data_iterable NDS::abi_0::iterate | ( | NDS::request_period | period, |
const NDS::connection::channel_names_type & | channel_names | ||
) |
Retreive data in segments without having to manage a connection.
Setup an iterative data retrieval process. This function initiates the request for data in range specified by period, but does not actually retreive the data. Instead it returns a data_stream object which manages the data iteration request.
[in] | period | The range of data to return. It may be any range that a request_period may express, including unbounded live data, bounded live data, or bounded historical data. |
[in] | channel_names | The list of channels to retrieve data for. |