In file ../daq/testchn.h:

class channelHandler

Class for channel handling.

Inheritance:


Public Fields

char siteDefault
default site idenstifier
char siteForce
mandatory site identifier
char ifoDefault
default ifo identifier
char ifoForce
mandatory ifo identifier

Public Methods

explicit channelHandler (char SiteDefault = SITE_PREFIX[0], char SiteForce = ' ', char IfoDefault = IFO_PREFIX[0], char IfoForce = ' ')
Default constructor.
bool setSiteIfo (char SiteDefault, char SiteForce, char IfoDefault, char IfoForce)
Init method.
bool channelInfo (const string& name, gdsChnInfo_t& info) const
info method.
string channelName (const string& name) const
channel name method.

Documentation

Class for handling channel names and channel information. This object maintains default and mandatory identifiers for site and interferomter.

explicit channelHandler(char SiteDefault = SITE_PREFIX[0], char SiteForce = ' ', char IfoDefault = IFO_PREFIX[0], char IfoForce = ' ')
Constructs a channel handler.
Parameters:
SiteDefault - default site idenstifier
SiteForce - mandatory site identifier
IfoDefault - default ifo identifier
IfoForce - mandatory ifo identifier

bool setSiteIfo(char SiteDefault, char SiteForce, char IfoDefault, char IfoForce)
Initializes the default and mandatory site and interferometer prefixes.
Returns:
true if successful
Parameters:
SiteDefault - default site idenstifier
SiteForce - mandatory site identifier
IfoDefault - default ifo identifier
IfoForce - mandatory ifo identifier

bool channelInfo(const string& name, gdsChnInfo_t& info) const
Obtaines channel information. Convinience function which makes sure channel names are expanded correctly.
Returns:
true if successful
Parameters:
name - channel name
info - channel info

string channelName(const string& name) const
Returns an expanded channel name. The channel name is expanded by using the default and mandatory idenfiers for site and interferomter.
Returns:
expanded channel name
Parameters:
name - channel name

char siteDefault
default site idenstifier

char siteForce
mandatory site identifier

char ifoDefault
default ifo identifier

char ifoForce
mandatory ifo identifier


Direct child classes:
rtddManager
channelname
excitationManager
Author:
DS, May 99

alphabetic index hierarchy of classes


Please send questions and comments to sigg_d@ligo-wa.caltech.edu


generated by doc++