Changeset 7514 for code/branches/ois_update/src/libraries/core
- Timestamp:
- Oct 9, 2010, 3:36:51 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ois_update/src/libraries/core/command/Functor.h
r7401 r7514 186 186 187 187 public: 188 virtual ~Functor() {} 189 188 190 /// Calls the function-pointer with up to five arguments. In case of a member-function, the assigned object-pointer is used to call the function. @return Returns the return-value of the function (if any; MT_Type::Null otherwise) 189 191 virtual MultiType operator()(const MultiType& param1 = MT_Type::Null, const MultiType& param2 = MT_Type::Null, const MultiType& param3 = MT_Type::Null, const MultiType& param4 = MT_Type::Null, const MultiType& param5 = MT_Type::Null) = 0; … … 248 250 /// Constructor: Stores the object-pointer. 249 251 FunctorMember(O* object = 0) : object_(object) {} 252 virtual ~FunctorMember() {} 250 253 251 254 /// Calls the function-pointer with up to five arguments and an object. In case of a static-function, the object can be NULL. @return Returns the return-value of the function (if any; MT_Type::Null otherwise)
Note: See TracChangeset
for help on using the changeset viewer.