yasmine
transition_priority.hpp
Go to the documentation of this file.
1 // //
3 // This file is part of the Seadex yasmine ecosystem (http://yasmine.seadex.de). //
4 // Copyright (C) 2016-2017 Seadex GmbH //
5 // //
6 // Licensing information is available in the folder "license" which is part of this distribution. //
7 // The same information is available on the www @ http://yasmine.seadex.de/Licenses.html. //
8 // //
10 
11 
12 #ifndef TRANSITION_PRIORITY_FDB88A02_ECF6_4BB5_B95A_3F45813BF357
13 #define TRANSITION_PRIORITY_FDB88A02_ECF6_4BB5_B95A_3F45813BF357
14 
15 
16 #include <cstddef>
17 
18 #include "essentials/compatibility/compatibility.hpp"
19 
20 
21 namespace sxy
22 {
23 
24 
25 class compound_transition;
26 
27 
28 class transition_priority SX_FINAL
29 {
30 public:
31  explicit transition_priority( compound_transition& _compound_transition );
32  ~transition_priority() SX_NOEXCEPT;
33  std::size_t get_priority() const;
34  compound_transition& get_compound_transition() const;
35  bool operator<( const transition_priority& _compare_member ) const;
36 
37 
38 private:
39  // Objects of this class have to be copied, so we cannot have a reference member.
40  compound_transition* compound_transition_;
41  std::size_t priority_;
42 };
43 
44 
45 }
46 
47 
48 #endif
Definition: adapter_cpp11.hpp:21