Mentions légales du service

Skip to content

create new Parameter abstraction to be used in QML.

Old Parameters:

class OV_API IParameter : public IKernelObject

template class TParameterHandler { public:

/** \name Construction */
//@{

/**
 * \brief Default construction, does nothing
 */
TParameterHandler() { }

/**
 * \brief IParameter based construction
 * \param parameter [in] : the parameter to use for the initialization
 *
 * This constructor considers the parameter handler to be
 * connected to the provided parameter. This is equivalent to
 * using the default constructor and call the initialize function
 * with the provided IParameter pointer.
 */
TParameterHandler(IParameter* parameter) : m_parameter(parameter) { }

... }

    • for \c ParameterType_Integer : \c int64_t
    • for \c ParameterType_UInteger : \c uint64_t
    • for \c ParameterType_Boolean : \c bool
    • for \c ParameterType_Float : \c double
    • for \c ParameterType_String : \c CString
    • for \c ParameterType_Identifier : \c CIdentifier
    • for \c ParameterType_Matrix : \c CMatrix*
    • for \c ParameterType_StimulationSet : \c CStimulationSet*
    • for \c ParameterType_MemoryBuffer : \c CMemoryBuffer*
    • for \c ParameterType_Object : \c IObject*
    • for \c ParameterType_Pointer : \c uint8_t*