@@ -90,10 +90,10 @@ Value Setter<E, unsigned>::doExecute() {
90
90
// Template specialization: unsigned long
91
91
//
92
92
template <class E >
93
- class Setter <E, unsigned long > : public Command {
93
+ class Setter <E, uint64_t > : public Command {
94
94
public:
95
95
// / Pointer to method that sets parameter of type unsigned long
96
- typedef void (E::*SetterMethod)(const unsigned long &);
96
+ typedef void (E::*SetterMethod)(const uint64_t &);
97
97
// / Constructor
98
98
Setter (E &entity, SetterMethod setterMethod, const std::string &docString);
99
99
@@ -105,17 +105,17 @@ class Setter<E, unsigned long> : public Command {
105
105
}; // Class Setter
106
106
107
107
template <class E >
108
- Setter<E, unsigned long >::Setter(E &entity, SetterMethod setterMethod,
108
+ Setter<E, uint64_t >::Setter(E &entity, SetterMethod setterMethod,
109
109
const std::string &docString)
110
110
: Command(entity, boost::assign::list_of(Value::UNSIGNEDLONGINT),
111
111
docString),
112
112
setterMethod_ (setterMethod) {}
113
113
114
114
template <class E >
115
- Value Setter<E, unsigned long >::doExecute() {
115
+ Value Setter<E, uint64_t >::doExecute() {
116
116
const std::vector<Value> &values = getParameterValues ();
117
117
// Get parameter
118
- unsigned long value = values[0 ].value ();
118
+ uint64_t value = values[0 ].value ();
119
119
E &entity = static_cast <E &>(owner ());
120
120
(entity.*setterMethod_)(value);
121
121
return Value ();
0 commit comments