TwiceAsNice  2019-02-18
Classes | Typedefs | Functions | Variables
test Namespace Reference

Classes

class  FakeWutSocket
 

Typedefs

typedef boost::shared_ptr< FakeWutSocketFakeWutSocketPtr
 

Functions

def connectBcu (prefix)
 

Variables

 level
 
 config = Application.config()
 
 numberOfDistBlocks = config.node("BCU.IM.MUM_DIST_BLOCK").Int
 
 pushpullBlockSize = config.node("BCU.IM.PUSH_PULL_BLOCK_SIZE").Int
 
 skip = config.node("ADSEC.SKIP").Int
 
 endpoint = config.node("ADSEC.ENDPOINT").String
 
 framerate = float(config.node("ADSEC.FRAMERATE").Int)
 
 diagChanDecimation = config.node("ADSEC.DECIM").Int
 
 RestoreShape = config.node("ADSEC.RESTORE").Bool
 
 ShapeFile = config.node("ADSEC.SHAPEFILE").String
 
 ovsFactor = config.node("ADSEC.OVS").Float
 
 ovs = float(framerate) * ovsFactor
 
int maxovs = 600
 
 numberOfModes = config.node("BCU.IM.NUM_MODES").Int
 
 prefix = config.node("BCU.PREFIX").String
 
def bcuCtrl = connectBcu( prefix )
 
 app = NiceApplication.Application(sys.argv)
 
 DM = LaosWfcXineticsService.Xinetics.create("REMOTE.LAOS.WFC.XINETICS.HWS.SX.SVC")
 
 b = NiceProperty.SeqInt()
 

Typedef Documentation

◆ FakeWutSocketPtr

typedef boost::shared_ptr< FakeWutSocket > test::FakeWutSocketPtr

Function Documentation

◆ connectBcu()

def test.connectBcu (   prefix)
Creates an instance of the BcuCtrl helper class for calibration.

Parameters
----------
prefix :  string 
    Config prefix of Bcu service

Variable Documentation

◆ app

test.app = NiceApplication.Application(sys.argv)

◆ b

test.b = NiceProperty.SeqInt()

◆ bcuCtrl

def test.bcuCtrl = connectBcu( prefix )

◆ config

test.config = Application.config()

◆ diagChanDecimation

test.diagChanDecimation = config.node("ADSEC.DECIM").Int

◆ DM

test.DM = LaosWfcXineticsService.Xinetics.create("REMOTE.LAOS.WFC.XINETICS.HWS.SX.SVC")

◆ endpoint

test.endpoint = config.node("ADSEC.ENDPOINT").String

◆ framerate

test.framerate = float(config.node("ADSEC.FRAMERATE").Int)

◆ level

test.level

◆ maxovs

int test.maxovs = 600

◆ numberOfDistBlocks

test.numberOfDistBlocks = config.node("BCU.IM.MUM_DIST_BLOCK").Int

◆ numberOfModes

test.numberOfModes = config.node("BCU.IM.NUM_MODES").Int

◆ ovs

test.ovs = float(framerate) * ovsFactor

◆ ovsFactor

test.ovsFactor = config.node("ADSEC.OVS").Float

◆ prefix

test.prefix = config.node("BCU.PREFIX").String

◆ pushpullBlockSize

test.pushpullBlockSize = config.node("BCU.IM.PUSH_PULL_BLOCK_SIZE").Int

◆ RestoreShape

test.RestoreShape = config.node("ADSEC.RESTORE").Bool

◆ ShapeFile

test.ShapeFile = config.node("ADSEC.SHAPEFILE").String

◆ skip

test.skip = config.node("ADSEC.SKIP").Int