Builder component of Data descriptor objects. Contains setter methods that allow for Data descriptor parameter configuration, and a build
method that builds the Data descriptor.
More...
Builder component of Data descriptor objects. Contains setter methods that allow for Data descriptor parameter configuration, and a build
method that builds the Data descriptor.
Public Member Functions | |
virtual ErrCode INTERFACE_FUNC | build (IDataDescriptor **dataDescriptor)=0 |
Builds and returns a Data descriptor object using the currently set values of the Builder. More... | |
virtual ErrCode INTERFACE_FUNC | setName (IString *name)=0 |
Sets a descriptive name for the signal's value. More... | |
virtual ErrCode INTERFACE_FUNC | getName (IString **name)=0 |
Gets a descriptive name for the signal's value. More... | |
virtual ErrCode INTERFACE_FUNC | setDimensions (IList *dimensions)=0 |
Sets the list of the descriptor's dimension's. More... | |
virtual ErrCode INTERFACE_FUNC | getDimensions (IList **dimensions)=0 |
Gets the list of the descriptor's dimension's. More... | |
virtual ErrCode INTERFACE_FUNC | setSampleType (SampleType sampleType)=0 |
Sets the descriptor's sample type. More... | |
virtual ErrCode INTERFACE_FUNC | getSampleType (SampleType *sampleType)=0 |
Gets the descriptor's sample type. More... | |
virtual ErrCode INTERFACE_FUNC | setUnit (IUnit *unit)=0 |
Sets the unit of the data in a signal's packets. More... | |
virtual ErrCode INTERFACE_FUNC | getUnit (IUnit **unit)=0 |
Gets the unit of the data in a signal's packets. More... | |
virtual ErrCode INTERFACE_FUNC | setValueRange (IRange *range)=0 |
Sets the value range of the data in a signal's packets defining the lowest and highest expected values. More... | |
virtual ErrCode INTERFACE_FUNC | getValueRange (IRange **range)=0 |
Gets the value range of the data in a signal's packets defining the lowest and highest expected values. More... | |
virtual ErrCode INTERFACE_FUNC | setRule (IDataRule *rule)=0 |
Sets the value Data rule. More... | |
virtual ErrCode INTERFACE_FUNC | getRule (IDataRule **rule)=0 |
Gets the value Data rule. More... | |
virtual ErrCode INTERFACE_FUNC | setOrigin (IString *origin)=0 |
Sets the absolute origin of a signal value component. More... | |
virtual ErrCode INTERFACE_FUNC | getOrigin (IString **origin)=0 |
Gets the absolute origin of a signal value component. More... | |
virtual ErrCode INTERFACE_FUNC | setTickResolution (IRatio *tickResolution)=0 |
Sets the Resolution which scales the an explicit or implicit value to the physical unit defined in unit . More... | |
virtual ErrCode INTERFACE_FUNC | getTickResolution (IRatio **tickResolution)=0 |
Gets the Resolution which scales the an explicit or implicit value to the physical unit defined in unit . More... | |
virtual ErrCode INTERFACE_FUNC | setPostScaling (IScaling *scaling)=0 |
Sets the scaling rule that needs to be applied to explicit/implicit data by readers. More... | |
virtual ErrCode INTERFACE_FUNC | getPostScaling (IScaling **scaling)=0 |
Gets the scaling rule that needs to be applied to explicit/implicit data by readers. More... | |
virtual ErrCode INTERFACE_FUNC | setStructFields (IList *structFields)=0 |
Sets the fields of the struct, forming a recursive value descriptor definition. More... | |
virtual ErrCode INTERFACE_FUNC | getStructFields (IList **structFields)=0 |
Gets the fields of the struct, forming a recursive value descriptor definition. More... | |
virtual ErrCode INTERFACE_FUNC | setMetadata (IDict *metadata)=0 |
Sets any extra metadata defined by the data descriptor. More... | |
virtual ErrCode INTERFACE_FUNC | getMetadata (IDict **metadata)=0 |
Gets any extra metadata defined by the data descriptor. More... | |
virtual ErrCode INTERFACE_FUNC | setReferenceDomainInfo (IReferenceDomainInfo *referenceDomainInfo)=0 |
Sets the Reference Domain Info. More... | |
virtual ErrCode INTERFACE_FUNC | getReferenceDomainInfo (IReferenceDomainInfo **referenceDomainInfo)=0 |
Gets the Reference Domain Info. More... | |
![]() | |
virtual ErrCode INTERFACE_FUNC | borrowInterface (const IntfID &intfID, void **obj) const =0 |
Returns another interface which is supported by the object without incrementing the reference count. More... | |
virtual ErrCode INTERFACE_FUNC | dispose ()=0 |
Disposes all references held by the object. More... | |
virtual ErrCode INTERFACE_FUNC | getHashCode (SizeT *hashCode)=0 |
Returns hash code of the object. More... | |
virtual ErrCode INTERFACE_FUNC | equals (IBaseObject *other, Bool *equal) const =0 |
Compares object to another object for equality. More... | |
virtual ErrCode INTERFACE_FUNC | toString (CharPtr *str)=0 |
Returns a string representation of the object. More... | |
![]() | |
virtual ErrCode INTERFACE_FUNC | queryInterface (const IntfID &intfID, void **obj)=0 |
Returns another interface which is supported by the object and increments the reference count. More... | |
virtual int INTERFACE_FUNC | addRef ()=0 |
Increments the reference count for an interface on an object. More... | |
virtual int INTERFACE_FUNC | releaseRef ()=0 |
Decrements the reference count for an interface on an object. More... | |
|
pure virtual |
Builds and returns a Data descriptor object using the currently set values of the Builder.
[out] | dataDescriptor | The built Data descriptor. |
Gets the list of the descriptor's dimension's.
[out] | dimensions | The list of dimensions. |
Gets any extra metadata defined by the data descriptor.
[out] | metadata | Additional metadata of the descriptor as a dictionary. |
Gets a descriptive name for the signal's value.
[out] | name | The name of the signal value. |
Gets the absolute origin of a signal value component.
[out] | origin | The absolute origin. |
Gets the scaling rule that needs to be applied to explicit/implicit data by readers.
[out] | scaling | The scaling rule. |
|
pure virtual |
Gets the Reference Domain Info.
[out] | referenceDomainInfo | The Reference Domain Info. |
If set, gives additional information about the reference domain.
Gets the value Data rule.
[out] | rule | The value Data rule. |
|
pure virtual |
Gets the descriptor's sample type.
[out] | sampleType | The descriptor's sample type. |
Gets the fields of the struct, forming a recursive value descriptor definition.
[out] | structFields | The list of data descriptors forming the struct fields. |
Gets the Resolution which scales the an explicit or implicit value to the physical unit defined in unit
.
[out] | tickResolution | The Resolution. |
Gets the unit of the data in a signal's packets.
[out] | unit | The unit specified by the descriptor. |
Gets the value range of the data in a signal's packets defining the lowest and highest expected values.
[out] | range | The value range the signal's data. |
Sets the list of the descriptor's dimension's.
dimensions | The list of dimensions. |
The number of dimensions defines the rank of the signal's data (eg. Vector, Matrix).
Sets any extra metadata defined by the data descriptor.
metadata | Additional metadata of the descriptor as a dictionary. |
All objects in the metadata dictionary must be serializable.
Sets a descriptive name for the signal's value.
name | The name of the signal value. |
When, for example, describing the amplitude values of spectrum data, the name would be Amplitude
.
Sets the absolute origin of a signal value component.
origin | The absolute origin. |
An origin can be an arbitrary string that determines the starting point of the signal data. All explicit or implicit values are multiplied by the resolution and added to the origin to obtain absolute data instead of relative.
Most commonly a time epoch is used, in which case it should be formatted according to the ISO 8601 standard.
Sets the scaling rule that needs to be applied to explicit/implicit data by readers.
scaling | The scaling rule. |
The OutputDataType of the rule matches the value descriptor's sample type. The InputDataType defines the sample type of either the explicit data in packet buffers, or the packet's implicit value's sample type.
|
pure virtual |
Sets the Reference Domain Info.
referenceDomainInfo | The Reference Domain Info. |
If set, gives additional information about the reference domain.
Sets the value Data rule.
rule | The value Data rule. |
If explicit, the values will be contained in the packet buffer. Otherwise they are calculated using the packet parameter as the input into the rule.
|
pure virtual |
Sets the descriptor's sample type.
sampleType | The descriptor's sample type. |
Sets the fields of the struct, forming a recursive value descriptor definition.
structFields | The list of data descriptors forming the struct fields. |
Contains a list of value descriptors, defining the data layout: the data described by the first DataDescriptor of the list is at the start, followed by the data described by the second and so on.
Sets the Resolution which scales the an explicit or implicit value to the physical unit defined in unit
.
tickResolution | The Resolution. |
Sets the unit of the data in a signal's packets.
unit | The unit specified by the descriptor. |