Account
BdsApi 4.0.1 This is the Blacknest BDS API. |
Loading...
Searching...
No Matches
BdsC.h
Go to the documentation of this file.
60 BError metadataGetChannelInfo(Selection sel, MetadataOption options, ChannelInfos& channelInfos);
61 BError metadataGetFormatted(Selection sel, MetadataOption options, BString format, BArray<BUInt8 >& data);
63 BError getSelectionInfo(SelectionGroup group, Selection selectionIn, SelectionInfo& selectionInfo);
66 BError dataAvailability(Selection selection, BUInt32 num, BArray<DataAvailChan >& dataAvailChans);
69 BError dataOpen(DataInfo dataInfo, BString mode, BString format, BUInt32 flags, DataHandle& dataHandle);
73 BError dataSeekBlock(DataHandle dataHandle, BUInt32 channel, BUInt32 segment, BTimeStamp time, BUInt32& blockNumber);
74 BError dataGetBlock(DataHandle dataHandle, BUInt32 channel, BUInt32 segment, BUInt32 blockNumber, DataBlock& data);
80 BError dataRealtimeGet(BUInt32 numBlocks, BUInt32& numBlocksAvailable, BList<DataBlockChannel >& dataBlocks);
89 BError logAppend(BString type, BUInt32 priority, BString subSystem, BString title, BString description);
142 BError metadataGetChannelInfo(Selection sel, MetadataOption options, ChannelInfos& channelInfos);
143 BError metadataGetFormatted(Selection sel, MetadataOption options, BString format, BArray<BUInt8 >& data);
145 BError getSelectionInfo(SelectionGroup group, Selection selectionIn, SelectionInfo& selectionInfo);
148 BError dataAvailability(Selection selection, BUInt32 num, BArray<DataAvailChan >& dataAvailChans);
151 BError dataOpen(DataInfo dataInfo, BString mode, BString format, BUInt32 flags, DataHandle& dataHandle);
155 BError dataSeekBlock(DataHandle dataHandle, BUInt32 channel, BUInt32 segment, BTimeStamp time, BUInt32& blockNumber);
156 BError dataGetBlock(DataHandle dataHandle, BUInt32 channel, BUInt32 segment, BUInt32 blockNumber, DataBlock& data);
164 BError dataRealtimeGet(BUInt32 numBlocks, BUInt32& numBlocksAvailable, BList<DataBlockChannel >& dataBlocks);
173 BError logAppend(BString type, BUInt32 priority, BString subSystem, BString title, BString description);
214 BError getSelectionInfo(SelectionGroup group, Selection selectionIn, SelectionInfo& selectionInfo);
236 BError channelInstrumentUpdate(BInt32 append, ChannelInstrument channelInstrument, BUInt32& id);
258 BError metadataGetChannelInfo(Selection sel, MetadataOption options, ChannelInfos& channelInfos);
259 BError metadataGetFormatted(Selection sel, MetadataOption options, BString format, BArray<BUInt8 >& data);
267 BError dataAvailability(Selection selection, BUInt32 num, BArray<DataAvailChan >& dataAvailChans);
270 BError dataOpen(DataInfo dataInfo, BString mode, BString format, BUInt32 flags, DataHandle& dataHandle);
274 BError dataGetBlock(DataHandle dataHandle, BUInt32 channel, BUInt32 segment, BUInt32 blockNumber, DataBlock& data);
275 BError dataSeekBlock(DataHandle dataHandle, BUInt32 channel, BUInt32 segment, BTimeStamp time, BUInt32& blockNumber);
283 BError dataRealtimeGet(BUInt32 numBlocks, BUInt32& numBlocksAvailable, BList<DataBlockChannel >& dataBlocks);
303 BError logAppend(BString type, BUInt32 priority, BString subSystem, BString title, BString description);
BUInt32 format
BUInt32 length
uint32_t BUInt32
int32_t BInt32
uint64_t BUInt64
BOAP data class definitions for: Bds.
BInt16 number
char data[8]
BUInt16 error
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:11365
BError validateUser(BString user, BString email)
Checks the user given name or email.
Definition BdsC.cc:8346
BError locationUpdate(BInt32 append, Location location, BUInt32 &id)
Add or update a Station Location entry.
Definition BdsC.cc:9605
BError sourcePriorityDelete(BUInt32 id)
Definition BdsC.cc:10042
BError calibrationGetList(Selection sel, BList< Calibration > &calibrations)
Get list of Calibrations.
Definition BdsC.cc:10581
BError calibrationUpdate(BInt32 append, Calibration calibration, BUInt32 &id)
Add or update a Calibration entry.
Definition BdsC.cc:10666
BError getSelections(SelectionGroup group, Selection selectionIn, Selection &selectionOut)
Get selection list.
Definition BdsC.cc:9177
BError accessGroupGetList(BList< AccessGroup > &accessGroups)
Get list of AccessGroups.
Definition BdsC.cc:8949
BError logGetList(LogSelect sel, BList< Log > &logs)
Get list of log entries.
Definition BdsC.cc:13917
BError dataClose(DataHandle dataHandle, BError error, BInt32 del)
Close a file.
Definition BdsC.cc:13146
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:14453
BError digitiserDelete(BUInt32 id)
Delete a Digitiser entry.
Definition BdsC.cc:10366
BError dataGetWarnings(DataHandle dataHandle, BList< BString > &warnings)
Get information on the data file.
Definition BdsC.cc:12861
BError dataFormatGetList(BList< DataFormat > &formats)
Get list of supported data formats.
Definition BdsC.cc:14144
BError changeDelete(BTimeStamp beforeDate, BString type)
Delete a Change.
Definition BdsC.cc:13562
BError channelInstrumentGetList(Selection sel, BList< ChannelInstrument > &channelInstruments)
Get list of Channel Instruments.
Definition BdsC.cc:10071
BError stationUpdate(BInt32 append, Station station, BUInt32 &id)
Add or update a Station entry.
Definition BdsC.cc:9452
BError channelGetList(Selection sel, BList< Channel > &channels)
Get list of Channels.
Definition BdsC.cc:9676
BError groupGetList(BList< Group > &groups)
Get list of Groups.
Definition BdsC.cc:8847
BError sourcePriorityGetList(BList< SourcePriority > &sourcePrioritys)
Get list of SourcePriorities.
Definition BdsC.cc:9965
BError calibrationDelete(BUInt32 id)
Delete a Calibration entry.
Definition BdsC.cc:10716
BError locationGetList(Selection sel, BList< Location > &locations)
Get list of Station, Channel or both Locations depending on the sel.locationSelect parameter.
Definition BdsC.cc:9528
BError changeGroupDelete(BTimeStamp beforeDate, BString type, BInt32 empty)
Delete a ChangeGroup.
Definition BdsC.cc:13454
BError databaseBackup(BString &ref)
Backup the database.
Definition BdsC.cc:14344
BError userDelete(BUInt32 id)
Delete a user entry.
Definition BdsC.cc:8564
BError dataChannelUpdate(BInt32 append, DataChannel dataChannel, BUInt32 &id)
Add or update a DataChannel entry.
Definition BdsC.cc:11956
BError userSetOptions(BDict< BString > &items)
Set users options.
Definition BdsC.cc:8807
BError modeSet(Mode mode, Mode &previousMode)
Changes the system mode from Master to slave.
Definition BdsC.cc:14254
BError userGetOptions(BDict< BString > &items)
Get users options.
Definition BdsC.cc:8767
BError noteWriteDocument(BUInt32 id, BString format, BArray< BUInt8 > data)
Given a Note write a document associated with it.
Definition BdsC.cc:13752
BError dataFileGetList(Selection sel, BList< DataFileInfo > &dataFile)
Get list of DataFiles.
Definition BdsC.cc:11716
BError logAppend(BString type, BUInt32 priority, BString subSystem, BString title, BString description)
Append a log item.
Definition BdsC.cc:14031
BError responseDelete(BUInt32 id)
Delete a Response entry.
Definition BdsC.cc:10993
BError dataGetInfo(DataHandle dataHandle, BUInt32 infoExtra, DataInfo &dataInfo)
Get information on the data file.
Definition BdsC.cc:12687
BError serverConfigurationGet(BDict< BString > &items)
Get server configuration parameters.
Definition BdsC.cc:14104
BError setUserReal()
Sets user back to real user.
Definition BdsC.cc:8406
BError changeGetList(BUInt32 id, ListRange range, BList< Change > &changes)
Get a list of Changes.
Definition BdsC.cc:13515
BError noteGetList(Selection sel, BList< Note > ¬es)
Get a list of Notes.
Definition BdsC.cc:13592
BError channelDelete(BUInt32 id)
Delete a Channel entry.
Definition BdsC.cc:9830
BError dataPutBlock(DataHandle dataHandle, DataBlock data)
Send a block of data.
Definition BdsC.cc:13094
BError userUpdate(BInt32 append, User user, BUInt32 &id)
Update or append a user entry.
Definition BdsC.cc:8519
BError accessGroupDelete(BUInt32 id)
Delete an AccessGroup entry.
Definition BdsC.cc:9028
BError eventGetList(Selection sel, BList< Event > &events)
Get list of Events.
Definition BdsC.cc:11022
BError changeGetListNumber(BUInt32 id, BUInt32 &number)
Get the number of changes in a ChangeGroup.
Definition BdsC.cc:13485
BError changeGroupStart(ChangeGroup changeGroup)
Start a new ChangeGroup when making a set of changes to the BDS's database.
Definition BdsC.cc:13346
BError sensorUpdate(BInt32 append, Sensor sensor, BUInt32 &id)
Add or update a Sensor entry.
Definition BdsC.cc:10511
BError stationGetList(Selection sel, BList< Station > &stations)
Get list of Stations.
Definition BdsC.cc:9367
BError dataChannelDelete(BUInt32 id)
Delete a DataChannel entry.
Definition BdsC.cc:12011
BError sensorDelete(BUInt32 id)
Delete a Sensor entry.
Definition BdsC.cc:10552
BError responseGetList(Selection sel, BList< Response > &responses)
Get list of Responses.
Definition BdsC.cc:10745
BError transactionEnd(BInt32 abort)
Ends a set of transactions.
Definition BdsC.cc:14225
BError stationDelete(BUInt32 id)
Delete a Station entry.
Definition BdsC.cc:9499
BError dataOpen(DataInfo dataInfo, BString mode, BString format, BUInt32 flags, DataHandle &dataHandle)
Open a data file.
Definition BdsC.cc:12589
BError groupUpdate(BInt32 append, Group group, BUInt32 &id)
Update or append a group entry.
Definition BdsC.cc:8887
BError dataSeekBlock(DataHandle dataHandle, BUInt32 channel, BUInt32 segment, BTimeStamp time, BUInt32 &blockNumber)
Searches for a data block matching the time given.
Definition BdsC.cc:12965
BError userGetList(BList< User > &users)
Get list of Users.
Definition BdsC.cc:8464
BError specialChannelGetList(Selection sel, BList< SpecialChannel > &specialChannels)
Get list of Special Channels.
Definition BdsC.cc:11225
BError dataGetBlock(DataHandle dataHandle, BUInt32 channel, BUInt32 segment, BUInt32 blockNumber, DataBlock &data)
Return a block of data.
Definition BdsC.cc:12901
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:12040
BError sqlQuery(BString query, BList< BDict< BString > > &result)
A low level SQL access function.
Definition BdsC.cc:14403
BError noteReadDocument(BUInt32 id, BString &format, BArray< BUInt8 > &data)
Read a document associated with a Note.
Definition BdsC.cc:13786
BError accessGroupUpdate(BInt32 append, AccessGroup group, BUInt32 &id)
Update or append an AccessGroup entry.
Definition BdsC.cc:8992
BError noticesAdd(BString notice)
Add a notice line.
Definition BdsC.cc:13822
BError setUser(BString user, BString email)
Sets user to given name or email.
Definition BdsC.cc:8376
BError userGetFromId(BUInt32 id, User &user)
Get user info given user ID.
Definition BdsC.cc:8593
BError groupDelete(BUInt32 id)
Delete a group entry.
Definition BdsC.cc:8920
BError transactionStart()
Starts a set of transactions.
Definition BdsC.cc:14197
BError dataFileDelete(BUInt32 id)
Delete a DataFile entry.
Definition BdsC.cc:11833
BError sourceUpdate(BInt32 append, Source source, BUInt32 &id)
Add or update a Source entry.
Definition BdsC.cc:9901
BError logUpdate(BInt32 append, Log log, BUInt32 &id)
Add or Update a Log item.
Definition BdsC.cc:13965
BError networkGetList(BList< Network > &networks)
Get list of Networks.
Definition BdsC.cc:9265
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:13303
BError dataChannelGetList(Selection sel, BList< DataChannel > &dataChannel)
Get list of DataChannels.
Definition BdsC.cc:11862
BError userGetGroups(BList< BString > &groups)
Get list of groups the user belongs to.
Definition BdsC.cc:8729
BError eventDelete(BUInt32 id)
Delete a Event entry.
Definition BdsC.cc:11196
BError dataFileUpdate(BInt32 append, DataFileInfo dataFile, BUInt32 &id)
Add or update a DataFile entry.
Definition BdsC.cc:11792
BError dataGetChannelInfo(DataInfo dataInfo, ChannelInfos &channelInfos)
Return the channel MetaData in structured form.
Definition BdsC.cc:12266
BError channelUpdate(BInt32 append, Channel channel, BUInt32 &id)
Add or update a Channel entry.
Definition BdsC.cc:9790
BError locationDelete(BUInt32 id)
Delete a Station Location entry.
Definition BdsC.cc:9647
BError dataGetNotes(DataHandle dataHandle, BList< Note > ¬es)
Get notes on the data file.
Definition BdsC.cc:12804
BError sensorGetList(Selection sel, BList< Sensor > &sensors)
Get list of Sensors.
Definition BdsC.cc:10395
BError eventUpdate(BInt32 append, Event event, BUInt32 &id)
Add or update a Event entry.
Definition BdsC.cc:11130
BError dataSetInfo(DataHandle dataHandle, DataInfo dataInfo)
Set the info when writing to a file.
Definition BdsC.cc:12999
BError digitiserGetList(Selection sel, BList< Digitiser > &digitisers)
Get list of Digitisers.
Definition BdsC.cc:10209
BError statisticsGet(BDict< BString > &info)
Get a list of system statistics.
Definition BdsC.cc:14064
BError networkDelete(BUInt32 id)
Delete a Network entry.
Definition BdsC.cc:9338
BError sourcePriorityUpdate(BInt32 append, SourcePriority sourcePriority, BUInt32 &id)
Definition BdsC.cc:10007
BError specialChannelDelete(BUInt32 id)
Delete a SpecialChannel entry.
Definition BdsC.cc:11336
BError specialChannelUpdate(BInt32 append, SpecialChannel specialChannel, BUInt32 &id)
Add or update a SpecialChannel entry.
Definition BdsC.cc:11298
BError dataRealtimeConfig(BInt32 enable, Selection sel)
Configures the sending of real-time data blocks.
Definition BdsC.cc:13246
BError dataSearch(Selection selection, DataInfo &dataInfo)
Search for data matching the given selection parameters.
Definition BdsC.cc:12124
BError sourceDelete(BUInt32 id)
Delete a Source entry.
Definition BdsC.cc:9936
BError changeGroupGetList(ListRange range, BList< ChangeGroup > &changeGroups)
Return a list of ChangeGroups.
Definition BdsC.cc:13408
BError userSet(User user)
Set user info of the currently loogged in user.
Definition BdsC.cc:8686
BError clean(CleanOptions cleanOptions)
Cleans the system logs and Changes information.
Definition BdsC.cc:14313
BError databaseRestore(BString ref, BString type)
Restore the database.
Definition BdsC.cc:14373
BError noteUpdate(BInt32 append, Note note, BUInt32 &id)
Add or update a Note.
Definition BdsC.cc:13675
BError noticesGetList(BList< BString > ¬ices)
Get notices list.
Definition BdsC.cc:13851
BError networkUpdate(BInt32 append, Network network, BUInt32 &id)
Add or update a Network entry.
Definition BdsC.cc:9305
BError connect(BString user, BString password)
Provides user/password information.
Definition BdsC.cc:8316
BError digitiserGet(BUInt32 id, Digitiser &digitiser)
Get a Digitiser object given its ID.
Definition BdsC.cc:10285
BError modeSnapshotPause(BInt32 on)
Enables/disables backup synchronisation pause.
Definition BdsC.cc:14284
BError channelGet(BUInt32 id, Channel &channel)
Get a specific channel given its ID.
Definition BdsC.cc:9751
BError sensorGet(BUInt32 id, Sensor &sensor)
Get a Sensor object given its ID.
Definition BdsC.cc:10471
BError responseUpdate(BInt32 append, Response response, BUInt32 &id)
Add or update a Response entry.
Definition BdsC.cc:10894
BError channelInstrumentDelete(BUInt32 id)
Delete an Instrument entry.
Definition BdsC.cc:10180
BError sourceGetList(BList< Source > &sources)
Get list of Sources.
Definition BdsC.cc:9859
BError digitiserUpdate(BInt32 append, Digitiser digitiser, BUInt32 &id)
Add or update a Digitiser entry.
Definition BdsC.cc:10325
BError dataFormattedGetLength(DataHandle dataHandle, BUInt64 &length)
Read the length of the raw formated data file.
Definition BdsC.cc:13215
BError getVersion(BString &version, BString &name)
Gets the software version and server name.
Definition BdsC.cc:8434
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:11652
BError channelInstrumentUpdate(BInt32 append, ChannelInstrument channelInstrument, BUInt32 &id)
Add or update a Instrument entry.
Definition BdsC.cc:10143
BError getSelectionInfo(SelectionGroup group, Selection selectionIn, SelectionInfo &selectionInfo)
Get information on possible selections. Use in GUI programs to list options available.
Definition BdsC.cc:9057
BError dataFormattedRead(DataHandle dataHandle, BUInt32 number, BArray< BUInt8 > &data)
Read the raw data from the file.
Definition BdsC.cc:13178
BError userGet(User &user)
Get user info of the currently loogged in user.
Definition BdsC.cc:8640
This class provides Metadata information on a set of channels.
Definition BdsD.h:566
This defines the set of clean options used in the clean() function.
Definition BdsD.h:900
BError getSelectionInfo(SelectionGroup group, Selection selectionIn, SelectionInfo &selectionInfo)
Get information on possible selections. Use in GUI programs to list options available.
Definition BdsC.cc:2055
BError dataChannelGetList(Selection sel, BList< DataChannel > &dataChannel)
Get list of DataChannels.
Definition BdsC.cc:814
BError noticesGetList(BList< BString > ¬ices)
Get notices list.
Definition BdsC.cc:3652
BError serverConfigurationGet(BDict< BString > &items)
Get server configuration parameters.
Definition BdsC.cc:3947
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:3379
BError responseGetList(Selection sel, BList< Response > &responses)
Get list of Responces.
Definition BdsC.cc:1297
BError stationGetList(Selection sel, BList< Station > &stations)
Get list of Stations.
Definition BdsC.cc:494
BError dataSearch(Selection selection, DataInfo &dataInfo)
Search for data matching the given selection parameters.
Definition BdsC.cc:2347
BError dataGetChannelInfo(DataInfo dataInfo, ChannelInfos &channelInfos)
Return the channel MetaData in structured form.
Definition BdsC.cc:2489
BError dataFormattedRead(DataHandle dataHandle, BUInt32 number, BArray< BUInt8 > &data)
Read the raw data from the file.
Definition BdsC.cc:3254
BError noticesAdd(BString notice)
Add a notice line.
Definition BdsC.cc:3623
BError sourceGetList(BList< Source > &sources)
Get list of Sources.
Definition BdsC.cc:654
BError dataFormatGetList(BList< DataFormat > &formats)
Get list of data formats.
Definition BdsC.cc:3987
BError digitiserGetList(Selection sel, BList< Digitiser > &digitisers)
Get list of Digitisers.
Definition BdsC.cc:980
BError setUser(BString user, BString email)
Sets user to given name or email.
Definition BdsC.cc:72
BError groupGetList(BList< Group > &groups)
Get list of Groups.
Definition BdsC.cc:414
BError noteWriteDocument(BUInt32 id, BString format, BArray< BUInt8 > data)
Given a Note write a document associated with it.
Definition BdsC.cc:3553
BError dataSeekBlock(DataHandle dataHandle, BUInt32 channel, BUInt32 segment, BTimeStamp time, BUInt32 &blockNumber)
Searches for a data block matching the time given.
Definition BdsC.cc:3124
BError noteGetList(Selection sel, BList< Note > ¬es)
Return a list of Notes.
Definition BdsC.cc:3422
BError dataGetWarnings(DataHandle dataHandle, BList< BString > &warnings)
Get information on the data file.
Definition BdsC.cc:3084
BError databaseBackup(BString &ref)
Backup the database.
Definition BdsC.cc:3878
BError dataGetInfo(DataHandle dataHandle, BUInt32 infoExtra, DataInfo &dataInfo)
Get information on the data file.
Definition BdsC.cc:2910
BError eventGetList(Selection sel, BList< Event > &events)
Get list of Events.
Definition BdsC.cc:1523
BError sensorGetList(Selection sel, BList< Sensor > &sensors)
Get list of Sensors.
Definition BdsC.cc:1096
BError validateUser(BString user, BString email)
Checks the user given name or email.
Definition BdsC.cc:42
BError dataFileGetList(Selection sel, BList< DataFileInfo > &dataFile)
Get list of DataFiles.
Definition BdsC.cc:738
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:1704
BError channelInstrumentGetList(Selection sel, BList< ChannelInstrument > &channelInstruments)
Get list of Instruments.
Definition BdsC.cc:908
BError logUpdate(BInt32 append, Log log, BUInt32 &id)
Add or update a Log item.
Definition BdsC.cc:3718
BError userGet(User &user)
Get user info of the currently loogged in user.
Definition BdsC.cc:207
BError userSetOptions(BDict< BString > &items)
Set users options.
Definition BdsC.cc:374
BError dataOpen(DataInfo dataInfo, BString mode, BString format, BUInt32 flags, DataHandle &dataHandle)
Open a data file.
Definition BdsC.cc:2812
BError dataClose(DataHandle dataHandle, BError error, BInt32 del)
Close a file.
Definition BdsC.cc:3222
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:2263
BError dataRealtimeConfig(BInt32 enable, Selection sel)
Configures the sending of real-time data blocks.
Definition BdsC.cc:3322
BError statisticsGet(BDict< BString > &info)
Get a list of system statistics.
Definition BdsC.cc:3907
BError channelGetList(Selection sel, BList< Channel > &channels)
Get list of Channels.
Definition BdsC.cc:579
BError getSelections(SelectionGroup group, Selection selectionIn, Selection &selectionOut)
Get selection list.
Definition BdsC.cc:2175
BError specialChannelGetList(Selection sel, BList< SpecialChannel > &specialChannels)
Get list of Special Channels.
Definition BdsC.cc:1631
BError logAppend(BString type, BUInt32 priority, BString subSystem, BString title, BString description)
Append a log item.
Definition BdsC.cc:3755
BError clean(CleanOptions cleanOptions)
Cleans the system logs and Changes information.
Definition BdsC.cc:3847
BError locationGetList(Selection sel, BList< Location > &locations)
Get list of Station, Channel or both Locations depending on the sel.locationSelect parameter.
Definition BdsC.cc:1446
BError calibrationGetList(Selection sel, BList< Calibration > &calibrations)
Get list of Calibrations.
Definition BdsC.cc:1212
BError dataFormattedGetLength(DataHandle dataHandle, BUInt64 &length)
Read the length of the raw formated data file.
Definition BdsC.cc:3291
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:1991
BError digitiserGet(BUInt32 id, Digitiser &digitiser)
Get a Digitiser object given its ID.
Definition BdsC.cc:1056
BError modeSnapshotPause(BInt32 on)
Enables/disables backup synchronisation pause.
Definition BdsC.cc:3818
BError networkGetList(BList< Network > &networks)
Get list of Networks.
Definition BdsC.cc:454
BError modeSet(Mode mode, Mode &previousMode)
Changes the system mode from Master to slave.
Definition BdsC.cc:3788
BError noteUpdate(BInt32 append, Note note, BUInt32 &id)
Add or update a Note.
Definition BdsC.cc:3505
BError dataGetBlock(DataHandle dataHandle, BUInt32 channel, BUInt32 segment, BUInt32 blockNumber, DataBlock &data)
Return a block of data.
Definition BdsC.cc:3158
BError sensorGet(BUInt32 id, Sensor &sensor)
Get a Sensor object given its ID.
Definition BdsC.cc:1172
BError userSet(User user)
Set user info of the currently loogged in user.
Definition BdsC.cc:253
BError userGetGroups(BList< BString > &groups)
Get list of groups the user belongs to.
Definition BdsC.cc:296
BError connect(BString user, BString password)
Provides user/password information for secure connection.
Definition BdsC.cc:12
BError noteReadDocument(BUInt32 id, BString &format, BArray< BUInt8 > &data)
Read a document associated with a Note.
Definition BdsC.cc:3587
BError sourcePriorityGetList(BList< SourcePriority > &sourcePrioritys)
Get list of SourcePriorities.
Definition BdsC.cc:696
BError getVersion(BString &version, BString &name)
Gets the software version and server name.
Definition BdsC.cc:130
BError userGetFromId(BUInt32 id, User &user)
Get user info given user ID.
Definition BdsC.cc:160
BError dataGetNotes(DataHandle dataHandle, BList< Note > ¬es)
Get notes on the data file.
Definition BdsC.cc:3027
BError userGetOptions(BDict< BString > &items)
Get users options.
Definition BdsC.cc:334
BError dataSearch(Selection selection, DataInfo &dataInfo)
Search for data matching the given selection parameters.
Definition BdsC.cc:6473
BError eventGetList(Selection sel, BList< Event > &events)
Get list of Events.
Definition BdsC.cc:5554
BError eventUpdate(BInt32 append, Event event, BUInt32 &id)
Add or update a Event entry.
Definition BdsC.cc:5662
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:6117
BError specialChannelGetList(Selection sel, BList< SpecialChannel > &specialChannels)
Get list of Special Channels.
Definition BdsC.cc:5757
BError sensorGet(BUInt32 id, Sensor &sensor)
Get a Sensor object given its ID.
Definition BdsC.cc:5203
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:5830
BError userGetFromId(BUInt32 id, User &user)
Get user info given user ID.
Definition BdsC.cc:4191
BError channelGetList(Selection sel, BList< Channel > &channels)
Get list of Channels.
Definition BdsC.cc:4610
BError getVersion(BString &version, BString &name)
Gets the software version and server name.
Definition BdsC.cc:4161
BError dataGetChannelInfo(DataInfo dataInfo, ChannelInfos &channelInfos)
Return the channel MetaData in structured form.
Definition BdsC.cc:6615
BError serverConfigurationGet(BDict< BString > &items)
Get server configuration parameters.
Definition BdsC.cc:8220
BError dataGetBlock(DataHandle dataHandle, BUInt32 channel, BUInt32 segment, BUInt32 blockNumber, DataBlock &data)
Return a block of data.
Definition BdsC.cc:7284
BError userSet(User user)
Set user info of the currently loogged in user.
Definition BdsC.cc:4284
BError connect(BString user, BString password)
Provides user/password information.
Definition BdsC.cc:4043
BError modeSnapshotPause(BInt32 on)
Enables/disables backup synchronisation pause.
Definition BdsC.cc:8091
BError noteReadDocument(BUInt32 id, BString &format, BArray< BUInt8 > &data)
Read a document associated with a Note.
Definition BdsC.cc:7860
BError statisticsGet(BDict< BString > &info)
Get a list of system statistics.
Definition BdsC.cc:8180
BError noteWriteDocument(BUInt32 id, BString format, BArray< BUInt8 > data)
Given a Note write a document associated with it.
Definition BdsC.cc:7826
BError dataClose(DataHandle dataHandle, BError error, BInt32 del)
Close a file.
Definition BdsC.cc:7495
BError networkGetList(BList< Network > &networks)
Get list of Networks.
Definition BdsC.cc:4485
BError noticesGetList(BList< BString > ¬ices)
Get notices list.
Definition BdsC.cc:7925
BError setUser(BString user, BString email)
Sets user to given name or email.
Definition BdsC.cc:4103
BError databaseBackup(BString &ref)
Backup the database.
Definition BdsC.cc:8151
BError stationGetList(Selection sel, BList< Station > &stations)
Get list of Stations.
Definition BdsC.cc:4525
BError calibrationGetList(Selection sel, BList< Calibration > &calibrations)
Get list of Calibrations.
Definition BdsC.cc:5243
BError dataOpen(DataInfo dataInfo, BString mode, BString format, BUInt32 flags, DataHandle &dataHandle)
Open a data file.
Definition BdsC.cc:6938
BError userGetOptions(BDict< BString > &items)
Get users options.
Definition BdsC.cc:4365
BError userGet(User &user)
Get user info of the currently loogged in user.
Definition BdsC.cc:4238
BError sourceGetList(BList< Source > &sources)
Get list of Sources.
Definition BdsC.cc:4685
BError dataFileGetList(Selection sel, BList< DataFileInfo > &dataFile)
Get list of DataFiles.
Definition BdsC.cc:4769
BError responseGetList(Selection sel, BList< Response > &responses)
Get list of Responses.
Definition BdsC.cc:5328
BError sensorGetList(Selection sel, BList< Sensor > &sensors)
Get list of Sensors.
Definition BdsC.cc:5127
BError eventDelete(BUInt32 id)
Delete a Event entry.
Definition BdsC.cc:5728
BError noteGetList(Selection sel, BList< Note > ¬es)
Return a list of Notes.
Definition BdsC.cc:7695
BError dataGetInfo(DataHandle dataHandle, BUInt32 infoExtra, DataInfo &dataInfo)
Get information on the data file.
Definition BdsC.cc:7036
BError getSelections(SelectionGroup group, Selection selectionIn, Selection &selectionOut)
Get selection list.
Definition BdsC.cc:6301
BError dataFormattedGetLength(DataHandle dataHandle, BUInt64 &length)
The total length in bytes of the formated data.
Definition BdsC.cc:7564
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:6389
BError dataChannelGetList(Selection sel, BList< DataChannel > &dataChannel)
Get list of DataChannels.
Definition BdsC.cc:4845
BError validateUser(BString user, BString email)
Checks the user given name or email.
Definition BdsC.cc:4073
BError dataGetNotes(DataHandle dataHandle, BList< Note > ¬es)
Get notes on the data file.
Definition BdsC.cc:7153
BError groupGetList(BList< Group > &groups)
Get list of Groups.
Definition BdsC.cc:4445
BError digitiserGetList(Selection sel, BList< Digitiser > &digitisers)
Get list of Channels.
Definition BdsC.cc:5011
BError digitiserGet(BUInt32 id, Digitiser &digitiser)
Get a Digitiser object given its ID.
Definition BdsC.cc:5087
BError modeSet(Mode mode, Mode &previousMode)
Changes the system mode from Master to slave.
Definition BdsC.cc:8061
BError sourcePriorityGetList(BList< SourcePriority > &sourcePrioritys)
Get list of SourcePriorities.
Definition BdsC.cc:4727
BError dataRealtimeConfig(BInt32 enable, Selection sel)
Configures the sending of real-time data blocks.
Definition BdsC.cc:7595
BError dataGetWarnings(DataHandle dataHandle, BList< BString > &warnings)
Get information on the data file.
Definition BdsC.cc:7210
BError dataSeekBlock(DataHandle dataHandle, BUInt32 channel, BUInt32 segment, BTimeStamp time, BUInt32 &blockNumber)
Searches for a data block matching the time given.
Definition BdsC.cc:7250
BError getSelectionInfo(SelectionGroup group, Selection selectionIn, SelectionInfo &selectionInfo)
Get information on possible selections. Use in GUI programs to list options available.
Definition BdsC.cc:6181
BError channelInstrumentGetList(Selection sel, BList< ChannelInstrument > &channelInstruments)
Get list of Instruments.
Definition BdsC.cc:4939
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:7652
BError noteUpdate(BInt32 append, Note note, BUInt32 &id)
Add or update a Note.
Definition BdsC.cc:7778
BError setUserReal()
Sets user back to real user.
Definition BdsC.cc:4133
BError userGetGroups(BList< BString > &groups)
Get list of groups the user belongs to.
Definition BdsC.cc:4327
BError dataFormatGetList(BList< DataFormat > &formats)
Get list of data formats.
Definition BdsC.cc:8260
BError userSetOptions(BDict< BString > &items)
Set users options.
Definition BdsC.cc:4405
BError dataPutBlock(DataHandle dataHandle, DataBlock data)
Send a block of data.
Definition BdsC.cc:7443
BError logAppend(BString type, BUInt32 priority, BString subSystem, BString title, BString description)
Append a log item.
Definition BdsC.cc:8028
BError dataSetInfo(DataHandle dataHandle, DataInfo dataInfo)
Set the info when writing to a file.
Definition BdsC.cc:7348
BError logUpdate(BInt32 append, Log log, BUInt32 &id)
Append a log item ///< Add or update a Log item.
Definition BdsC.cc:7991
BError noticesAdd(BString notice)
Add a notice line.
Definition BdsC.cc:7896
BError locationGetList(Selection sel, BList< Location > &locations)
Get list of Station, Channel or both Locations depending on the sel.locationSelect parameter.
Definition BdsC.cc:5477
BError dataFormattedRead(DataHandle dataHandle, BUInt32 number, BArray< BUInt8 > &data)
Read the raw data from the stream.
Definition BdsC.cc:7527
BError clean(CleanOptions cleanOptions)
Cleans the system logs and Changes information.
Definition BdsC.cc:8120
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 defines a handle to a sensor data stream/file when opened for read or write.
Definition BdsD.h:690
This defines the selection cirteria when requesting a set of log entries.
Definition BdsD.h:889
This class defines the set of Metadata or Siesmic sensor data to be selected when getSelectionInfo() ...
Definition BdsD.h:483
Definition BdsC.cc:8
Generated by