BDS Public
BdsApi  2.0.11

This class defines a Sensor. More...

#include <BdsD.h>

Inheritance diagram for Bds::Sensor:
BObj

Public Member Functions

 Sensor (BUInt32 id=0, BTimeStamp startTime=BTimeStamp(), BTimeStamp endTime=BTimeStamp(), BString name=BString(), BString type=BString(), BString serialNumber=BString(), BUInt32 numberChannels=0, BString gainUnits=BString(), BFloat64 gain=0, BUInt32 oldId=0, BInt32 shared=0)
 
BString getType ()
 
BError setMembers (BDictString &members)
 
BError setMember (BString name, BString value)
 
BError getMembers (BDictString &members)
 
BError getMember (BString name, BString &value)
 
- Public Member Functions inherited from BObj
 BObj ()
 
virtual ~BObj ()
 
virtual const char * getType () const
 
virtual const BObjMembergetMembers () const
 
virtual void membersPrint () const
 
virtual BString getDebugString ()
 

Public Attributes

BUInt32 id
 The ID. More...
 
BTimeStamp startTime
 The Start Time. More...
 
BTimeStamp endTime
 The End Time. More...
 
BString name
 The Sensors name. More...
 
BString type
 The type of sensor. (Seismometer, Hydrophone etc) More...
 
BString serialNumber
 The sensor's serial number. Only used when there is a unique physical sensor. More...
 
BUInt32 numberChannels
 The number of supported channels. More...
 
BString gainUnits
 The gain units. More...
 
BFloat64 gain
 The overall gain of the sensor at the manufacturers calibration frequency. (For information only) More...
 
BUInt32 oldId
 The Id from the old Autodrm database. More...
 
BInt32 shared
 This sensor is shared. More...
 

Detailed Description

This class defines a Sensor.

Constructor & Destructor Documentation

◆ Sensor()

Bds::Sensor::Sensor ( BUInt32  id = 0,
BTimeStamp  startTime = BTimeStamp(),
BTimeStamp  endTime = BTimeStamp(),
BString  name = BString(),
BString  type = BString(),
BString  serialNumber = BString(),
BUInt32  numberChannels = 0,
BString  gainUnits = BString(),
BFloat64  gain = 0,
BUInt32  oldId = 0,
BInt32  shared = 0 
)

Member Function Documentation

◆ getMember()

BError Bds::Sensor::getMember ( BString  name,
BString value 
)
virtual

Reimplemented from BObj.

◆ getMembers()

BError Bds::Sensor::getMembers ( BDictString members)
virtual

Reimplemented from BObj.

◆ getType()

BString Bds::Sensor::getType ( )

◆ setMember()

BError Bds::Sensor::setMember ( BString  name,
BString  value 
)
virtual

Reimplemented from BObj.

◆ setMembers()

BError Bds::Sensor::setMembers ( BDictString members)
virtual

Reimplemented from BObj.

Member Data Documentation

◆ endTime

BTimeStamp Bds::Sensor::endTime

The End Time.

◆ gain

BFloat64 Bds::Sensor::gain

The overall gain of the sensor at the manufacturers calibration frequency. (For information only)

◆ gainUnits

BString Bds::Sensor::gainUnits

The gain units.

◆ id

BUInt32 Bds::Sensor::id

The ID.

◆ name

BString Bds::Sensor::name

The Sensors name.

◆ numberChannels

BUInt32 Bds::Sensor::numberChannels

The number of supported channels.

◆ oldId

BUInt32 Bds::Sensor::oldId

The Id from the old Autodrm database.

◆ serialNumber

BString Bds::Sensor::serialNumber

The sensor's serial number. Only used when there is a unique physical sensor.

◆ shared

BInt32 Bds::Sensor::shared

This sensor is shared.

◆ startTime

BTimeStamp Bds::Sensor::startTime

The Start Time.

◆ type

BString Bds::Sensor::type

The type of sensor. (Seismometer, Hydrophone etc)


The documentation for this class was generated from the following files: