AEM
commsMgr.CommsMgr Class Reference

Public Member Functions

def __init__ (self, outq, mailerFunc, countLim=pollDisplayIterations, sv=True)
 
def bidFunc (self, bid)
 
def structFunc (self, s)
 
def showWhatWePut (self)
 
def decodeADCCHN (self, val)
 

Data Fields

 outQ
 <! show values to the world or not More...
 
 mailerFunc
 
 count
 
 modCount
 
 showVals
 
 bid
 

Detailed Description

part of the helper thread, used to process the incoming data structs
and forward them as needed 

Constructor & Destructor Documentation

def commsMgr.CommsMgr.__init__ (   self,
  outq,
  mailerFunc,
  countLim = pollDisplayIterations,
  sv = True 
)

Member Function Documentation

def commsMgr.CommsMgr.bidFunc (   self,
  bid 
)
process the incoming bid, and save it for future use
def commsMgr.CommsMgr.decodeADCCHN (   self,
  val 
)
decode the byte containing ADC id and Channel id into the values
return: adc, channel
def commsMgr.CommsMgr.showWhatWePut (   self)
form a message and send it off
def commsMgr.CommsMgr.structFunc (   self,
  s 
)
process incoming struct, append bid, put it on outQ
if counts are enough, tell the world!

Field Documentation

commsMgr.CommsMgr.bid
commsMgr.CommsMgr.count
commsMgr.CommsMgr.mailerFunc
commsMgr.CommsMgr.modCount
commsMgr.CommsMgr.outQ

<! show values to the world or not

commsMgr.CommsMgr.showVals

The documentation for this class was generated from the following file: