示例#1
0
 public Transport_ReceiveFSM()
 {
     /*
      * If there are other variables, context must be constructed last so that all
      * class variables are available if an EntryAction of the InitialState of the
      * statemachine needs them.
      */
     context = new Transport_ReceiveFSMContext(this);
 }
示例#2
0
                protected internal override void SendTransition(Transport_ReceiveFSMContext context)
                {
#if TRACE
                    Trace.WriteLine(
                        "TRANSITION   : Transport_ReceiveFSM_SM.Internally_Generated_State_DO_NOT_USE.SendTransition()");
#endif


                    return;
                }
示例#3
0
                protected internal override void ReceiveTransition(Transport_ReceiveFSMContext context)
                {
#if TRACE
                    Trace.WriteLine(
                        "TRANSITION   : Transport_ReceiveFSM_SM.Receiving.ReceiveTransition()");
#endif


                    return;
                }
		public Transport_ReceiveFSM()
	{

		/*
	 * If there are other variables, context must be constructed last so that all 
	 * class variables are available if an EntryAction of the InitialState of the 
	 * statemachine needs them. 
		 */
		context = new Transport_ReceiveFSMContext(this);

	}
示例#5
0
            protected internal virtual void Default(Transport_ReceiveFSMContext context)
            {
#if TRACE
                Trace.WriteLine(
                    "TRANSITION : Default");
#endif
                throw (
                          new statemap.TransitionUndefinedException(
                              "State: " +
                              context.State.Name +
                              ", Transition: " +
                              context.GetTransition()));
            }
示例#6
0
                protected internal override void ReceiveTransition(Transport_ReceiveFSMContext context)
                {
#if TRACE
                    Trace.WriteLine(
                        "LEAVING STATE   : Transport_ReceiveFSM_SM.Internally_Generated_State_DO_NOT_USE");
#endif


#if TRACE
                    Trace.WriteLine(
                        "ENTER TRANSITION: Transport_ReceiveFSM_SM.Transport_ReceiveFSM_SM.Internally_Generated_State_DO_NOT_USE.ReceiveTransition()");
#endif

#if TRACE
                    Trace.WriteLine(
                        "EXIT TRANSITION : Transport_ReceiveFSM_SM.Transport_ReceiveFSM_SM.Internally_Generated_State_DO_NOT_USE.ReceiveTransition()");
#endif

                    return;
                }
示例#7
0
                protected internal override void ReceiveTransition(Transport_ReceiveFSMContext context)
                {
#if TRACE
                    Trace.WriteLine(
                        "LEAVING STATE   : Transport_ReceiveFSM_SM.Receiving");
#endif


#if TRACE
                    Trace.WriteLine(
                        "ENTER TRANSITION: Transport_ReceiveFSM_SM.Transport_ReceiveFSM_SM.Receiving.ReceiveTransition()");
#endif

#if TRACE
                    Trace.WriteLine(
                        "EXIT TRANSITION : Transport_ReceiveFSM_SM.Transport_ReceiveFSM_SM.Receiving.ReceiveTransition()");
#endif

                    return;
                }
                protected internal override void ReceiveTransition(Transport_ReceiveFSMContext context)
                {
                    #if TRACE
                    Trace.WriteLine(
                        "TRANSITION   : Transport_ReceiveFSM_SM.Receiving.ReceiveTransition()");
                    #endif

                    return;
                }
                protected internal override void SendTransition(Transport_ReceiveFSMContext context)
                {
                    #if TRACE
                    Trace.WriteLine(
                        "TRANSITION   : Transport_ReceiveFSM_SM.Internally_Generated_State_DO_NOT_USE.SendTransition()");
                    #endif

                    return;
                }
 protected internal virtual void SendTransition(Transport_ReceiveFSMContext context)
 {
     Default(context);
 }
 protected internal virtual void Exit(Transport_ReceiveFSMContext context)
 {
 }
 protected internal virtual void Default(Transport_ReceiveFSMContext context)
 {
     #if TRACE
     Trace.WriteLine(
         "TRANSITION : Default");
     #endif
     throw (
         new statemap.TransitionUndefinedException(
             "State: " +
             context.State.Name +
             ", Transition: " +
             context.GetTransition()));
 }
 protected internal virtual void BroadcastLocalTransition(Transport_ReceiveFSMContext context)
 {
     Default(context);
 }
示例#14
0
 protected internal virtual void SendTransition(Transport_ReceiveFSMContext context)
 {
     Default(context);
 }
示例#15
0
 protected internal virtual void BroadcastLocalTransition(Transport_ReceiveFSMContext context)
 {
     Default(context);
 }
示例#16
0
 protected internal virtual void Exit(Transport_ReceiveFSMContext context)
 {
 }