public override bool Equals (IRosMessage msg)
		{
			if ( ReferenceEquals ( msg, null ) )
				return false;

			bool ret = true;
			MessageEvent<T> evt = (MessageEvent<T>) msg;
			ret &= ( evt != null && message == evt.message );

			return ret;
		}
Esempio n. 2
0
 public MessageEvent(MessageEvent <M> rhs, CreateFunction c)
     : base(rhs, c)
 {
     speccreate = () => (M)c();
 }
Esempio n. 3
0
 public MessageEvent(MessageEvent <M> rhs, SpecCreateFunction <M> c)
     : base(rhs, () => c())
 {
     speccreate = c;
 }
Esempio n. 4
0
 public MessageEvent(MessageEvent <M> rhs, bool needcopy) : base(rhs, needcopy)
 {
 }
Esempio n. 5
0
 public MessageEvent(MessageEvent <M> rhs)
     : base(rhs)
 {
 }
 public P getParameter(MessageEvent <P> Event)
 {
     //EDB.WriteLine("getParameter!");
     return((P)Event.message.Deserialize(Event.message.Serialized));
 }
 public SubscriptionCallbackHelperCallParams(MessageEvent <M> e) : base(e)
 {
 }