BDS Public
BdsApi 4.0.1
This is the Blacknest BDS API.
Loading...
Searching...
No Matches
Bds::SourcePriority Class Reference

This class defines a Source Priority entry. More...

#include <BdsD.h>

Inheritance diagram for Bds::SourcePriority:
BObj

Public Member Functions

 SourcePriority (BUInt32 id=0, BTimeStamp startTime=BTimeStamp(), BTimeStamp endTime=BTimeStamp(), BString source=BString(), BUInt32 priority=0)
 
const char * getType () const
 
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 BError getMembers (BDictString &members)
 
virtual BError getMember (BString name, BString &value)
 
virtual BError setMembers (BDictString &members)
 
virtual BError setMember (BString name, BString value)
 
virtual void membersPrint () const
 
virtual BString getDebugString ()
 

Public Attributes

BUInt32 id
 Unique ID when stored in a database or for other uses.
 
BTimeStamp startTime
 The Start Time.
 
BTimeStamp endTime
 The End Time the channel was available.
 
BString source
 The source name.
 
BUInt32 priority
 The priority order, highest first.
 

Detailed Description

This class defines a Source Priority entry.

This allows the default source for data to be selected based on a priority level. It allows a particular source to be used if no other is available prioritised through all the different sources available.

Constructor & Destructor Documentation

◆ SourcePriority()

Bds::SourcePriority::SourcePriority ( BUInt32  id = 0,
BTimeStamp  startTime = BTimeStamp(),
BTimeStamp  endTime = BTimeStamp(),
BString  source = BString(),
BUInt32  priority = 0 
)

Member Function Documentation

◆ getType()

const char * Bds::SourcePriority::getType ( ) const
virtual

Reimplemented from BObj.

◆ setMembers()

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

Reimplemented from BObj.

◆ setMember()

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

Reimplemented from BObj.

◆ getMembers()

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

Reimplemented from BObj.

◆ getMember()

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

Reimplemented from BObj.

Member Data Documentation

◆ id

BUInt32 Bds::SourcePriority::id

Unique ID when stored in a database or for other uses.

◆ startTime

BTimeStamp Bds::SourcePriority::startTime

The Start Time.

◆ endTime

BTimeStamp Bds::SourcePriority::endTime

The End Time the channel was available.

◆ source

BString Bds::SourcePriority::source

The source name.

◆ priority

BUInt32 Bds::SourcePriority::priority

The priority order, highest first.


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