GL Studio Safety Critical Embedded C++ Runtime Library
GlsOdometer::InitParameters Struct Reference

#include <gls_odometer.h>

Public Member Functions

InitParameters CopyWithObjectsArray (GlsDisplayObject *const *newObjects) const
 

Public Attributes

GlsGroup::InitParameters groupInitParameters
 
const GlsUInt32 baseSystem
 
const GlsFloat32 minValue
 
const GlsFloat32 maxValue
 
const GlsFloat32 initialValue
 
const GlsUInt32 orderOfMagnitude
 
const GlsFloat32 rolloverThreshold
 
const Behavior behavior
 
const GeometryType geometryType
 
const GlsFloat32 degreesPerDigit
 
const GlsFloat32 textureScale
 

Detailed Description

intialization parameters for a GlsOdometer

Member Function Documentation

InitParameters GlsOdometer::InitParameters::CopyWithObjectsArray ( GlsDisplayObject *const *  newObjects) const

create a copy of the init parameters with the object array init objects array replaced with the given array of objects

Parameters
newObjectsnew array of ojects
Returns
copy of given init parameters with object array init objects array replaced
Precondition
newObjects != GLS_NULL, newObjects array has initParameters.groupInitParameters.objectArrayInitParameters.numObjects elements
Postcondition
none

Member Data Documentation

const GlsUInt32 GlsOdometer::InitParameters::baseSystem

base of number system for display values ( >0 )

const Behavior GlsOdometer::InitParameters::behavior

odometer behavior

const GlsFloat32 GlsOdometer::InitParameters::degreesPerDigit

rotation in degrees for one digit when in 3D geometry mode

const GeometryType GlsOdometer::InitParameters::geometryType

odometer geometry type

GlsGroup::InitParameters GlsOdometer::InitParameters::groupInitParameters

base class init parameters

const GlsFloat32 GlsOdometer::InitParameters::initialValue

initial display value for odometer ( minValue <= initialValue <= maxValue )

const GlsFloat32 GlsOdometer::InitParameters::maxValue

maximum display value for odometer ( maxValue >= minValue )

const GlsFloat32 GlsOdometer::InitParameters::minValue

minimum display value for odometer ( minValue <= maxValue )

const GlsUInt32 GlsOdometer::InitParameters::orderOfMagnitude

order of magnitude of odometer digits

const GlsFloat32 GlsOdometer::InitParameters::rolloverThreshold

threshold determining when digit rollover occurs ( >0.0f )

const GlsFloat32 GlsOdometer::InitParameters::textureScale

amount to slide texture when in 2D geometry mode