MASA-Core
Classes | Defines | Typedefs
capabilities.hpp File Reference

Go to the source code of this file.

Classes

struct  aligner_capabilities_t
 Struct that informs to the MASA framework which capabilities the MASA extension implements. More...

Defines

#define NOT_SUPPORTED   (0)
 Use this constant for the unsupported capabilities by the Aligner.
#define SUPPORTED   (1)
 Use this constant for the supported capabilities by the Aligner.

Typedefs

typedef struct
aligner_capabilities_t 
aligner_capabilities_t
 Struct that informs to the MASA framework which capabilities the MASA extension implements.

Define Documentation

#define NOT_SUPPORTED   (0)

Use this constant for the unsupported capabilities by the Aligner.

Definition at line 28 of file capabilities.hpp.

#define SUPPORTED   (1)

Use this constant for the supported capabilities by the Aligner.

Definition at line 33 of file capabilities.hpp.


Typedef Documentation

Struct that informs to the MASA framework which capabilities the MASA extension implements.

It is a development choice to implement or not all the capabilities, but there are some MASA features that will not work if some capability is missing (or if it is incorrectly implemented).

Each capability is associated with a requirement of the IAligner interface. If the IAligner implementation is fully compliant with a given requirement, we say that it implements that capability. In this case, set the boolean attributes to SUPPORTED, otherwise set it to NOT_SUPPORTED.

Note that even if the IAligner implements a given capability, it must only execute that capability if some conditional test is true. Each capability has its own conditional requirement that may be obtained by the associated IManager interface (see IAligner::setManager) or by the AbstractAligner protected methods.

Besides the boolean attributes, there are other parameters that indicates limits of other aligner properties.

See the description of each capability in this page, with its requirements and conditional tests.