Skip to main content

ComputerInfo

ComputerInfo

Information about an available computer.

#include <ComputerRegistry.hpp>

Public Functions

Name
ComputerInfo()
ComputerInfo(std::string name_, std::string description_, std::type_index outputType_, std::string outputTypeName_, RowSelectorType rowSelector_, std::type_index sourceType_)
ComputerInfo(std::string name_, std::string description_, std::type_index outputType_, std::string outputTypeName_, RowSelectorType rowSelector_, std::type_index sourceType_, std::vector< std::unique_ptr< IParameterDescriptor > > parameterDescriptors_)
ComputerInfo(std::string name_, std::string description_, std::type_index outputType_, std::string outputTypeName_, std::type_index elementType_, std::string elementTypeName_, RowSelectorType rowSelector_, std::type_index sourceType_)
ComputerInfo(std::string name_, std::string description_, std::type_index outputType_, std::string outputTypeName_, std::type_index elementType_, std::string elementTypeName_, RowSelectorType rowSelector_, std::type_index sourceType_, std::vector< std::unique_ptr< IParameterDescriptor > > parameterDescriptors_)
bool hasParameters() const
ComputerInfo(ComputerInfo const & other)
ComputerInfo & operator=(ComputerInfo const & other)

Public Attributes

Name
std::string name
Display name for the computer.
std::string description
Human-readable description.
std::type_index outputType
Type of the computed output.
std::string outputTypeName
Human-readable name of the output type.
bool isVectorType
True if output type is std::vector.
std::type_index elementType
For vector types, the element type; same as outputType for non-vectors.
std::string elementTypeName
Human-readable name of the element type.
RowSelectorType requiredRowSelector
Required row selector type.
std::type_index requiredSourceType
Required data source interface type.
std::vector< std::unique_ptr< IParameterDescriptor > > parameterDescriptors
Parameter descriptors for UI generation.
bool isMultiOutput
True if computer produces multiple outputs of same type.
std::function< std::vector< std::string >(std::map< std::string, std::string > const &)> makeOutputSuffixes

Public Functions Documentation

function ComputerInfo

inline ComputerInfo()

function ComputerInfo

inline ComputerInfo(
    std::string name_,
    std::string description_,
    std::type_index outputType_,
    std::string outputTypeName_,
    RowSelectorType rowSelector_,
    std::type_index sourceType_
)

function ComputerInfo

inline ComputerInfo(
    std::string name_,
    std::string description_,
    std::type_index outputType_,
    std::string outputTypeName_,
    RowSelectorType rowSelector_,
    std::type_index sourceType_,
    std::vector< std::unique_ptr< IParameterDescriptor > > parameterDescriptors_
)

function ComputerInfo

inline ComputerInfo(
    std::string name_,
    std::string description_,
    std::type_index outputType_,
    std::string outputTypeName_,
    std::type_index elementType_,
    std::string elementTypeName_,
    RowSelectorType rowSelector_,
    std::type_index sourceType_
)

function ComputerInfo

inline ComputerInfo(
    std::string name_,
    std::string description_,
    std::type_index outputType_,
    std::string outputTypeName_,
    std::type_index elementType_,
    std::string elementTypeName_,
    RowSelectorType rowSelector_,
    std::type_index sourceType_,
    std::vector< std::unique_ptr< IParameterDescriptor > > parameterDescriptors_
)

function hasParameters

inline bool hasParameters() const

function ComputerInfo

inline ComputerInfo(
    ComputerInfo const & other
)

function operator=

inline ComputerInfo & operator=(
    ComputerInfo const & other
)

Public Attributes Documentation

variable name

std::string name;

Display name for the computer.

variable description

std::string description;

Human-readable description.

variable outputType

std::type_index outputType;

Type of the computed output.

variable outputTypeName

std::string outputTypeName;

Human-readable name of the output type.

variable isVectorType

bool isVectorType;

True if output type is std::vector.

variable elementType

std::type_index elementType;

For vector types, the element type; same as outputType for non-vectors.

variable elementTypeName

std::string elementTypeName;

Human-readable name of the element type.

variable requiredRowSelector

RowSelectorType requiredRowSelector;

Required row selector type.

variable requiredSourceType

std::type_index requiredSourceType;

Required data source interface type.

variable parameterDescriptors

std::vector< std::unique_ptr< IParameterDescriptor > > parameterDescriptors;

Parameter descriptors for UI generation.

variable isMultiOutput

bool isMultiOutput = false;

True if computer produces multiple outputs of same type.

variable makeOutputSuffixes

std::function< std::vector< std::string >(std::map< std::string, std::string > const &)> makeOutputSuffixes;

Updated on 2026-11-13 at 20:25:39 +0000