/// <summary> /// Creates a new Gateway with given settings. /// </summary> /// <param name="uOSSettings"></param> public UnityGateway(uOSSettings uOSSettings, Logger logger, UOSApplication app = null) { this.settings = uOSSettings; this.logger = logger; this.reflectionServiceCaller = new ReflectionServiceCaller(uOSSettings, this); this.app = app; }
public DeviceManager( uOSSettings settings, UnityGateway gateway, UpDevice currentDevice) { this.gateway = gateway; this.logger = gateway.logger; this.currentDevice = currentDevice; this.deviceDao = new DeviceDAO(); this.deviceDao.Add(currentDevice); this.driverManager = gateway.driverManager; this.unknownDrivers = new HashSet <string>(); this.dependents = new HashSet <DriverModel>(); }
public DeviceManager( uOSSettings settings, UnityGateway gateway, UpDevice currentDevice) { this.gateway = gateway; this.logger = gateway.logger; this.currentDevice = currentDevice; this.deviceDao = new DeviceDAO(); this.deviceDao.Add(currentDevice); this.driverManager = gateway.driverManager; this.unknownDrivers = new HashSet<string>(); this.dependents = new HashSet<DriverModel>(); }
public DriverManager( uOSSettings settings, UnityGateway gateway, UpDevice currentDevice) { this.settings = settings; this.gateway = gateway; this.logger = gateway.logger; this.driverDao = new DriverDAO(); this.currentDevice = currentDevice; this.instances = new Dictionary <long?, UOSDriver>(); this.toInitialize = new List <string>(); this.driverHash = new Dictionary <string, TreeNode>(); InitTree(); }
public DriverManager( uOSSettings settings, UnityGateway gateway, UpDevice currentDevice) { this.settings = settings; this.gateway = gateway; this.logger = gateway.logger; this.driverDao = new DriverDAO(); this.currentDevice = currentDevice; this.instances = new Dictionary<long?, UOSDriver>(); this.toInitialize = new List<string>(); this.driverHash = new Dictionary<string, TreeNode>(); InitTree(); }
public void Init(IGateway gateway, uOSSettings settings) { }
public void Init(IGateway gateway, uOSSettings settings, string instanceId) { this.gateway = (UnityGateway)gateway; this.logger = this.gateway.logger; }
public void Init(IGateway gateway, uOSSettings settings, string instanceId) { Debug.Log("Initializing Avatar Guide Driver..."); }
public ReflectionServiceCaller(uOSSettings settings, UnityGateway gateway) { this.gateway = gateway; this.logger = gateway.logger; }
public void Init(IGateway gateway, uOSSettings settings) { this.gateway = (UnityGateway) gateway; }
public void Init(IGateway gateway, uOSSettings settings, string instanceId) { this.gateway = (UnityGateway)gateway; this.instanceId = instanceId; pins.Clear(); driverListeners.Clear(); gateway.Register(this, null, DRIVER_NAME, null, UPDATE_EVENT_NAME); }