• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dawagner / parameter-framework
75%
master: 78%

Build:
Build:
LAST BUILD BRANCH: integerparam-template
DEFAULT BRANCH: master
Repo Added 03 Apr 2015 10:15AM UTC
Files 130
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH component-arrays
branch: component-arrays
CHANGE BRANCH
x
Reset
  • component-arrays
  • Disable_fix_point_test_if_no_python_bindings
  • Wconversion-enabler
  • access-elements-as-binary
  • add-get-set-elementXML-commands
  • add-missing-export-FormattedSubsystemObject
  • android-darwin
  • android-m
  • appveyor
  • appveyor-build-more-components
  • appveyor-visualstudio-2015
  • archive-export-version
  • better-libxml2-error-messages
  • c++11-ctors-and-dtors-features
  • change-utility-header-install-dir
  • check-duplicate-criterion-values
  • client-simulator
  • client-simulator-rework
  • cmake-misc-fixes
  • cmake-multiproject-fix
  • cmake-prefix-path-usage
  • convert-to-bytes
  • coveralls-test
  • criterion-overflow-check
  • criterion-rework-step-2
  • criterion-rework-step-3
  • criterion-unit-tests
  • david-tag
  • delme
  • disambiguate-make-unique
  • doc-add-missing-folders
  • fix-android-clang+darwin
  • fix-blackboard-api-inconsistency
  • fix-coveralls
  • fix-criterion-display
  • fix-double-negative-infinity
  • fix-dynamic-lib-utility-windows
  • fix-enum-parameter-casts
  • fix-enumparam-name-attribute
  • fix-floats-limits-tests
  • fix-getElementBytes
  • fix-log-on-list
  • fix-logger-private-member-leakage
  • fix-makeEncodable
  • fix-python-sample-crash
  • fix-setParameter-array
  • fix-skeleton-plugin-build
  • fix-uninitialized-members
  • fix-unused-results
  • fix_android_darwin
  • fix_illegal_integer_conversions
  • floating-point
  • for-seb
  • forward-libxml2-error-messages
  • freeze-catch-version
  • improve-build-experience
  • includes-cleanup
  • integerparam-template
  • jules-command-parser
  • jules-criterion-rework_rebased-next
  • make-command-interface-public
  • master
  • master-candidate
  • misc-doxygen-tweaks
  • missing-client-doxygen
  • more-compilation-help-in-readme
  • move-tmpfile-out-of-libparameter
  • new-c++-domain-generator
  • no-Werror-by-default
  • no-stlport
  • optional-Werror-and-release-build
  • poc-memory-profiling
  • port-add-Wconversion-flag
  • relax-windows-errors
  • remove-big-endian-subsystems
  • remove-binary-settings
  • remove-binary-settings-storage
  • remove-deprecated
  • remove-mappingdata-xmlsink-inheritance
  • remove-some-dead-code
  • remove-some-useless-util-methods
  • remove-unused-attribute
  • remove-utility-test-from-coverage
  • remove-utility-tostring-use-c++11
  • requirements
  • rework-getattribute
  • rework-parameter-handle
  • rework-plugin-entrypoint-api
  • rework-plugin-entrypoint-api-WIP
  • selectively-export-symbols
  • simplify-empty-ctors-and-dtors
  • soaresm-cmake_clientSimulator
  • some-coveralls-fixes
  • test-skeleton-plugin
  • test-skeleton-plugin-WIP
  • tokenizer-control-merging-separators
  • travis-no-container-based
  • uncaught-exception
  • unify-access-contexts
  • unsigned-int-criterion-api
  • update-doxygen
  • v2.6.0+no-stlport
  • windows-fileversion-attribute
  • windows_port
  • wip
  • xml-generation-fixes-and-tests
  • xmlgeneration-bugfix
  • xmlgeneration-check-conflicting-elements
  • xmlgenerator-smoketest

pending completion
431

push

travis-ci

David Wagner
Allow ArrayLength attribute in Component tags

Numerical parameters as well as ParameterBlocks can have an "ArrayLength"
attribute that instantiate as many identical parameters or parameter blocks.

This is now also possible for Component instances (not types). When used, a
ParameterBlock is created with the name of the arrayed Component and as many
Components will be created with their names being "0", "1", "2", ...

    *** Use with caution! ***

You shouldn't define any context or instantiation mapping at or below the level
of the "arrayed" component. This also concerns the Component's type (since the
Component will inherit its type's mapping).

In other words, only use "ArrayLength" on components that do not have any
mapping and which content does not have any mapping either.

DO:

<ComponentType Name="MyType">
    <IntegerParameter Name="some_int" Size="8"/>
    <FixedPointParameter Name="some_fp" Size="8" Integral="1" Fractional="6"/>
</ComponentType>
<InstanceDefinition>
    <Component Type="MyType" ArrayLength="2"/>
</InstanceDefinition>

DON'T:

<ComponentType Name="MyType" Mapping="Ctx1:foo" Extends="SomeTypeWithMapping">
    <IntegerParameter Name="some_int" Size="8" Mapping="Instance:1"/>
    <FixedPointParameter Name="some_fp" Size="8" Integral="1" Fractional="6" Mapping="Instance:2"/>
</ComponentType>
<InstanceDefinition>
    <Component Type="MyType" ArrayLength="2" Mapping="Ctx2:bar"/>
</InstanceDefinition>

Signed-off-by: David Wagner <david.wagner@intel.com>

5004 of 6679 relevant lines covered (74.92%)

3735.24 hits per line

Relevant lines Covered
Build:
Build:
6679 RELEVANT LINES 5004 COVERED LINES
3735.24 HITS PER LINE
Source Files on component-arrays
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
431 component-arrays Allow ArrayLength attribute in Component tags Numerical parameters as well as ParameterBlocks can have an "ArrayLength" attribute that instantiate as many identical parameters or parameter blocks. This is now also possible for Component instance... push 20 Nov 2015 01:05PM UTC David Wagner travis-ci pending completion  
430 component-arrays Allow ArrayLength attribute in Component tags Numerical parameters as well as ParameterBlocks can have an "ArrayLength" attribute that instantiate as many identical parameters or parameter blocks. This is now also possible for Component instance... push 20 Nov 2015 12:55PM UTC David Wagner travis-ci pending completion  
421 component-arrays Allow ArrayLength attribute in Component tags Numerical parameters as well as ParameterBlocks can have an "ArrayLength" attribute that instantiate as many identical parameters or parameter blocks. This is now also possible for Component instance... push 19 Nov 2015 02:43PM UTC dawagner travis-ci pending completion  
391 component-arrays Allow ArrayLength attribute in Component tags message TODO Use with caution! You shouldn't define any context or instantiation mapping at or below the level of the "arrayed" component. This also concerns the Component's type (since the Componen... push 05 Nov 2015 04:51PM UTC dawagner travis-ci pending completion  
390 component-arrays Allow ArrayLength attribute in Component tags TODO Signed-off-by: David Wagner <david.wagner@intel.com> push 04 Nov 2015 04:51PM UTC dawagner travis-ci pending completion  
See All Builds (362)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc