BOAP data class definitions for: Bds.
This holds information on data access groups.
Definition BdsD.h:775
This is the AdminAccess Access API interface.
Definition BdsC.h:187
BError metadataGetChannelInfo(Selection sel, MetadataOption options, ChannelInfos &channelInfos)
Return the channel MetaData in structured form. Normally returns an error if incomplete metadata....
Definition BdsC.cc:11368
BError userGetOptions(BDict< BString > &items)
Get users options.
Definition BdsC.cc:8770
BError validateUser(BString user, BString email)
Checks the user given name or email.
Definition BdsC.cc:8349
BError sensorGet(BUInt32 id, Sensor &sensor)
Get a Sensor object given its ID.
Definition BdsC.cc:10474
BError getSelections(SelectionGroup group, Selection selectionIn, Selection &selectionOut)
Get selection list.
Definition BdsC.cc:9180
BError networkGetList(BList< Network > &networks)
Get list of Networks.
Definition BdsC.cc:9268
BError logGetList(LogSelect sel, BList< Log > &logs)
Get list of log entries.
Definition BdsC.cc:13920
BError extraCall(BUInt32 function, BString args, BString &result)
A special function to add new functions to the API prior to a full API update.
Definition BdsC.cc:14456
BError changeGetList(BUInt32 id, ListRange range, BList< Change > &changes)
Get a list of Changes.
Definition BdsC.cc:13518
BError stationDelete(BUInt32 id)
Delete a Station entry.
Definition BdsC.cc:9502
BError channelDelete(BUInt32 id)
Delete a Channel entry.
Definition BdsC.cc:9833
BError dataGetWarnings(DataHandle dataHandle, BList< BString > &warnings)
Get information on the data file.
Definition BdsC.cc:12864
BError dataFormatGetList(BList< DataFormat > &formats)
Get list of supported data formats.
Definition BdsC.cc:14147
BError changeGroupStart(ChangeGroup changeGroup)
Start a new ChangeGroup when making a set of changes to the BDS's database.
Definition BdsC.cc:13349
BError accessGroupDelete(BUInt32 id)
Delete an AccessGroup entry.
Definition BdsC.cc:9031
BError sourceDelete(BUInt32 id)
Delete a Source entry.
Definition BdsC.cc:9939
BError channelInstrumentGetList(Selection sel, BList< ChannelInstrument > &channelInstruments)
Get list of Channel Instruments.
Definition BdsC.cc:10074
BError digitiserDelete(BUInt32 id)
Delete a Digitiser entry.
Definition BdsC.cc:10369
AdminAccess(BString name="")
BDS RPC access class.
Definition BdsC.cc:8315
BError channelGetList(Selection sel, BList< Channel > &channels)
Get list of Channels.
Definition BdsC.cc:9679
BError changeGroupDelete(BTimeStamp beforeDate, BString type, BInt32 empty)
Delete a ChangeGroup.
Definition BdsC.cc:13457
BError dataFormattedGetLength(DataHandle dataHandle, BUInt64 &length)
Read the length of the raw formated data file.
Definition BdsC.cc:13218
BError groupGetList(BList< Group > &groups)
Get list of Groups.
Definition BdsC.cc:8850
BError locationGetList(Selection sel, BList< Location > &locations)
Get list of Station, Channel or both Locations depending on the sel.locationSelect parameter.
Definition BdsC.cc:9531
BError locationUpdate(BInt32 append, Location location, BUInt32 &id)
Add or update a Station Location entry.
Definition BdsC.cc:9608
BError databaseBackup(BString &ref)
Backup the database.
Definition BdsC.cc:14347
BError modeSet(Mode mode, Mode &previousMode)
Changes the system mode from Master to slave.
Definition BdsC.cc:14257
BError groupUpdate(BInt32 append, Group group, BUInt32 &id)
Update or append a group entry.
Definition BdsC.cc:8890
BError channelInstrumentDelete(BUInt32 id)
Delete an Instrument entry.
Definition BdsC.cc:10183
BError specialChannelDelete(BUInt32 id)
Delete a SpecialChannel entry.
Definition BdsC.cc:11339
BError dataFileGetList(Selection sel, BList< DataFileInfo > &dataFile)
Get list of DataFiles.
Definition BdsC.cc:11719
BError logAppend(BString type, BUInt32 priority, BString subSystem, BString title, BString description)
Append a log item.
Definition BdsC.cc:14034
BError dataGetInfo(DataHandle dataHandle, BUInt32 infoExtra, DataInfo &dataInfo)
Get information on the data file.
Definition BdsC.cc:12690
BError sourceUpdate(BInt32 append, Source source, BUInt32 &id)
Add or update a Source entry.
Definition BdsC.cc:9904
BError noticesAdd(BString notice)
Add a notice line.
Definition BdsC.cc:13825
BError serverConfigurationGet(BDict< BString > &items)
Get server configuration parameters.
Definition BdsC.cc:14107
BError userGet(User &user)
Get user info of the currently loogged in user.
Definition BdsC.cc:8643
BError noteGetList(Selection sel, BList< Note > ¬es)
Get a list of Notes.
Definition BdsC.cc:13595
BError noteUpdate(BInt32 append, Note note, BUInt32 &id)
Add or update a Note.
Definition BdsC.cc:13678
BError connect(BString user, BString password)
Provides user/password information.
Definition BdsC.cc:8319
BError channelUpdate(BInt32 append, Channel channel, BUInt32 &id)
Add or update a Channel entry.
Definition BdsC.cc:9793
BError noticesGetList(BList< BString > ¬ices)
Get notices list.
Definition BdsC.cc:13854
BError logDelete(BUInt32 id)
Delete a Log item.
Definition BdsC.cc:14005
BError networkDelete(BUInt32 id)
Delete a Network entry.
Definition BdsC.cc:9341
BError networkUpdate(BInt32 append, Network network, BUInt32 &id)
Add or update a Network entry.
Definition BdsC.cc:9308
BError eventGetList(Selection sel, BList< Event > &events)
Get list of Events.
Definition BdsC.cc:11025
BError logUpdate(BInt32 append, Log log, BUInt32 &id)
Add or Update a Log item.
Definition BdsC.cc:13968
BError locationDelete(BUInt32 id)
Delete a Station Location entry.
Definition BdsC.cc:9650
BError dataSetInfo(DataHandle dataHandle, DataInfo dataInfo)
Set the info when writing to a file.
Definition BdsC.cc:13002
BError stationGetList(Selection sel, BList< Station > &stations)
Get list of Stations.
Definition BdsC.cc:9370
BError responseGetList(Selection sel, BList< Response > &responses)
Get list of Responses.
Definition BdsC.cc:10748
BError dataPutBlock(DataHandle dataHandle, DataBlock data)
Send a block of data.
Definition BdsC.cc:13097
BError dataOpen(DataInfo dataInfo, BString mode, BString format, BUInt32 flags, DataHandle &dataHandle)
Open a data file.
Definition BdsC.cc:12592
BError digitiserUpdate(BInt32 append, Digitiser digitiser, BUInt32 &id)
Add or update a Digitiser entry.
Definition BdsC.cc:10328
BError sourcePriorityDelete(BUInt32 id)
Definition BdsC.cc:10045
BError dataSeekBlock(DataHandle dataHandle, BUInt32 channel, BUInt32 segment, BTimeStamp time, BUInt32 &blockNumber)
Searches for a data block matching the time given.
Definition BdsC.cc:12968
BError dataChannelDelete(BUInt32 id)
Delete a DataChannel entry.
Definition BdsC.cc:12014
BError changeGetListNumber(BUInt32 id, BUInt32 &number)
Get the number of changes in a ChangeGroup.
Definition BdsC.cc:13488
BError userGetList(BList< User > &users)
Get list of Users.
Definition BdsC.cc:8467
BError sourceGetList(BList< Source > &sources)
Get list of Sources.
Definition BdsC.cc:9862
BError specialChannelGetList(Selection sel, BList< SpecialChannel > &specialChannels)
Get list of Special Channels.
Definition BdsC.cc:11228
BError dataGetBlock(DataHandle dataHandle, BUInt32 channel, BUInt32 segment, BUInt32 blockNumber, DataBlock &data)
Return a block of data.
Definition BdsC.cc:12904
BError dataAvailability(Selection selection, BUInt32 num, BArray< DataAvailChan > &dataAvailChans)
Return availability for data matching the given selection parameters. If num > 0 segment ito this num...
Definition BdsC.cc:12043
BError sqlQuery(BString query, BList< BDict< BString > > &result)
A low level SQL access function.
Definition BdsC.cc:14406
BError calibrationGetList(Selection sel, BList< Calibration > &calibrations)
Get list of Calibrations.
Definition BdsC.cc:10584
BError responseUpdate(BInt32 append, Response response, BUInt32 &id)
Add or update a Response entry.
Definition BdsC.cc:10897
BError setUser(BString user, BString email)
Sets user to given name or email.
Definition BdsC.cc:8379
BError accessGroupUpdate(BInt32 append, AccessGroup group, BUInt32 &id)
Update or append an AccessGroup entry.
Definition BdsC.cc:8995
BError transactionStart()
Starts a set of transactions.
Definition BdsC.cc:14200
BError specialChannelUpdate(BInt32 append, SpecialChannel specialChannel, BUInt32 &id)
Add or update a SpecialChannel entry.
Definition BdsC.cc:11301
BError changeDelete(BTimeStamp beforeDate, BString type)
Delete a Change.
Definition BdsC.cc:13565
BError dataFileDelete(BUInt32 id)
Delete a DataFile entry.
Definition BdsC.cc:11836
BError responseDelete(BUInt32 id)
Delete a Response entry.
Definition BdsC.cc:10996
BError userSetOptions(BDict< BString > &items)
Set users options.
Definition BdsC.cc:8810
BError dataRealtimeGet(BUInt32 numBlocks, BUInt32 &numBlocksAvailable, BList< DataBlockChannel > &dataBlocks)
Returns the number of data blocks available and up to numBlocks of these.
Definition BdsC.cc:13306
BError dataChannelGetList(Selection sel, BList< DataChannel > &dataChannel)
Get list of DataChannels.
Definition BdsC.cc:11865
BError noteDelete(BUInt32 id)
Delete a Note.
Definition BdsC.cc:13726
BError userUpdate(BInt32 append, User user, BUInt32 &id)
Update or append a user entry.
Definition BdsC.cc:8522
BError sourcePriorityUpdate(BInt32 append, SourcePriority sourcePriority, BUInt32 &id)
Definition BdsC.cc:10010
BError stationUpdate(BInt32 append, Station station, BUInt32 &id)
Add or update a Station entry.
Definition BdsC.cc:9455
BError noteWriteDocument(BUInt32 id, BString format, BArray< BUInt8 > data)
Given a Note write a document associated with it.
Definition BdsC.cc:13755
BError calibrationDelete(BUInt32 id)
Delete a Calibration entry.
Definition BdsC.cc:10719
BError dataGetChannelInfo(DataInfo dataInfo, ChannelInfos &channelInfos)
Return the channel MetaData in structured form.
Definition BdsC.cc:12269
BError dataClose(DataHandle dataHandle, BError error, BInt32 del)
Close a file.
Definition BdsC.cc:13149
BError dataGetNotes(DataHandle dataHandle, BList< Note > ¬es)
Get notes on the data file.
Definition BdsC.cc:12807
BError sensorGetList(Selection sel, BList< Sensor > &sensors)
Get list of Sensors.
Definition BdsC.cc:10398
BError accessGroupGetList(BList< AccessGroup > &accessGroups)
Get list of AccessGroups.
Definition BdsC.cc:8952
BError digitiserGet(BUInt32 id, Digitiser &digitiser)
Get a Digitiser object given its ID.
Definition BdsC.cc:10288
BError userGetFromId(BUInt32 id, User &user)
Get user info given user ID.
Definition BdsC.cc:8596
BError channelGet(BUInt32 id, Channel &channel)
Get a specific channel given its ID.
Definition BdsC.cc:9754
BError digitiserGetList(Selection sel, BList< Digitiser > &digitisers)
Get list of Digitisers.
Definition BdsC.cc:10212
BError statisticsGet(BDict< BString > &info)
Get a list of system statistics.
Definition BdsC.cc:14067
BError changeGroupGetList(ListRange range, BList< ChangeGroup > &changeGroups)
Return a list of ChangeGroups.
Definition BdsC.cc:13411
BError dataRealtimeConfig(BInt32 enable, Selection sel)
Configures the sending of real-time data blocks.
Definition BdsC.cc:13249
BError dataSearch(Selection selection, DataInfo &dataInfo)
Search for data matching the given selection parameters.
Definition BdsC.cc:12127
BError sensorUpdate(BInt32 append, Sensor sensor, BUInt32 &id)
Add or update a Sensor entry.
Definition BdsC.cc:10514
BError dataChannelUpdate(BInt32 append, DataChannel dataChannel, BUInt32 &id)
Add or update a DataChannel entry.
Definition BdsC.cc:11959
BError calibrationUpdate(BInt32 append, Calibration calibration, BUInt32 &id)
Add or update a Calibration entry.
Definition BdsC.cc:10669
BError clean(CleanOptions cleanOptions)
Cleans the system logs and Changes information.
Definition BdsC.cc:14316
BError databaseRestore(BString ref, BString type)
Restore the database.
Definition BdsC.cc:14376
BError channelInstrumentUpdate(BInt32 append, ChannelInstrument channelInstrument, BUInt32 &id)
Add or update a Instrument entry.
Definition BdsC.cc:10146
BError userSet(User user)
Set user info of the currently loogged in user.
Definition BdsC.cc:8689
BError noticesClear()
Clear notices list.
Definition BdsC.cc:13892
BError modeSnapshotPause(BInt32 on)
Enables/disables backup synchronisation pause.
Definition BdsC.cc:14287
BError groupDelete(BUInt32 id)
Delete a group entry.
Definition BdsC.cc:8923
BError setUserReal()
Sets user back to real user.
Definition BdsC.cc:8409
BError sourcePriorityGetList(BList< SourcePriority > &sourcePrioritys)
Get list of SourcePriorities.
Definition BdsC.cc:9968
BError transactionEnd(BInt32 abort)
Ends a set of transactions.
Definition BdsC.cc:14228
BError getVersion(BString &version, BString &name)
Gets the software version and server name.
Definition BdsC.cc:8437
BError changeGroupEnd()
End a ChangeGroup.
Definition BdsC.cc:13383
BError eventDelete(BUInt32 id)
Delete a Event entry.
Definition BdsC.cc:11199
BError sensorDelete(BUInt32 id)
Delete a Sensor entry.
Definition BdsC.cc:10555
BError userDelete(BUInt32 id)
Delete a user entry.
Definition BdsC.cc:8567
BError userGetGroups(BList< BString > &groups)
Get list of groups the user belongs to.
Definition BdsC.cc:8732
BError metadataGetFormatted(Selection sel, MetadataOption options, BString format, BArray< BUInt8 > &data)
Return the channel MetaData in a particular format. Normally returns an error if incomplete metadata....
Definition BdsC.cc:11655
BError noteReadDocument(BUInt32 id, BString &format, BArray< BUInt8 > &data)
Read a document associated with a Note.
Definition BdsC.cc:13789
BError dataFileUpdate(BInt32 append, DataFileInfo dataFile, BUInt32 &id)
Add or update a DataFile entry.
Definition BdsC.cc:11795
BError getSelectionInfo(SelectionGroup group, Selection selectionIn, SelectionInfo &selectionInfo)
Get information on possible selections. Use in GUI programs to list options available.
Definition BdsC.cc:9060
BError dataFormattedRead(DataHandle dataHandle, BUInt32 number, BArray< BUInt8 > &data)
Read the raw data from the file.
Definition BdsC.cc:13181
BError eventUpdate(BInt32 append, Event event, BUInt32 &id)
Add or update a Event entry.
Definition BdsC.cc:11133
This class defines a calibration setting.
Definition BdsD.h:354
This holds information on a set of Changes.
Definition BdsD.h:817
This class provides Metadata information on a set of channels.
Definition BdsD.h:566
This class defines a Channel's instrument.
Definition BdsD.h:437
This class defines a seismic data Channel.
Definition BdsD.h:460
This defines the set of clean options used in the clean() function.
Definition BdsD.h:900
This is the Data Access API interface to the BDS system.
Definition BdsC.h:24
BError noteReadDocument(BUInt32 id, BString &format, BArray< BUInt8 > &data)
Read a document associated with a Note.
Definition BdsC.cc:3588
BError getSelectionInfo(SelectionGroup group, Selection selectionIn, SelectionInfo &selectionInfo)
Get information on possible selections. Use in GUI programs to list options available.
Definition BdsC.cc:2056
BError dataChannelGetList(Selection sel, BList< DataChannel > &dataChannel)
Get list of DataChannels.
Definition BdsC.cc:815
BError networkGetList(BList< Network > &networks)
Get list of Networks.
Definition BdsC.cc:455
BError serverConfigurationGet(BDict< BString > &items)
Get server configuration parameters.
Definition BdsC.cc:3948
BError dataRealtimeGet(BUInt32 numBlocks, BUInt32 &numBlocksAvailable, BList< DataBlockChannel > &dataBlocks)
Returns the number of data blocks available and up to numBlocks of these.
Definition BdsC.cc:3380
BError userSet(User user)
Set user info of the currently loogged in user.
Definition BdsC.cc:254
BError dataFormattedGetLength(DataHandle dataHandle, BUInt64 &length)
Read the length of the raw formated data file.
Definition BdsC.cc:3292
DataAccess(BString name="")
BDS RPC access class.
Definition BdsC.cc:9
BError responseGetList(Selection sel, BList< Response > &responses)
Get list of Responces.
Definition BdsC.cc:1298
BError digitiserGet(BUInt32 id, Digitiser &digitiser)
Get a Digitiser object given its ID.
Definition BdsC.cc:1057
BError stationGetList(Selection sel, BList< Station > &stations)
Get list of Stations.
Definition BdsC.cc:495
BError setUserReal()
Sets user back to real user.
Definition BdsC.cc:103
BError dataSearch(Selection selection, DataInfo &dataInfo)
Search for data matching the given selection parameters.
Definition BdsC.cc:2348
BError dataGetChannelInfo(DataInfo dataInfo, ChannelInfos &channelInfos)
Return the channel MetaData in structured form.
Definition BdsC.cc:2490
BError noticesGetList(BList< BString > ¬ices)
Get notices list.
Definition BdsC.cc:3653
BError noteWriteDocument(BUInt32 id, BString format, BArray< BUInt8 > data)
Given a Note write a document associated with it.
Definition BdsC.cc:3554
BError dataFormattedRead(DataHandle dataHandle, BUInt32 number, BArray< BUInt8 > &data)
Read the raw data from the file.
Definition BdsC.cc:3255
BError calibrationGetList(Selection sel, BList< Calibration > &calibrations)
Get list of Calibrations.
Definition BdsC.cc:1213
BError dataFormatGetList(BList< DataFormat > &formats)
Get list of data formats.
Definition BdsC.cc:3988
BError digitiserGetList(Selection sel, BList< Digitiser > &digitisers)
Get list of Digitisers.
Definition BdsC.cc:981
BError setUser(BString user, BString email)
Sets user to given name or email.
Definition BdsC.cc:73
BError dataSeekBlock(DataHandle dataHandle, BUInt32 channel, BUInt32 segment, BTimeStamp time, BUInt32 &blockNumber)
Searches for a data block matching the time given.
Definition BdsC.cc:3125
BError noteGetList(Selection sel, BList< Note > ¬es)
Return a list of Notes.
Definition BdsC.cc:3423
BError dataGetWarnings(DataHandle dataHandle, BList< BString > &warnings)
Get information on the data file.
Definition BdsC.cc:3085
BError databaseBackup(BString &ref)
Backup the database.
Definition BdsC.cc:3879
BError dataGetInfo(DataHandle dataHandle, BUInt32 infoExtra, DataInfo &dataInfo)
Get information on the data file.
Definition BdsC.cc:2911
BError eventGetList(Selection sel, BList< Event > &events)
Get list of Events.
Definition BdsC.cc:1524
BError sensorGetList(Selection sel, BList< Sensor > &sensors)
Get list of Sensors.
Definition BdsC.cc:1097
BError validateUser(BString user, BString email)
Checks the user given name or email.
Definition BdsC.cc:43
BError dataFileGetList(Selection sel, BList< DataFileInfo > &dataFile)
Get list of DataFiles.
Definition BdsC.cc:739
BError metadataGetChannelInfo(Selection sel, MetadataOption options, ChannelInfos &channelInfos)
Return the channel MetaData in structured form. Normally returns an error if incomplete metadata....
Definition BdsC.cc:1705
BError channelInstrumentGetList(Selection sel, BList< ChannelInstrument > &channelInstruments)
Get list of Instruments.
Definition BdsC.cc:909
BError userGet(User &user)
Get user info of the currently loogged in user.
Definition BdsC.cc:208
BError dataOpen(DataInfo dataInfo, BString mode, BString format, BUInt32 flags, DataHandle &dataHandle)
Open a data file.
Definition BdsC.cc:2813
BError dataAvailability(Selection selection, BUInt32 num, BArray< DataAvailChan > &dataAvailChans)
Return availability for data matching the given selection parameters. If num > 0 segment ito this num...
Definition BdsC.cc:2264
BError dataRealtimeConfig(BInt32 enable, Selection sel)
Configures the sending of real-time data blocks.
Definition BdsC.cc:3323
BError statisticsGet(BDict< BString > &info)
Get a list of system statistics.
Definition BdsC.cc:3908
BError noticesClear()
Clear notices list.
Definition BdsC.cc:3691
BError channelGetList(Selection sel, BList< Channel > &channels)
Get list of Channels.
Definition BdsC.cc:580
BError sensorGet(BUInt32 id, Sensor &sensor)
Get a Sensor object given its ID.
Definition BdsC.cc:1173
BError noteUpdate(BInt32 append, Note note, BUInt32 &id)
Add or update a Note.
Definition BdsC.cc:3506
BError getSelections(SelectionGroup group, Selection selectionIn, Selection &selectionOut)
Get selection list.
Definition BdsC.cc:2176
BError logUpdate(BInt32 append, Log log, BUInt32 &id)
Add or update a Log item.
Definition BdsC.cc:3719
BError specialChannelGetList(Selection sel, BList< SpecialChannel > &specialChannels)
Get list of Special Channels.
Definition BdsC.cc:1632
BError userGetFromId(BUInt32 id, User &user)
Get user info given user ID.
Definition BdsC.cc:161
BError logAppend(BString type, BUInt32 priority, BString subSystem, BString title, BString description)
Append a log item.
Definition BdsC.cc:3756
BError clean(CleanOptions cleanOptions)
Cleans the system logs and Changes information.
Definition BdsC.cc:3848
BError locationGetList(Selection sel, BList< Location > &locations)
Get list of Station, Channel or both Locations depending on the sel.locationSelect parameter.
Definition BdsC.cc:1447
BError connect(BString user, BString password)
Provides user/password information for secure connection.
Definition BdsC.cc:13
BError dataClose(DataHandle dataHandle, BError error, BInt32 del)
Close a file.
Definition BdsC.cc:3223
BError metadataGetFormatted(Selection sel, MetadataOption options, BString format, BArray< BUInt8 > &data)
Return the channel MetaData in a particular format. Normally returns an error if incomplete metadata....
Definition BdsC.cc:1992
BError sourceGetList(BList< Source > &sources)
Get list of Sources.
Definition BdsC.cc:655
BError modeSnapshotPause(BInt32 on)
Enables/disables backup synchronisation pause.
Definition BdsC.cc:3819
BError getVersion(BString &version, BString &name)
Gets the software version and server name.
Definition BdsC.cc:131
BError groupGetList(BList< Group > &groups)
Get list of Groups.
Definition BdsC.cc:415
BError modeSet(Mode mode, Mode &previousMode)
Changes the system mode from Master to slave.
Definition BdsC.cc:3789
BError userGetOptions(BDict< BString > &items)
Get users options.
Definition BdsC.cc:335
BError dataGetBlock(DataHandle dataHandle, BUInt32 channel, BUInt32 segment, BUInt32 blockNumber, DataBlock &data)
Return a block of data.
Definition BdsC.cc:3159
BError sourcePriorityGetList(BList< SourcePriority > &sourcePrioritys)
Get list of SourcePriorities.
Definition BdsC.cc:697
BError userSetOptions(BDict< BString > &items)
Set users options.
Definition BdsC.cc:375
BError noticesAdd(BString notice)
Add a notice line.
Definition BdsC.cc:3624
BError userGetGroups(BList< BString > &groups)
Get list of groups the user belongs to.
Definition BdsC.cc:297
BError dataGetNotes(DataHandle dataHandle, BList< Note > ¬es)
Get notes on the data file.
Definition BdsC.cc:3028
This is the DataAdd Access API interface.
Definition BdsC.h:104
BError dataSearch(Selection selection, DataInfo &dataInfo)
Search for data matching the given selection parameters.
Definition BdsC.cc:6475
BError dataPutBlock(DataHandle dataHandle, DataBlock data)
Send a block of data.
Definition BdsC.cc:7445
BError eventGetList(Selection sel, BList< Event > &events)
Get list of Events.
Definition BdsC.cc:5556
BError sourcePriorityGetList(BList< SourcePriority > &sourcePrioritys)
Get list of SourcePriorities.
Definition BdsC.cc:4729
BError metadataGetFormatted(Selection sel, MetadataOption options, BString format, BArray< BUInt8 > &data)
Return the channel MetaData in a particular format. Normally returns an error if incomplete metadata....
Definition BdsC.cc:6119
BError specialChannelGetList(Selection sel, BList< SpecialChannel > &specialChannels)
Get list of Special Channels.
Definition BdsC.cc:5759
BError dataClose(DataHandle dataHandle, BError error, BInt32 del)
Close a file.
Definition BdsC.cc:7497
BError noticesClear()
Clear notices list.
Definition BdsC.cc:7965
BError metadataGetChannelInfo(Selection sel, MetadataOption options, ChannelInfos &channelInfos)
Return the channel MetaData in structured form. Normally returns an error if incomplete metadata....
Definition BdsC.cc:5832
BError channelGetList(Selection sel, BList< Channel > &channels)
Get list of Channels.
Definition BdsC.cc:4612
BError dataGetChannelInfo(DataInfo dataInfo, ChannelInfos &channelInfos)
Return the channel MetaData in structured form.
Definition BdsC.cc:6617
BError serverConfigurationGet(BDict< BString > &items)
Get server configuration parameters.
Definition BdsC.cc:8222
BError dataGetBlock(DataHandle dataHandle, BUInt32 channel, BUInt32 segment, BUInt32 blockNumber, DataBlock &data)
Return a block of data.
Definition BdsC.cc:7286
BError userSetOptions(BDict< BString > &items)
Set users options.
Definition BdsC.cc:4407
BError modeSnapshotPause(BInt32 on)
Enables/disables backup synchronisation pause.
Definition BdsC.cc:8093
BError statisticsGet(BDict< BString > &info)
Get a list of system statistics.
Definition BdsC.cc:8182
BError setUser(BString user, BString email)
Sets user to given name or email.
Definition BdsC.cc:4105
BError databaseBackup(BString &ref)
Backup the database.
Definition BdsC.cc:8153
BError eventUpdate(BInt32 append, Event event, BUInt32 &id)
Add or update a Event entry.
Definition BdsC.cc:5664
BError dataSetInfo(DataHandle dataHandle, DataInfo dataInfo)
Set the info when writing to a file.
Definition BdsC.cc:7350
BError setUserReal()
Sets user back to real user.
Definition BdsC.cc:4135
BError noticesGetList(BList< BString > ¬ices)
Get notices list.
Definition BdsC.cc:7927
BError stationGetList(Selection sel, BList< Station > &stations)
Get list of Stations.
Definition BdsC.cc:4527
BError dataOpen(DataInfo dataInfo, BString mode, BString format, BUInt32 flags, DataHandle &dataHandle)
Open a data file.
Definition BdsC.cc:6940
BError dataFileGetList(Selection sel, BList< DataFileInfo > &dataFile)
Get list of DataFiles.
Definition BdsC.cc:4771
BError responseGetList(Selection sel, BList< Response > &responses)
Get list of Responses.
Definition BdsC.cc:5330
BError sensorGetList(Selection sel, BList< Sensor > &sensors)
Get list of Sensors.
Definition BdsC.cc:5129
BError noteGetList(Selection sel, BList< Note > ¬es)
Return a list of Notes.
Definition BdsC.cc:7697
BError dataGetInfo(DataHandle dataHandle, BUInt32 infoExtra, DataInfo &dataInfo)
Get information on the data file.
Definition BdsC.cc:7038
BError getSelections(SelectionGroup group, Selection selectionIn, Selection &selectionOut)
Get selection list.
Definition BdsC.cc:6303
BError dataAvailability(Selection selection, BUInt32 num, BArray< DataAvailChan > &dataAvailChans)
Return availability for data matching the given selection parameters. If num > 0 segment ito this num...
Definition BdsC.cc:6391
BError noteWriteDocument(BUInt32 id, BString format, BArray< BUInt8 > data)
Given a Note write a document associated with it.
Definition BdsC.cc:7828
BError userGetGroups(BList< BString > &groups)
Get list of groups the user belongs to.
Definition BdsC.cc:4329
BError getVersion(BString &version, BString &name)
Gets the software version and server name.
Definition BdsC.cc:4163
BError sourceGetList(BList< Source > &sources)
Get list of Sources.
Definition BdsC.cc:4687
BError dataChannelGetList(Selection sel, BList< DataChannel > &dataChannel)
Get list of DataChannels.
Definition BdsC.cc:4847
BError groupGetList(BList< Group > &groups)
Get list of Groups.
Definition BdsC.cc:4447
BError connect(BString user, BString password)
Provides user/password information.
Definition BdsC.cc:4045
BError validateUser(BString user, BString email)
Checks the user given name or email.
Definition BdsC.cc:4075
BError noteUpdate(BInt32 append, Note note, BUInt32 &id)
Add or update a Note.
Definition BdsC.cc:7780
BError dataFormattedGetLength(DataHandle dataHandle, BUInt64 &length)
The total length in bytes of the formated data.
Definition BdsC.cc:7566
BError dataGetNotes(DataHandle dataHandle, BList< Note > ¬es)
Get notes on the data file.
Definition BdsC.cc:7155
BError noticesAdd(BString notice)
Add a notice line.
Definition BdsC.cc:7898
BError digitiserGetList(Selection sel, BList< Digitiser > &digitisers)
Get list of Channels.
Definition BdsC.cc:5013
BError userSet(User user)
Set user info of the currently loogged in user.
Definition BdsC.cc:4286
BError modeSet(Mode mode, Mode &previousMode)
Changes the system mode from Master to slave.
Definition BdsC.cc:8063
BError eventDelete(BUInt32 id)
Delete a Event entry.
Definition BdsC.cc:5730
BError digitiserGet(BUInt32 id, Digitiser &digitiser)
Get a Digitiser object given its ID.
Definition BdsC.cc:5089
BError logUpdate(BInt32 append, Log log, BUInt32 &id)
Append a log item ///< Add or update a Log item.
Definition BdsC.cc:7993
BError noteReadDocument(BUInt32 id, BString &format, BArray< BUInt8 > &data)
Read a document associated with a Note.
Definition BdsC.cc:7862
BError dataRealtimeConfig(BInt32 enable, Selection sel)
Configures the sending of real-time data blocks.
Definition BdsC.cc:7597
BError dataGetWarnings(DataHandle dataHandle, BList< BString > &warnings)
Get information on the data file.
Definition BdsC.cc:7212
BError sensorGet(BUInt32 id, Sensor &sensor)
Get a Sensor object given its ID.
Definition BdsC.cc:5205
BError networkGetList(BList< Network > &networks)
Get list of Networks.
Definition BdsC.cc:4487
BError dataSeekBlock(DataHandle dataHandle, BUInt32 channel, BUInt32 segment, BTimeStamp time, BUInt32 &blockNumber)
Searches for a data block matching the time given.
Definition BdsC.cc:7252
BError getSelectionInfo(SelectionGroup group, Selection selectionIn, SelectionInfo &selectionInfo)
Get information on possible selections. Use in GUI programs to list options available.
Definition BdsC.cc:6183
BError channelInstrumentGetList(Selection sel, BList< ChannelInstrument > &channelInstruments)
Get list of Instruments.
Definition BdsC.cc:4941
BError calibrationGetList(Selection sel, BList< Calibration > &calibrations)
Get list of Calibrations.
Definition BdsC.cc:5245
BError userGetOptions(BDict< BString > &items)
Get users options.
Definition BdsC.cc:4367
DataAddAccess(BString name="")
BDS RPC access class.
Definition BdsC.cc:4041
BError dataRealtimeGet(BUInt32 numBlocks, BUInt32 &numBlocksAvailable, BList< DataBlockChannel > &dataBlocks)
Returns the number of data blocks available and up to numBlocks of these.
Definition BdsC.cc:7654
BError dataFormatGetList(BList< DataFormat > &formats)
Get list of data formats.
Definition BdsC.cc:8262
BError userGet(User &user)
Get user info of the currently loogged in user.
Definition BdsC.cc:4240
BError logAppend(BString type, BUInt32 priority, BString subSystem, BString title, BString description)
Append a log item.
Definition BdsC.cc:8030
BError locationGetList(Selection sel, BList< Location > &locations)
Get list of Station, Channel or both Locations depending on the sel.locationSelect parameter.
Definition BdsC.cc:5479
BError dataFormattedRead(DataHandle dataHandle, BUInt32 number, BArray< BUInt8 > &data)
Read the raw data from the stream.
Definition BdsC.cc:7529
BError userGetFromId(BUInt32 id, User &user)
Get user info given user ID.
Definition BdsC.cc:4193
BError clean(CleanOptions cleanOptions)
Cleans the system logs and Changes information.
Definition BdsC.cc:8122
This class provides the actual Sensor data values contained within a single data block.
Definition BdsD.h:710
This class defines information on a single channel's set of data stored in a file.
Definition BdsD.h:607
This class defines information on a Sensor data file.
Definition BdsD.h:578
This defines a handle to a sensor data stream/file when opened for read or write.
Definition BdsD.h:690
This class defines information on a set of data.
Definition BdsD.h:643
This class defines a seismic Digitiser.
Definition BdsD.h:387
This class defines a seismic event.
Definition BdsD.h:952
This holds information on a User security group.
Definition BdsD.h:758
This class defines an integer based range.
Definition BdsD.h:85
This class defines the physical location of a Station.
Definition BdsD.h:207
This defines the selection cirteria when requesting a set of log entries.
Definition BdsD.h:889
This holds information on a Log entry.
Definition BdsD.h:870
This class defines a seismic Network organisation.
Definition BdsD.h:101
This holds information on a Note for general information.
Definition BdsD.h:838
This class defines a seismic Response characteristic.
Definition BdsD.h:313
This class defines the set of Metadata or Siesmic sensor data to be selected when getSelectionInfo() ...
Definition BdsD.h:483
This class defines a generic Metadata or Sensor data selection.
Definition BdsD.h:517
This class defines a seismic Sensor.
Definition BdsD.h:411
This class defines a Source Priority entry.
Definition BdsD.h:140
This class defines a seismic data Source.
Definition BdsD.h:120
A Special channel identifier.
Definition BdsD.h:930
This class defines a seismic station.
Definition BdsD.h:189
This holds information on a user.
Definition BdsD.h:735
MetadataOption
Metadata fetch options.
Definition BdsD.h:56
Mode
BdsServer mode.
Definition BdsD.h:35
SelectionGroup
The Selection group when making selections.
Definition BdsD.h:41