Configuration component of Dimension objects. Contains setter methods that allow for Dimension parameter configuration, and a build method that builds the Dimension.  
 More...
Inherits ObjectPtr< IDimensionBuilder >.
Configuration component of Dimension objects. Contains setter methods that allow for Dimension parameter configuration, and a build method that builds the Dimension. 
 
◆ build()
  
  
      
        
          | daq::DimensionPtr build  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Builds and returns a Dimension object using the currently set values of the Builder. 
- Returns
 - The built Dimension. 
 
 
 
◆ getName()
  
  
      
        
          | daq::StringPtr getName  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Gets the name of the dimension. 
- Returns
 - The name of the dimension. 
 
 
 
◆ getRule()
  
  
      
        
          | daq::DimensionRulePtr getRule  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Gets the rule that defines the labels and size of the dimension. 
- Returns
 - The dimension rule. 
 
 
 
◆ getUnit()
  
  
      
        
          | daq::UnitPtr getUnit  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Gets the unit of the dimension's labels. 
- Returns
 - The unit of the dimension. 
 
 
 
◆ setName()
Sets the name of the dimension. 
- Parameters
 - 
  
    | name | The name of the dimension. | 
  
   
The name that best describes the dimension, in example "Frequency" for spectrum data. 
 
 
◆ setRule()
Sets the rule that defines the labels and size of the dimension. 
- Parameters
 - 
  
  
 
- Exceptions
 - 
  
    | FrozenException | if the dimension object is frozen. | 
  
   
The rule takes as input the index of data value in a sample and produces a label associated with that index. 
 
 
◆ setUnit()
Sets the unit of the dimension's labels. 
- Parameters
 - 
  
    | unit | The unit of the dimension.  |