Reflexxes Motion Libraries
Manual and Documentation (Type II, Version 1.2.6)
|
00001 // ---------------------- Doxygen info ---------------------- 00042 // ---------------------------------------------------------- 00043 // For a convenient reading of this file's source code, 00044 // please use a tab width of four characters. 00045 // ---------------------------------------------------------- 00046 00047 00048 #ifndef __RMLFlags__ 00049 #define __RMLFlags__ 00050 00051 00052 // ---------------------- Doxygen info ---------------------- 00058 // ---------------------------------------------------------- 00059 class RMLFlags 00060 { 00061 00062 protected: 00063 00064 // ---------------------- Doxygen info ---------------------- 00077 // ---------------------------------------------------------- 00078 RMLFlags(void) 00079 { 00080 } 00081 00082 public: 00083 00084 00085 // ---------------------- Doxygen info ---------------------- 00090 // ---------------------------------------------------------- 00091 ~RMLFlags(void) 00092 { 00093 } 00094 00095 00096 // ---------------------- Doxygen info ---------------------- 00104 // ---------------------------------------------------------- 00105 inline bool operator == (const RMLFlags &Flags) const 00106 { 00107 return ( (this->SynchronizationBehavior 00108 == Flags.SynchronizationBehavior) 00109 && (this->EnableTheCalculationOfTheExtremumMotionStates 00110 == Flags.EnableTheCalculationOfTheExtremumMotionStates) ); 00111 } 00112 00113 // ---------------------- Doxygen info ---------------------- 00121 // ---------------------------------------------------------- 00122 inline bool operator != (const RMLFlags &Flags) const 00123 { 00124 return(!(*this == Flags)); 00125 } 00126 00127 00128 // ---------------------- Doxygen info ---------------------- 00138 // ---------------------------------------------------------- 00139 enum SyncBehaviorEnum 00140 { 00146 PHASE_SYNCHRONIZATION_IF_POSSIBLE = 0 , 00152 ONLY_TIME_SYNCHRONIZATION = 1 , 00159 ONLY_PHASE_SYNCHRONIZATION = 2 , 00163 NO_SYNCHRONIZATION = 3 00164 }; 00165 00166 00167 // ---------------------- Doxygen info ---------------------- 00191 // ---------------------------------------------------------- 00192 unsigned char SynchronizationBehavior; 00193 00194 00195 // ---------------------- Doxygen info ---------------------- 00226 // ---------------------------------------------------------- 00227 bool EnableTheCalculationOfTheExtremumMotionStates; 00228 00229 };// class RMLFlags 00230 00231 00232 00233 #endif 00234 00235