Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
GmiTypes.h File Reference
#include <gmi/iface/global.h>
#include <misc/gen/TSet.h>
#include <misc/gen/Value.h>
Include dependency graph for GmiTypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  sf::gmi::AxisValue
 Single position, speed or acceleration value of a specific axis. More...
 

Namespaces

namespace  sf
 
namespace  sf::gmi
 

Typedefs

typedef unsigned long long sf::gmi::IdType
 Type for gathering parameter ID's.
 
typedef TVector< IdTypesf::gmi::IdList
 Type for gathering parameter ID's.
 
typedef TSet< EAxisMovementsf::gmi::AxisMovements
 Bitmap set of axis movements.
 
typedef TSet< EAxisLocationsf::gmi::AxisLocations
 Bitmap set of axis locations.
 

Enumerations

enum  sf::gmi::EAxisValueType : unsigned int { sf::gmi::avtNone = 0 , sf::gmi::avtPosition , sf::gmi::avtVelocity , sf::gmi::avtAcceleration }
 List of axis coordinate types. Use a full namespace type path when specifying a Q_PROPERTY(...) More...
 
enum  sf::gmi::EAxisMovement : unsigned int { sf::gmi::amLinear = 0 , sf::gmi::amRadial = 1 , sf::gmi::amLimited = 2 }
 Movements an axes can make. (are used as bit locations in TAxisMovements) More...
 
enum  sf::gmi::EAxisLocation : int {
  sf::gmi::alNA = -1 , sf::gmi::alX = 0 , sf::gmi::alY , sf::gmi::alZ ,
  sf::gmi::alA , sf::gmi::alB , sf::gmi::alC , sf::gmi::alD ,
  sf::gmi::alE , sf::gmi::alAux1 , sf::gmi::alAux2 , sf::gmi::alLastEntry ,
  sf::gmi::alFirstEntry = 0
}
 Enumeration of axis locations. More...
 

Functions

_GMI_FUNC std::string_view sf::gmi::getAxisName (int axis_loc)
 Gets the name of the given axis location.
 
_GMI_FUNC std::string_view sf::gmi::getAxisUnit (int axis_loc, EAxisValueType type)
 Gets the default axis unit.
 
_GMI_FUNC std::string_view sf::gmi::getAxisValueTypeName (EAxisValueType type)
 Gets name of the given axis value type.
 
_GMI_FUNC std::string_view sf::gmi::getMovementsUnit (const AxisMovements &ams, EAxisValueType type)
 Gets the axis unit based on the movements of the axis.