|
Static Public Member Functions |
bool | initDB (const ACE_CString &dbPrefix, int argc=0, char **argv=NULL, CORBA::ORB_ptr orb=CORBA::ORB::_nil()) |
| Create and initialize CDB Table instance.
|
void | closeDB () |
| Close DB and destroy instance.
|
ACE_CString | getFullAddress (const ACE_CString &address) |
| Generate full address (by adding prefix to address).
|
cdb::Table * | getDBTable () |
| Get CDB Table instance.
|
CORBA::Any * | get_characteristic_by_name (const ACE_CString &objectName, const char *name) |
ACS::stringSeq * | find_characteristic (const ACE_CString &name, const char *reg_exp) |
CosPropertyService::PropertySet_ptr | get_all_characteristics (const ACE_CString &name) |
void | writeCommand (ACE_CString deviceName, ACE_CString commandDesc, ACE_CString commandTimestamp) |
void | writeString (ACE_CString name, const ACE_CString &value) |
| Read string type.
|
void | writeDouble (ACE_CString name, CORBA::Double value) |
| Write CORBA::Double type.
|
void | writeLong (ACE_CString name, CORBA::Long value) |
| Write CORBA::Long type.
|
void | writeULong (ACE_CString name, CORBA::ULong value) |
| Write CORBA::ULong type.
|
void | writeDoubleSeq (ACE_CString name, const ACS::doubleSeq &val) |
| Read ACS::doubleSeq type.
|
void | writeLongSeq (ACE_CString name, const ACS::longSeq &val) |
| Read ACS::longSeq type.
|
ACE_CString | readString (ACE_CString name) |
| Read string type.
|
CORBA::Double | readDouble (ACE_CString name) |
| Read CORBA::Double type.
|
ACS::doubleSeq | readDoubleSeq (ACE_CString name) |
| Read ACS::doubleSeq type.
|
ACS::longSeq | readLongSeq (ACE_CString name) |
| Read ACS::longSeq type.
|
CORBA::Long | readLong (ACE_CString name) |
| Read CORBA::Long type.
|
CORBA::ULong | readULong (ACE_CString name) |
| Read CORBA::ULong type.
|
Private Member Functions |
void | operator= (const DBConnector &) |
| DBConnector (const DBConnector &) |
Static Private Attributes |
ACE_CString | dbPrefix_m |
| DB address prefix.
|
cdb::Table * | dbTable_mp |
| CDB instance.
|