コード例 #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;
                }
コード例 #4
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);

	}
コード例 #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;
                }
コード例 #8
0
                protected internal override void ReceiveTransition(Transport_ReceiveFSMContext context)
                {
                    #if TRACE
                    Trace.WriteLine(
                        "TRANSITION   : Transport_ReceiveFSM_SM.Receiving.ReceiveTransition()");
                    #endif

                    return;
                }
コード例 #9
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;
                }
コード例 #10
0
 protected internal virtual void SendTransition(Transport_ReceiveFSMContext context)
 {
     Default(context);
 }
コード例 #11
0
 protected internal virtual void Exit(Transport_ReceiveFSMContext context)
 {
 }
コード例 #12
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()));
 }
コード例 #13
0
 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)
 {
 }