nds2-client - Developer 0.16.7
Loading...
Searching...
No Matches
Namespaces | Classes | Typedefs | Enumerations | Functions
NDS Namespace Reference

The NDS client namespace. More...

Namespaces

namespace  abi_0
 
namespace  anonymous_namespace{nds_connection_ptype.cc}
 
namespace  anonymous_namespace{nds_gap_handler.cc}
 
namespace  anonymous_namespace{nds_static_val.cc}
 
namespace  detail
 

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...
 
struct  channel_data_type_conversion< double >
 
struct  channel_data_type_conversion< float >
 
struct  channel_data_type_conversion< std::complex< float > >
 
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< std::uint32_t >
 
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...
 
class  epoch
 
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...
 

Typedefs

typedef std::vector< bufferbuffers_type
 
typedef std::vector< channelchannels_type
 
typedef int daq_result_type
 
typedef std::vector< epochepochs_type
 

Enumerations

enum  errnum {
  EOS = 256 , CHANNEL_NAME_TOO_LONG , UNEXPECTED_CHANNELS_RECEIVED , MINUTE_TRENDS ,
  TRANSFER_BUSY , NO_SUCH_CHANNEL , ALREADY_CLOSED , ERROR_LAST
}
 

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 &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.
 
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 &params, 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 &params, 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.
 
std::string version ()
 

Detailed Description

The NDS client namespace.

Typedef Documentation

◆ daq_result_type

typedef int NDS::daq_result_type

Enumeration Type Documentation

◆ errnum

Enumerator
EOS 
CHANNEL_NAME_TOO_LONG 
UNEXPECTED_CHANNELS_RECEIVED 
MINUTE_TRENDS 
TRANSFER_BUSY 
NO_SUCH_CHANNEL 
ALREADY_CLOSED 
ERROR_LAST