Actin®  Version 5.2.0
Software for Robotics Simulation and Control
ecUnaryFunctions.h
Go to the documentation of this file.
1 #ifndef ecUnaryFunctions_H_
2 #define ecUnaryFunctions_H_
3 //------------------------------------------------------------------------------
4 // Copyright (c) 2004-2013 Energid Technologies. All rights reserved.
5 //
7 //
8 //------------------------------------------------------------------------------
9 #include <actinCore/actinCore_config.h> // Required to be first header.
10 #include <foundCore/ecTypes.h>
11 #include <functional>
12 
13 typedef std::unary_function<EcReal, EcReal> EcBaseEcRealRealUnaryFunction;
14 
16 class EC_ACTINCORE_FUNCTION_DECL EcRealRealUnaryFunction : public EcBaseEcRealRealUnaryFunction
17 {
18 public:
20  (
21  )
22  {}
23 
26 
30  virtual EcReal operator()
31  (
32  EcReal x
33  )const =0;
34 };
35 
36 #endif // ecUnaryFunctions_H_
A defininition of basic types of data and structs.
#define EC_ACTINCORE_FUNCTION_DECL
function directory
Configuration header for the foundation hierarchy.
EcF64 EcReal
Alias for 64-bit float.
Definition: ecTypes.h:30
A unary function object that takes EcReal as an argument and returns EcReal.
Created by Energid Technologies www.energid.com
Copyright © 2016 Energid. All trademarks mentioned in this document are property of their respective owners.