AcnetDevice Struct Reference

#include <AcnetDevice.h>

List of all members.

Public Member Functions

 AcnetDevice ()
 AcnetDevice (const char *n)
virtual ~AcnetDevice ()
void clear ()

Public Attributes

int event
int delay
int sec
int msec
double timestamp
char name [8]
int ndata
double * data

Detailed Description

Encapsulate a generic AcnetDevice.

Definition at line 9 of file AcnetDevice.h.


Constructor & Destructor Documentation

AcnetDevice::AcnetDevice (  ) 

Definition at line 2 of file AcnetDevice.cxx.

References clear(), and name.

00002                          {
00003     clear(); name[0] = '\0'; 
00004 }

AcnetDevice::AcnetDevice ( const char *  n  ) 

Definition at line 5 of file AcnetDevice.cxx.

References clear(), and name.

00006 { 
00007     for (int i=0; i<8; ++i) {
00008         name[i] = n[i];
00009         if (! n[i]) break;
00010     }
00011     clear(); 
00012 }

AcnetDevice::~AcnetDevice (  )  [virtual]

Definition at line 13 of file AcnetDevice.cxx.

00013 {}


Member Function Documentation

void AcnetDevice::clear (  ) 

Definition at line 14 of file AcnetDevice.cxx.

References data, delay, msec, ndata, sec, and timestamp.

Referenced by AcnetDevice(), and BmntImp::Fill().

00014                         {
00015     event=delay=sec=msec=ndata = 0;
00016     timestamp = 0.0;
00017     data = 0;
00018 }


Member Data Documentation

Definition at line 10 of file AcnetDevice.h.

Referenced by clear(), and BmntImp::Fill().

Definition at line 10 of file AcnetDevice.h.

Referenced by BmntImp::Fill(), and Npot::Fill().

Definition at line 11 of file AcnetDevice.h.

Referenced by clear(), and BmntImp::Fill().

Definition at line 13 of file AcnetDevice.h.

Referenced by AcnetDevice(), and Swic::SetAcnetDevice().

Definition at line 11 of file AcnetDevice.h.

Referenced by clear(), BmntImp::Fill(), and tortgt_ok().


The documentation for this struct was generated from the following files:

Generated on 16 Apr 2018 for loon by  doxygen 1.6.1