/*
 * $Id: Priority_transition.cpp 88 2008-12-10 18:31:39Z rosiere $
 *
 * [ Description ]
 * 
 */

#include "Behavioural/Generic/Priority/include/Priority.h"

namespace morpheo                    {
namespace behavioural {
namespace generic {
namespace priority {
  
#undef  FUNCTION
#define FUNCTION "Priority::transition"
  void Priority::transition (void)
  {
    log_begin(Priority,FUNCTION);

    (this->*transition_priority      ) ();
    _select.clear(); // flush list
    (this->*transition_load_balancing) ();
    
    log_end(Priority,FUNCTION);
  };

}; // end namespace priority
}; // end namespace generic
}; // end namespace behavioural
}; // end namespace morpheo              
