European
Southern
Observatory

ESO — Reaching New Heights in Astronomy

Countries taking part in the ESO

VLT Software Documentation

mswINS_CONFIG_TABLE Class Reference

See man page mswINS_CONFIG_TABLE(4)
More...

#include <mswINS_CONFIG_TABLE.h>

Inheritance diagram for mswINS_CONFIG_TABLE:
Inheritance graph
[legend]
Collaboration diagram for mswINS_CONFIG_TABLE:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 mswINS_CONFIG_TABLE (const dbSYMADDRESS dbPoint=dbEMPTY)
virtual ~mswINS_CONFIG_TABLE ()
ccsCOMPL_STAT SetInsId (const mswINSID &newId)
ccsCOMPL_STAT SetInsData (const mswINSID &ins, const char *msgBuffer)

Detailed Description

See man page mswINS_CONFIG_TABLE(4)
Manpage of mswINS_CONFIG_TABLE

mswINS_CONFIG_TABLE

Section: Devices and Network Interfaces (4)
Updated: 2012-04-23 10:09
Index Return to man pages list
 

NAME

mswINS_CONFIG_TABLE - R/W access class to instruments' configuration

 

SYNOPSIS


  #include "mswINS_CONFIG_TABLE.h"

  class mswINS_CONFIG_TABLE : public mswINS_CONFIG_DATA
  {
    public:
      mswINS_CONFIG_TABLE(const dbSYMADDRESS dbPoint = dbEMPTY);
      virtual ~mswINS_CONFIG_TABLE();

      ccsCOMPL_STAT SetInsId(const mswINSID &newId);
      ccsCOMPL_STAT SetInsData(const mswINSID& ins, const char *msgBuffer);
  };

 

PARENT CLASS


public mswINS_CONFIG_DATA

 

DESCRIPTION


This class is used by msw applications to access in read and write mode
the instrument configuration table on the database.
The read services are provided by the base class, while here are implemented
the write services.

This has been done in order to be able to put the base class in a TCS-public
library, to provide read access to TCS clients, but keeping write access
hidden and reserved for the msw module.

 

PROTECTED METHODS


  mswINS_CONFIG_TABLE(const dbSYMADDRESS dbPoint = dbEMPTY);
    The constructor provides a default value for the dbPoint
    parameter to behave like two distinct constructors: one with
    no parameters and one with a dbPoint parameter.
    The first one defines the online database support point calling
    the standard tcsDbRoot(4) function and appenting the
    default relative path from the TCS database root point,
    assuming a complete default TCS database structure.
    This is what will be generally used.
    The second one receives as parameter the symbolic address of
    online database support point for the object, i.e. the point
    where the object can find configuration and run time values.
    This will be typically used for testing purposes.

  virtual ~mswINS_CONFIG_TABLE();

  ccsCOMPL_STAT SetInsId(const mswINSID &newId);
    Make the given instrument the selected one, writing its id in
    the database.

  ccsCOMPL_STAT SetInsData(const mswINSID& ins, const char *msgBuffer);
    Writes in the database a new record for the given instrument,
    based on its ID.
    If a record for the given instrument already exist, it is overwritten;
    otherwise a new record is added.
    The instrument data is passed as a string directly to an instance of
    mswINS_DATA_RECORD(4), in the format dafined for the message buffer
    of the command SETINSD. See the CDT for the mswControl(2) process for
    details



 

Index

NAME
SYNOPSIS
PARENT CLASS
DESCRIPTION
PROTECTED METHODS

This document was created by man2html, using the manual pages.
Time: 10:09:28 GMT, April 23, 2012

Definition at line 23 of file mswINS_CONFIG_TABLE.h.


Constructor & Destructor Documentation

mswINS_CONFIG_TABLE::mswINS_CONFIG_TABLE ( const dbSYMADDRESS  dbPoint = dbEMPTY  ) 
mswINS_CONFIG_TABLE::~mswINS_CONFIG_TABLE (  )  [virtual]

Definition at line 125 of file mswINS_CONFIG_TABLE.C.


Member Function Documentation

ccsCOMPL_STAT mswINS_CONFIG_TABLE::SetInsData ( const mswINSID ins,
const char *  msgBuffer 
)
ccsCOMPL_STAT mswINS_CONFIG_TABLE::SetInsId ( const mswINSID newId  ) 

The documentation for this class was generated from the following files:
Generated on Mon Apr 23 10:12:39 2012 for INTROOT API by doxygen 1.6.3