nds2-client - ClientDeveloper
0.16.8
|
Classes | |
struct | segment |
An availability segment defines when data is available. 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... | |
class | simple_availability_list_type |
A list of simple availability lists. More... | |
class | segment_list_type |
A list of detailed segments. This does not contain the channel name. More... | |
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... | |
struct | channel_data_type_conversion< std::int16_t > |
struct | channel_data_type_conversion< std::int32_t > |
struct | channel_data_type_conversion< std::int64_t > |
struct | channel_data_type_conversion< float > |
struct | channel_data_type_conversion< double > |
struct | channel_data_type_conversion< std::complex< float > > |
struct | channel_data_type_conversion< std::uint32_t > |
struct | frequency_range |
A simple range for sample rates. 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 | 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... | |
class | data_stream_iterator |
A input iterator. More... | |
class | data_iterable |
The data_iterable manages streaming data from an NDS::connection. More... | |
class | epoch |
Typedefs | |
typedef std::vector< buffer > | buffers_type |
typedef std::vector< channel > | channels_type |
typedef std::vector< epoch > | epochs_type |
Functions | |
std::ostream & | operator<< (std::ostream &os, const segment &obj) |
std::ostream & | operator<< (std::ostream &os, const simple_segment &obj) |
std::ostream & | operator<< (std::ostream &os, const segment_list_type &obj) |
std::ostream & | operator<< (std::ostream &os, const availability &obj) |
std::ostream & | operator<< (std::ostream &os, const availability_list_type &obj) |
std::ostream & | operator<< (std::ostream &os, const simple_availability_list_type &obj) |
std::ostream & | operator<< (std::ostream &os, const simple_segment_list_type &obj) |
std::ostream & | operator<< (std::ostream &os, const buffer &obj) |
std::ostream & | operator<< (std::ostream &os, const buffers_type &obj) |
std::ostream & | operator<< (std::ostream &os, const channel &ch) |
const std::string & | channel_type_to_string (channel::channel_type ctype) |
const std::string & | data_type_to_string (channel::data_type dtype) |
std::ostream & | operator<< (std::ostream &os, const connection &conn) |
void | build_channel_predicate (channel_predicate_object &pred) |
template<typename T > | |
void | build_channel_predicate (channel_predicate_object &pred, T val) |
template<typename T , typename... Args> | |
void | build_channel_predicate (channel_predicate_object &pred, T val, Args...args) |
template<typename... Args> | |
channel_predicate_object | channel_predicate (Args...args) |
std::ostream & | operator<< (std::ostream &os, const epoch &obj) |
std::ostream & | operator<< (std::ostream &os, const epochs_type &obj) |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
channels_type | find_channels (const NDS::parameters ¶ms, const channel_predicate_object &pred) |
Retrieve a list of channels without having to manage a connection. More... | |
channels_type | find_channels (const channel_predicate_object &pred) |
Retrieve a list of channels without having to manage a connection. More... | |
std::string | version () |
typedef std::vector< buffer > NDS::abi_0::buffers_type |
typedef std::vector< channel > NDS::abi_0::channels_type |
typedef std::vector< epoch > NDS::abi_0::epochs_type |
|
inline |
void NDS::abi_0::build_channel_predicate | ( | channel_predicate_object & | pred, |
T | val | ||
) |
void NDS::abi_0::build_channel_predicate | ( | channel_predicate_object & | pred, |
T | val, | ||
Args... | args | ||
) |
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. |
DLL_EXPORT const std::string & NDS::abi_0::channel_type_to_string | ( | channel::channel_type | ctype | ) |
DLL_EXPORT const std::string & NDS::abi_0::data_type_to_string | ( | channel::data_type | dtype | ) |
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 |
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 |
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. |
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. |
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. |
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. |
|
inline |
|
inline |
DLL_EXPORT std::ostream & NDS::abi_0::operator<< | ( | std::ostream & | os, |
const segment & | obj | ||
) |
DLL_EXPORT std::ostream & NDS::abi_0::operator<< | ( | std::ostream & | os, |
const buffer & | obj | ||
) |
DLL_EXPORT std::ostream & NDS::abi_0::operator<< | ( | std::ostream & | os, |
const simple_segment & | obj | ||
) |
DLL_EXPORT std::ostream & NDS::abi_0::operator<< | ( | std::ostream & | os, |
const buffers_type & | obj | ||
) |
DLL_EXPORT std::ostream & NDS::abi_0::operator<< | ( | std::ostream & | os, |
const segment_list_type & | obj | ||
) |
DLL_EXPORT std::ostream & NDS::abi_0::operator<< | ( | std::ostream & | os, |
const availability & | obj | ||
) |
DLL_EXPORT std::ostream & NDS::abi_0::operator<< | ( | std::ostream & | os, |
const availability_list_type & | obj | ||
) |
DLL_EXPORT std::ostream & NDS::abi_0::operator<< | ( | std::ostream & | os, |
const simple_availability_list_type & | obj | ||
) |
DLL_EXPORT std::ostream & NDS::abi_0::operator<< | ( | std::ostream & | os, |
const simple_segment_list_type & | obj | ||
) |
DLL_EXPORT std::ostream & NDS::abi_0::operator<< | ( | std::ostream & | os, |
const channel & | ch | ||
) |
DLL_EXPORT std::ostream & NDS::abi_0::operator<< | ( | std::ostream & | os, |
const connection & | conn | ||
) |
DLL_EXPORT std::string NDS::abi_0::version | ( | ) |