Open Search
    CommandTuple Class Reference

    #include <commandbase.h>

    Detailed Description

    A parameter id with its own value. Used internally by the PARAM() macro (see below).

    Public Member Functions

     CommandTuple (const InternedId &idx, Data &&data)
     

    Static Public Member Functions

    template<typename T >
    static CommandTuple Create (const InternedId &idx, T &&data)
     

    Public Attributes

    Tuple< InternedId, Data_data
     

    Constructor & Destructor Documentation

    ◆ CommandTuple()

    CommandTuple ( const InternedId idx,
    Data &&  data 
    )

    Member Function Documentation

    ◆ Create()

    static CommandTuple Create ( const InternedId idx,
    T &&  data 
    )
    static

    Member Data Documentation

    ◆ _data

    The parameter id and the corresponding value to be set.