PVScalar is the base class for each scalar field.
More...
#include <pv/pvData.h>
|
typedef std::tr1::shared_ptr< PVScalar > | shared_pointer |
|
typedef std::tr1::shared_ptr< const PVScalar > | const_shared_pointer |
|
typedef std::tr1::weak_ptr< PVScalar > | weak_pointer |
|
typedef std::tr1::weak_ptr< const PVScalar > | const_weak_pointer |
|
typedef PVScalar & | reference |
|
typedef const PVScalar & | const_reference |
|
enum | { isPVField =1
} |
|
typedef std::tr1::shared_ptr< PVField > | shared_pointer |
|
typedef std::tr1::shared_ptr< const PVField > | const_shared_pointer |
|
typedef std::tr1::weak_ptr< PVField > | weak_pointer |
|
typedef std::tr1::weak_ptr< const PVField > | const_weak_pointer |
|
|
template<typename E > |
class | PVScalarValue |
|
|
static size_t | num_instances |
|
PVScalar is the base class for each scalar field.
Definition at line 272 of file pvData.h.
◆ ~PVScalar()
virtual epics::pvData::PVScalar::~PVScalar |
( |
| ) |
|
|
virtual |
◆ getAs()
template<typename T >
T epics::pvData::PVScalar::getAs |
( |
| ) |
const |
|
inline |
Convert and return the scalar value in the requested type. Result type is determined from the function template argument which must be one of the ScalarType enums. Uses castUnsafe<TO>() for value conversion.
Definition at line 302 of file pvData.h.
◆ getScalar()
Get the Scalar introspection interface for the PVScalar.
- Returns
- the interface.
◆ putFrom()
template<typename T >
void epics::pvData::PVScalar::putFrom |
( |
T |
val | ) |
|
|
inline |
Convert and assign the provided value. The value type is determined from the function template argument which must be one of the ScalarType enums. Uses castUnsafe<TO>() for value conversion.
Definition at line 324 of file pvData.h.
The documentation for this class was generated from the following file: