2
0

InputLVar.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /* Copyright 2010 Juan Rada-Vilela
  2. Licensed under the Apache License, Version 2.0 (the "License");
  3. you may not use this file except in compliance with the License.
  4. You may obtain a copy of the License at
  5. http://www.apache.org/licenses/LICENSE-2.0
  6. Unless required by applicable law or agreed to in writing, software
  7. distributed under the License is distributed on an "AS IS" BASIS,
  8. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  9. See the License for the specific language governing permissions and
  10. limitations under the License.
  11. */
  12. /*
  13. * File: InputLVar.h
  14. * Author: jcrada
  15. *
  16. * Created on November 1, 2009, 2:25 PM
  17. */
  18. #ifndef FL_INPUTLVAR_H
  19. #define FL_INPUTLVAR_H
  20. #include "LinguisticVariable.h"
  21. namespace fl {
  22. class InputLVar : public LinguisticVariable {
  23. private:
  24. flScalar _input;
  25. public:
  26. InputLVar();
  27. InputLVar(const std::string& name);
  28. virtual ~InputLVar();
  29. virtual void setInput(flScalar input);
  30. virtual flScalar input() const;
  31. };
  32. }
  33. #endif /* FL_INPUTLVAR_H */