15 #if !defined(_SWITCHINGMODE_H)
18 #define _SWITCHINGMODE_H
21 #if !defined(_SWITCHINGMODE_HH)
23 #include <alma/Enumtcl/Enum.hpp>
26 struct enum_set_traits<SwitchingModeMod::SwitchingMode> :
public enum_set_traiter<SwitchingModeMod::SwitchingMode,7,SwitchingModeMod::CHOPPER_WHEEL> {};
29 class enum_map_traits<SwitchingModeMod::SwitchingMode,void> :
public enum_map_traiter<SwitchingModeMod::SwitchingMode,void> {
38 m_.insert(std::pair<SwitchingModeMod::SwitchingMode,EnumPar<void> >
39 (SwitchingModeMod::NO_SWITCHING,ep((
int)SwitchingModeMod::NO_SWITCHING,
"NO_SWITCHING",
"un-documented")));
40 m_.insert(std::pair<SwitchingModeMod::SwitchingMode,EnumPar<void> >
41 (SwitchingModeMod::LOAD_SWITCHING,ep((
int)SwitchingModeMod::LOAD_SWITCHING,
"LOAD_SWITCHING",
"un-documented")));
42 m_.insert(std::pair<SwitchingModeMod::SwitchingMode,EnumPar<void> >
43 (SwitchingModeMod::POSITION_SWITCHING,ep((
int)SwitchingModeMod::POSITION_SWITCHING,
"POSITION_SWITCHING",
"un-documented")));
44 m_.insert(std::pair<SwitchingModeMod::SwitchingMode,EnumPar<void> >
45 (SwitchingModeMod::PHASE_SWITCHING,ep((
int)SwitchingModeMod::PHASE_SWITCHING,
"PHASE_SWITCHING",
"un-documented")));
46 m_.insert(std::pair<SwitchingModeMod::SwitchingMode,EnumPar<void> >
47 (SwitchingModeMod::FREQUENCY_SWITCHING,ep((
int)SwitchingModeMod::FREQUENCY_SWITCHING,
"FREQUENCY_SWITCHING",
"un-documented")));
48 m_.insert(std::pair<SwitchingModeMod::SwitchingMode,EnumPar<void> >
49 (SwitchingModeMod::NUTATOR_SWITCHING,ep((
int)SwitchingModeMod::NUTATOR_SWITCHING,
"NUTATOR_SWITCHING",
"un-documented")));
50 m_.insert(std::pair<SwitchingModeMod::SwitchingMode,EnumPar<void> >
51 (SwitchingModeMod::CHOPPER_WHEEL,ep((
int)SwitchingModeMod::CHOPPER_WHEEL,
"CHOPPER_WHEEL",
"un-documented")));
54 static std::map<SwitchingModeMod::SwitchingMode,EnumPar<void> >
m_;
56 #define _SWITCHINGMODE_HH
static std::string typeName_
static std::string enumerationDesc_
static std::map< SwitchingModeMod::SwitchingMode, EnumPar< void > > m_
static std::string order_
static std::string xsdBaseType_