コード例 #1
0
 /// <summary>
 /// Initializes a new Instance of BusyModulesSharedVariable
 /// </summary>
 /// <param name="owner">The IModule object which this SharedVariable object is bound to</param>
 public BusyModulesSharedVariable(ModuleBlackboard owner)
     : base(owner, "string", "busy", false, -1)
 {
     this.allowedWriters.Clear();
     this.allowedWriters.Add(owner.Name);
 }
コード例 #2
0
		/// <summary>
		/// Initializes a new Instance of ReadySharedVariable
		/// </summary>
		/// <param name="owner">The IModule object which this SharedVariable object is bound to</param>
		public ReadyModulesSharedVariable(ModuleBlackboard owner)
			:base(owner, "string", "ready", false, -1)
		{
			this.allowedWriters.Clear();
			this.allowedWriters.Add(owner.Name);
		}
コード例 #3
0
 /// <summary>
 /// Initializes a new Instance of BusyModulesSharedVariable
 /// </summary>
 /// <param name="owner">The IModule object which this SharedVariable object is bound to</param>
 public VariableListSharedVariable(ModuleBlackboard owner)
     : base(owner, "string", "vars", false, -1)
 {
     this.allowedWriters.Clear();
 }