ngc 1.5.0
 
Loading...
Searching...
No Matches
ngcdcsRTD Class Reference

#include <ngcdcsRTD.hpp>

Inheritance diagram for ngcdcsRTD:
ngcbSHMDB

Public Member Functions

 ngcdcsRTD (const char *s, ngcdcs_rtdshm_t *initVal=NULL)
 Constructor.
 
virtual ~ngcdcsRTD ()
 Destructor.
 
void Cfg (int idx, const ngcdcs_rtdacq_t &acq)
 Configure.
 
int GetCfg (int idx, ngcdcs_rtdacq_t *acq)
 Get connection configuration.
 
- Public Member Functions inherited from ngcbSHMDB
 ngcbSHMDB (const char *app, const char *s, void *initBuffer=NULL, size_t size=0)
 Constructor.
 
virtual ~ngcbSHMDB ()
 Destructor.
 
int Initialized ()
 Check if initialization was OK.
 
char * ErrMsg ()
 Error message.
 
int Lock ()
 Lock shared memory.
 
void Unlock ()
 Unlock shared memory.
 
int Set (const void *buffer)
 Set shared memory buffer.
 
int Get (void *buffer)
 Get shared memory buffer.
 
int ShmId ()
 Return shared memory id.
 
size_t Size ()
 Return shared memory size.
 
int SemId ()
 Return semaphore id.
 
int Key ()
 Return IPC-key.
 
const char * KeyFile ()
 Return key-file name.
 
void Remove ()
 Remove database.
 

Additional Inherited Members

- Public Attributes inherited from ngcbSHMDB
void * shmBuf
 Shared memory buffer.
 
- Protected Member Functions inherited from ngcbSHMDB
void Initialized (int flag)
 Set initialization flag.
 

Detailed Description

RTD connection database

Constructor & Destructor Documentation

◆ ngcdcsRTD()

ngcdcsRTD::ngcdcsRTD ( const char * s,
ngcdcs_rtdshm_t * initVal = NULL )
inlineexplicit

Constructor.

◆ ~ngcdcsRTD()

virtual ngcdcsRTD::~ngcdcsRTD ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ Cfg()

void ngcdcsRTD::Cfg ( int idx,
const ngcdcs_rtdacq_t & acq )
inline

Configure.

◆ GetCfg()

int ngcdcsRTD::GetCfg ( int idx,
ngcdcs_rtdacq_t * acq )
inline

Get connection configuration.


The documentation for this class was generated from the following file: