NexusCPP  3.5.0
Classes | Namespaces | Macros | Typedefs | Enumerations | Functions
nxbuffer.h File Reference
#include <string>
#include <vector>
#include <yat/utils/String.h>
#include <yat/time/Time.h>
#include <yat/threading/Task.h>
#include <yat/threading/Mutex.h>
#include <yat/utils/Callback.h>
#include <nexuscpp/nxwriter.h>
#include <nexuscpp/impl/nxbuffer.hpp>
Include dependency graph for nxbuffer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nxcpp::OverwriteError
 
struct  nxcpp::WriteNotification
 Write notification. More...
 
class  nxcpp::DataStreamer
 
struct  nxcpp::DataStreamer::Statistics
 Write statistices. More...
 
struct  nxcpp::DataStreamer::Config
 DataStreamer configuration structure. More...
 

Namespaces

 nxcpp
 

Macros

#define __STRING_INCLUDED__
 
#define __VECTOR_INCLUDED__
 
#define NX_ATTR_NODE_NAME   "buf_name"
 
#define NX_ATTR_DATA_SIZE   "buf_size"
 
#define NX_ATTR_SLAB_START   "buf_start"
 
#define NX_ATTR_SLAB_END   "buf_end"
 
#define NX_ATTR_SLAB_STOP   "buf_stop"
 
#define NX_ATTR_ACQ_BATCH   "buf_batch"
 
#define NX_ATTR_DATA_DIM   "buf_dim"
 

Typedefs

typedef std::vector< std::size_t > nxcpp::shape_t
 

Enumerations

enum  nxcpp::DataItemCategory { nxcpp::NX_GENERIC = 1, nxcpp::NX_AXIS = 2, nxcpp::NX_DATA_SIGNAL = 3, nxcpp::NX_DATA = 4 }
 

Functions

 nxcpp::YAT_DEFINE_CALLBACK (WriteNotificationCallback, WriteNotification)
 Write notification callback. More...
 
NEXUSCPP_DECL nxcpp::DataStreamernds_new (const char *dsn, yat::uint32 nas, yat::uint32 nbs)
 
NEXUSCPP_DECL void nds_delete (nxcpp::DataStreamer *ds)
 
NEXUSCPP_DECL int nds_init (nxcpp::DataStreamer *ds, const char *tp, const char *dp)
 
NEXUSCPP_DECL int nds_stop (nxcpp::DataStreamer *ds)
 
NEXUSCPP_DECL int nds_fini (nxcpp::DataStreamer *ds)
 
NEXUSCPP_DECL int nds_add_data_item_0D (nxcpp::DataStreamer *ds, const char *in)
 
NEXUSCPP_DECL int nds_add_data_item_1D (nxcpp::DataStreamer *ds, const char *in, yat::uint32 sd1)
 
NEXUSCPP_DECL int nds_add_data_item_2D (nxcpp::DataStreamer *ds, const char *in, yat::uint32 sd1, yat::uint32 sd2)
 
NEXUSCPP_DECL int nds_set_data_item_memory_mode (nxcpp::DataStreamer *ds, const char *in, yat::uint32 mem_mode)
 
NEXUSCPP_DECL int nds_push_data (nxcpp::DataStreamer *ds, const char *data_item_name, yat::uint32 data_type, yat::uint32 num_items_in_data_buffer, void *data_buffer)
 

Macro Definition Documentation

◆ __STRING_INCLUDED__

#define __STRING_INCLUDED__

◆ __VECTOR_INCLUDED__

#define __VECTOR_INCLUDED__

◆ NX_ATTR_ACQ_BATCH

#define NX_ATTR_ACQ_BATCH   "buf_batch"

◆ NX_ATTR_DATA_DIM

#define NX_ATTR_DATA_DIM   "buf_dim"

◆ NX_ATTR_DATA_SIZE

#define NX_ATTR_DATA_SIZE   "buf_size"

◆ NX_ATTR_NODE_NAME

#define NX_ATTR_NODE_NAME   "buf_name"

◆ NX_ATTR_SLAB_END

#define NX_ATTR_SLAB_END   "buf_end"

◆ NX_ATTR_SLAB_START

#define NX_ATTR_SLAB_START   "buf_start"

◆ NX_ATTR_SLAB_STOP

#define NX_ATTR_SLAB_STOP   "buf_stop"

Function Documentation

◆ nds_add_data_item_0D()

NEXUSCPP_DECL int nds_add_data_item_0D ( nxcpp::DataStreamer ds,
const char *  in 
)
Here is the caller graph for this function:

◆ nds_add_data_item_1D()

NEXUSCPP_DECL int nds_add_data_item_1D ( nxcpp::DataStreamer ds,
const char *  in,
yat::uint32  sd1 
)
Here is the caller graph for this function:

◆ nds_add_data_item_2D()

NEXUSCPP_DECL int nds_add_data_item_2D ( nxcpp::DataStreamer ds,
const char *  in,
yat::uint32  sd1,
yat::uint32  sd2 
)
Here is the caller graph for this function:

◆ nds_delete()

NEXUSCPP_DECL void nds_delete ( nxcpp::DataStreamer ds)
Here is the caller graph for this function:

◆ nds_fini()

NEXUSCPP_DECL int nds_fini ( nxcpp::DataStreamer ds)
Here is the caller graph for this function:

◆ nds_init()

NEXUSCPP_DECL int nds_init ( nxcpp::DataStreamer ds,
const char *  tp,
const char *  dp 
)
Here is the caller graph for this function:

◆ nds_new()

NEXUSCPP_DECL nxcpp::DataStreamer* nds_new ( const char *  dsn,
yat::uint32  nas,
yat::uint32  nbs 
)
Here is the caller graph for this function:

◆ nds_push_data()

NEXUSCPP_DECL int nds_push_data ( nxcpp::DataStreamer ds,
const char *  data_item_name,
yat::uint32  data_type,
yat::uint32  num_items_in_data_buffer,
void *  data_buffer 
)
Here is the caller graph for this function:

◆ nds_set_data_item_memory_mode()

NEXUSCPP_DECL int nds_set_data_item_memory_mode ( nxcpp::DataStreamer ds,
const char *  in,
yat::uint32  mem_mode 
)
Here is the caller graph for this function:

◆ nds_stop()

NEXUSCPP_DECL int nds_stop ( nxcpp::DataStreamer ds)
Here is the caller graph for this function: