class rtddManager : public channelHandler Class for channel input from the rtdd.
| | rtddManager (gdsStorage* dat = 0, testpointMgr* TPMgr = 0, double Lazytime = 0) Default constructor |
| | ~rtddManager () Destructor. |
| | connect (const char* server = 0, int port = 0) Connect method. |
| | init (gdsStorage* dat = 0) Init method. |
| | init (testpointMgr* TPMgr) Init method. |
| | areSet () const Are channels set method. |
| | areUsed () const Are channels used method. |
| | set (tainsec_t start = 0, tainsec_t* active = 0) Set method. |
| | set (taisec_t start, taisec_t duration) Set method. |
| | busy () const Busy method. |
| | clear (bool lazy = false) Clear method. |
| | add (const string& name, int* inUseCount = 0) Add method. |
| | add (const rtddChannel& chn, int* inUseCount = 0) Add method. |
| | add (const string& chnname, const rtddChannel::partitionlist& partitions, bool useActiveTime = false) Add method. |
| | add (const string& name, int Decimate1, int Decimate2 = 1, tainsec_t Zoomstart = 0, double Zoomfreq = 0, bool rmvDelay = true) Add method. |
| | del (const string& chnname) Delete method. |
| | del () Delete method. |
| | reset (const string& chnname) Reset method. |
| | reset () Reset method. |
| | timeStamp () const Time stamp method. |
| | maxDelay () const Time delay method. |
| | receivedTime () const Receive time method. |
| | channellist channel list |
| | mux mutex to protect object |
| | storage Pointer to storage object |
| | tpMgr Pointer to test point object |
| | channels list of RTDD channels |
| | lazytime time to keep test points around after clear/delete |
| | cleartime time when a lazy clear occured (0 indicates no clear) |
| | RTmode Real-time mode? |
| | fastUpdate fast/slow NDS writer? |
| | lasttimestamp timestamp of last data transfer |
| | stoptime stop time of transfer (when reading old data) |
| | lasttime actual time when last data transfer occured |
| | nds NDS interface object |
| | find (const string& name) const Find method. |
| | cleanup () Cleanup method. |
Class for reading a set of channels from the real-time data distribution system. This object manages a list of rtddChannel objects. Usage: In general, a diagnostics test should only use add and del methods at the beginning and end of the test, respectively. On the other hand a diagnostics supervisory task should use set and clear to start and stop the data flow.
~rtddManager()
bool connect(const char* server = 0, int port = 0)
port - port number of NDS
bool init(gdsStorage* dat = 0)
bool init(testpointMgr* TPMgr)
bool areSet() const
bool areUsed() const
bool set(tainsec_t start = 0, tainsec_t* active = 0)
active - time when channels become available
bool set(taisec_t start, taisec_t duration)
duration - requested time interval
bool busy() const
bool clear(bool lazy = false)
bool add(const string& name, int* inUseCount = 0)
inUseCount - number of uses (return)
bool add(const rtddChannel& chn, int* inUseCount = 0)
inUseCount - number of uses (return)
bool add(const string& chnname, const rtddChannel::partitionlist& partitions, bool useActiveTime = false)
partitions - partition list
useActiveTime - if true active time will be used
bool add(const string& name, int Decimate1, int Decimate2 = 1, tainsec_t Zoomstart = 0, double Zoomfreq = 0, bool rmvDelay = true)
Decimate1 - first decimation rate (power of 2)
Decimate2 - second decimation rate (power of 2)
Zoomstart - time zero for down-conversion
Zoomfreq - down-conversion frequency
rmvDelay - remove decimation filter delay
bool del(const string& chnname)
bool del()
bool reset(const string& chnname)
bool reset()
tainsec_t timeStamp() const
tainsec_t maxDelay() const
tainsec_t receivedTime() const
typedef std::vector <rtddChannel> channellist
mutable recursivemutex mux
gdsStorage* storage
testpointMgr* tpMgr
channellist channels
double lazytime
double cleartime
bool RTmode
bool fastUpdate
tainsec_t lasttimestamp
tainsec_t stoptime
tainsec_t lasttime
DAQSocket nds
channellist::iterator find(const string& name) const
void cleanup()
alphabetic index hierarchy of classes
Please send questions and comments to sigg_d@ligo-wa.caltech.edu
generated by doc++