Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

EMC_AUX_STAT Class Reference

#include <emc.hh>

Inheritance diagram for EMC_AUX_STAT:

Inheritance graph
[legend]
Collaboration diagram for EMC_AUX_STAT:

Collaboration graph
[legend]

Public Methods

 EMC_AUX_STAT ()
void update (CMS *cms)
EMC_AUX_STAT operator= (EMC_AUX_STAT s)

Data Fields

int estop
int estopIn
unsigned char dout [EMC_AUX_MAX_DOUT]
unsigned char din [EMC_AUX_MAX_DIN]
double aout [EMC_AUX_MAX_AOUT]
double ain [EMC_AUX_MAX_AIN]

Constructor & Destructor Documentation

EMC_AUX_STAT::EMC_AUX_STAT  
 

Definition at line 156 of file emcops.cc.

00156                            :
00157   EMC_AUX_STAT_MSG(EMC_AUX_STAT_TYPE, sizeof(EMC_AUX_STAT))
00158 {
00159   int t;
00160 
00161   estop = 1;
00162 
00163   for (t = 0; t < EMC_AUX_MAX_DOUT; t++)
00164     {
00165       dout[t] = 0;
00166     }
00167 
00168   for (t = 0; t < EMC_AUX_MAX_DIN; t++)
00169     {
00170       din[t] = 0;
00171     }
00172 
00173   for (t = 0; t < EMC_AUX_MAX_AOUT; t++)
00174     {
00175       aout[t] = 0;
00176     }
00177 
00178   for (t = 0; t < EMC_AUX_MAX_AIN; t++)
00179     {
00180       ain[t] = 0;
00181     }
00182 }


Member Function Documentation

EMC_AUX_STAT EMC_AUX_STAT::operator= EMC_AUX_STAT    s
 

Definition at line 226 of file emcops.cc.

00227 {
00228   int t;
00229 
00230   estop = s.estop;
00231 
00232   for (t = 0; t < EMC_AUX_MAX_DOUT; t++)
00233     {
00234       dout[t] = s.dout[t];
00235     }
00236 
00237   for (t = 0; t < EMC_AUX_MAX_DIN; t++)
00238     {
00239       din[t] = s.din[t];
00240     }
00241 
00242   for (t = 0; t < EMC_AUX_MAX_AOUT; t++)
00243     {
00244       aout[t] = s.aout[t];
00245     }
00246 
00247   for (t = 0; t < EMC_AUX_MAX_AIN; t++)
00248     {
00249       ain[t] = s.ain[t];
00250     }
00251 
00252   return s;
00253 }

void EMC_AUX_STAT::update CMS *    cms
 

Reimplemented from EMC_AUX_STAT_MSG.

Definition at line 1403 of file emc.cc.

Referenced by EMC_IO_STAT::update().

01404 {
01405 
01406         EMC_AUX_STAT_MSG::update(cms);
01407         cms->update(estop);
01408         cms->update(estopIn);
01409         cms->update(dout,4);
01410         cms->update(din,4);
01411         cms->update(aout,32);
01412         cms->update(ain,32);
01413 
01414 }


Field Documentation

double EMC_AUX_STAT::ain[EMC_AUX_MAX_AIN]
 

Definition at line 2231 of file emc.hh.

Referenced by EMC_AUX_MODULE::POST_PROCESS(), and operator=().

double EMC_AUX_STAT::aout[EMC_AUX_MAX_AOUT]
 

Definition at line 2230 of file emc.hh.

Referenced by EMC_AUX_MODULE::POST_PROCESS(), and operator=().

unsigned char EMC_AUX_STAT::din[EMC_AUX_MAX_DIN]
 

Definition at line 2228 of file emc.hh.

Referenced by EMC_AUX_MODULE::POST_PROCESS(), and operator=().

unsigned char EMC_AUX_STAT::dout[EMC_AUX_MAX_DOUT]
 

Definition at line 2227 of file emc.hh.

Referenced by EMC_AUX_MODULE::POST_PROCESS(), and operator=().

int EMC_AUX_STAT::estop
 

Definition at line 2224 of file emc.hh.

Referenced by EMC_AUX_MODULE::ESTOP_OFF(), EMC_AUX_MODULE::ESTOP_ON(), EMC_AUX_MODULE::POST_PROCESS(), and operator=().

int EMC_AUX_STAT::estopIn
 

Definition at line 2225 of file emc.hh.

Referenced by EMC_AUX_MODULE::ESTOP_OFF(), and EMC_AUX_MODULE::POST_PROCESS().


The documentation for this class was generated from the following files:
Generated on Sun Dec 2 15:28:43 2001 for EMC by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001