itom 2.0.0
ito::HWMeta Class Reference

Meta-information for Param of type HWPtr. More...

#include <paramMeta.h>

Inheritance diagram for ito::HWMeta:
ito::ParamMeta

List of all members.

Public Member Functions

 HWMeta (uint32 minType)
 constructor
 HWMeta (const char *HWAddInName)
 constructor
 HWMeta (const HWMeta &cpy)
uint32 getMinType () const
 returns type-bitmask which is minimally required by plugin-reference. Default 0.
ito::ByteArray getHWAddInName () const
 returns name of specific hardware plugin

Private Attributes

uint32 m_minType
 type-bitmask which is minimally required. default: 0
ito::ByteArray m_HWName
 zero-terminated name of specific plugin-name or invalid if not defined

Detailed Description

Meta-information for Param of type HWPtr.

An object of this class can be used to parametrize a parameter whose type is ito::ParamBase::HWPtr, that is an instance of another hardware plugin. If set, it is possible to restrict the given hardware plugin to a specific type (e.g. dataIO, dataIO + grabber, actuator...) and/or to limit it to a specific name of the plugin (e.g. SerialIO).

See also:
ito::Param, ito::ParamMeta

Constructor & Destructor Documentation

ito::HWMeta::HWMeta ( uint32  minType) [inline, explicit]

constructor

creates HWMeta-information struct where you can pass a bitmask which consists of values of the enumeration ito::tPluginType. The plugin reference of the corresponding Param should then only accept plugins, where all bits are set, too.

See also:
ito::Plugin, ito::tPluginType
ito::HWMeta::HWMeta ( const char *  HWAddInName) [inline, explicit]

constructor

creates HWMeta-information struct where you can pass a specific name of a plugin, which only is allowed by the corresponding plugin-instance.

See also:
ito::Plugin

Member Function Documentation

uint32 ito::HWMeta::getMinType ( ) const [inline]

returns type-bitmask which is minimally required by plugin-reference. Default 0.

See also:
ito::tPluginType

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends