Structure for storing parameter value in parameter library.  
 More...
#include <paramVal.h>
Structure for storing parameter value in parameter library. 
      
        
          | paramVal::paramVal | ( | const char * | name | ) |  | 
      
 
 
      
        
          | int paramVal::getAlarmSeverity | ( |  | ) |  | 
      
 
 
      
        
          | int paramVal::getAlarmStatus | ( |  | ) |  | 
      
 
 
      
        
          | double paramVal::getDouble | ( |  | ) |  | 
      
 
Gets the value for an double in the parameter library. 
- Exceptions
- 
  
    | ParamValWrongType | if type is not asynParamFloat64 |  | paramValNotDefined | if the value is not defined |  
 
 
 
      
        
          | epicsInt32 paramVal::getInteger | ( |  | ) |  | 
      
 
Gets the value for an integer in the parameter library. 
- Exceptions
- 
  
    | ParamValWrongType | if type is not asynParamInt32 |  | paramValNotDefined | if the value is not defined |  
 
 
 
      
        
          | epicsInt64 paramVal::getInteger64 | ( |  | ) |  | 
      
 
Gets the value for a 64-bit integer in the parameter library. 
- Exceptions
- 
  
    | ParamValWrongType | if type is not asynParamInt64 |  | paramValNotDefined | if the value is not defined |  
 
 
 
      
        
          | char * paramVal::getName | ( |  | ) |  | 
      
 
 
      
        
          | asynStatus paramVal::getStatus | ( |  | ) |  | 
      
 
 
      
        
          | const std::string & paramVal::getString | ( |  | ) |  | 
      
 
Gets the value for a string in the parameter library. 
- Exceptions
- 
  
    | ParamValWrongType | if type is not asynParamOctet |  | paramValNotDefined | if the value is not defined |  
 
 
 
      
        
          | const char * paramVal::getTypeName | ( |  | ) |  | 
      
 
 
      
        
          | epicsUInt32 paramVal::getUInt32 | ( | epicsUInt32 | valueMask | ) |  | 
      
 
Gets the value for a UInt32 in the parameter library. 
- Parameters
- 
  
    | [in] | valueMask | Mask to use when getting the value. |  
 
- Returns
- Returns asynParamBadIndex if the index is not valid or asynParamWrongType if the parameter type is not asynParamUInt32Digital. 
 
 
      
        
          | bool paramVal::hasValueChanged | ( |  | ) |  | 
      
 
 
      
        
          | bool paramVal::isDefined | ( |  | ) |  | 
      
 
 
      
        
          | bool paramVal::nameEquals | ( | const char * | name | ) |  | 
      
 
 
      
        
          | void paramVal::report | ( | int | id, | 
        
          |  |  | FILE * | fp, | 
        
          |  |  | int | details | 
        
          |  | ) |  |  | 
      
 
 
      
        
          | void paramVal::resetValueChanged | ( |  | ) |  | 
      
 
 
      
        
          | void paramVal::setAlarmSeverity | ( | int | severity | ) |  | 
      
 
 
      
        
          | void paramVal::setAlarmStatus | ( | int | status | ) |  | 
      
 
 
      
        
          | void paramVal::setDefined | ( | bool | defined | ) |  | 
      
 
 
      
        
          | void paramVal::setDouble | ( | epicsFloat64 | value | ) |  | 
      
 
Sets the value for a double in the parameter library. 
- Parameters
- 
  
  
- Returns
- Returns asynParamBadIndex if the index is not valid or asynParamWrongType if the parameter type is not asynParamFloat64. 
 
 
      
        
          | void paramVal::setInteger | ( | epicsInt32 | value | ) |  | 
      
 
Sets the value for an integer. 
- Parameters
- 
  
  
- Exceptions
- 
  
    | ParamValWrongType | if type is not asynParamInt32 |  
 
 
 
      
        
          | void paramVal::setInteger64 | ( | epicsInt64 | value | ) |  | 
      
 
Sets the value for a 64-bit integer. 
- Parameters
- 
  
  
- Exceptions
- 
  
    | ParamValWrongType | if type is not asynParamInt64 |  
 
 
 
      
        
          | void paramVal::setStatus | ( | asynStatus | status | ) |  | 
      
 
 
      
        
          | void paramVal::setString | ( | const std::string & | value | ) |  | 
      
 
Sets the value for a string in the parameter library. 
- Parameters
- 
  
    | [out] | value | Address of value to set. |  
 
- Returns
- Returns asynParamBadIndex if the index is not valid or asynParamWrongType if the parameter type is not asynParamOctet. 
 
 
      
        
          | void paramVal::setUInt32 | ( | epicsUInt32 | value, | 
        
          |  |  | epicsUInt32 | valueMask, | 
        
          |  |  | epicsUInt32 | interruptMask | 
        
          |  | ) |  |  | 
      
 
Sets the value for a UInt32 in the parameter library. 
- Parameters
- 
  
    | [in] | value | Value to set. |  | [in] | valueMask | Mask to use when setting the value. |  | [in] | interruptMask | Mask of bits that have changed even if the value has not changed |  
 
- Returns
- Returns asynParamBadIndex if the index is not valid or asynParamWrongType if the parameter type is not asynParamUInt32Digital. 
 
 
      
        
          | void paramVal::setValueChanged | ( |  | ) |  | 
      
 
 
  
  | 
        
          | int paramVal::alarmSeverity_ |  | protected | 
 
 
  
  | 
        
          | int paramVal::alarmStatus_ |  | protected | 
 
 
      
        
          | union { ... }   paramVal::data | 
      
 
Union for parameter value. 
 
 
      
        
          | epicsFloat64 paramVal::dval | 
      
 
 
      
        
          | epicsInt64 paramVal::i64val | 
      
 
 
      
        
          | epicsInt32 paramVal::ival | 
      
 
 
      
        
          | epicsFloat32* paramVal::pf32 | 
      
 
 
      
        
          | epicsFloat64* paramVal::pf64 | 
      
 
 
      
        
          | epicsInt16* paramVal::pi16 | 
      
 
 
      
        
          | epicsInt32* paramVal::pi32 | 
      
 
 
      
        
          | epicsInt64* paramVal::pi64 | 
      
 
 
  
  | 
        
          | asynStatus paramVal::status_ |  | protected | 
 
 
  
  | 
        
          | std::string paramVal::sval |  | protected | 
 
 
  
  | 
        
          | const char * paramVal::typeNames |  | static | 
 
Initial value:= {
    "asynParamTypeUndefined",
    "asynParamInt32",
    "asynParamInt64",
    "asynParamUInt32Digital",
    "asynParamFloat64",
    "asynParamOctet",
    "asynParamInt8Array",
    "asynParamInt16Array",
    "asynParamInt32Array",
    "asynParamInt64Array",
    "asynParamFloat32Array",
    "asynParamFloat64Array",
    "asynParamGenericPointer"
}
 
 
      
        
          | epicsUInt32 paramVal::uInt32CallbackMask | 
      
 
 
      
        
          | epicsUInt32 paramVal::uInt32FallingMask | 
      
 
 
      
        
          | epicsUInt32 paramVal::uInt32RisingMask | 
      
 
 
      
        
          | epicsUInt32 paramVal::uival | 
      
 
 
  
  | 
        
          | bool paramVal::valueChanged |  | protected | 
 
 
  
  | 
        
          | bool paramVal::valueDefined |  | protected | 
 
 
The documentation for this class was generated from the following files:
- /home/epics/devel/asyn-R4-42/asyn/asynPortDriver/paramVal.h
- /home/epics/devel/asyn-R4-42/asyn/asynPortDriver/paramVal.cpp