![]() |
RDK Documentation (Open Sourced RDK Components)
|
Describe the details about classes used in TR-069 storage service physical medium.
Data Structures | |
class | hostIf_PhysicalMedium |
This class provides the TR-069 host interface physical medium information. More... | |
class hostIf_PhysicalMedium |
This class provides the TR-069 host interface physical medium information.
Definition at line 114 of file Service_Storage_PhyMedium.h.
Public Member Functions | |
int | get_Device_Service_StorageMedium_Alias (HOSTIF_MsgData_t *stMsgData) |
This function get the alias of storage service medium. Currently not implemented. More... | |
int | get_Device_Service_StorageMedium_Name (HOSTIF_MsgData_t *stMsgData) |
This function get the name of the storage service medium. More... | |
int | get_Device_Service_StorageMedium_Vendor (HOSTIF_MsgData_t *stMsgData) |
This function get the vendor of the storage service medium. Currently not implemented. More... | |
int | get_Device_Service_StorageMedium_Model (HOSTIF_MsgData_t *stMsgData) |
This function get the model number of the storage service medium. Currently not implemented. More... | |
int | get_Device_Service_StorageMedium_SerialNumber (HOSTIF_MsgData_t *stMsgData) |
This function get the serial number of the storage service medium. Currently not implemented. More... | |
int | get_Device_Service_StorageMedium_FirmwareVersion (HOSTIF_MsgData_t *stMsgData) |
This function get the firmware version of the storage service medium. Currently not implemented. More... | |
int | get_Device_Service_StorageMedium_ConnectionType (HOSTIF_MsgData_t *stMsgData) |
This function get the connection type of the storage service medium. Currently not implemented. More... | |
int | get_Device_Service_StorageMedium_Removable (HOSTIF_MsgData_t *stMsgData) |
This function get the storage service medium removable. Currently not implemented. More... | |
int | get_Device_Service_StorageMedium_Status (HOSTIF_MsgData_t *stMsgData) |
This function get the status of the storage service medium. Currently not implemented. More... | |
int | get_Device_Service_StorageMedium_Uptime (HOSTIF_MsgData_t *stMsgData) |
This function get the uptime of the storage service medium. Currently not implemented. More... | |
int | get_Device_Service_StorageMedium_SMARTCapable (HOSTIF_MsgData_t *stMsgData) |
This function get the SMART capability of the storage service medium. More... | |
int | get_Device_Service_StorageMedium_Health (HOSTIF_MsgData_t *stMsgData) |
This function get the health of the storage service medium. More... | |
int | get_Device_Service_StorageMedium_HotSwappable (HOSTIF_MsgData_t *stMsgData) |
This function get the storage service medium hot swappable. Currently not implemented. More... | |
void | getLock () |
This function get the lock before setting or getting the attributes of the host interface physical medium. | |
void | releaseLock () |
This function use to release the lock before setting or getting the attributes of the host interface physical medium. | |
Static Public Member Functions | |
static hostIf_PhysicalMedium * | getInstance (int storageService, int dev_id) |
static void | closeInstance (hostIf_PhysicalMedium *) |
static GList * | getAllInstances () |
static void | closeAllInstances () |
static int | get_Device_Service_StorageMedium_ClientNumberOfEntries (HOSTIF_MsgData_t *stMsgData, int dev_id) |
static int | updateCallbackFunction (updateCallback cb) |
Private Member Functions | |
int | get_StorageService_PhyMed_Fields (ePhysicalMediumMembers_t phyMedMember) |
hostIf_PhysicalMedium (int StorageServiceInstanceNumber, int dev_id) | |
Class Constructor of the class hostIf_PhysicalMedium. More... | |
int | getMediumName (char *mediumName) |
bool | isSmartCapable () |
int | isMediumHealthOK () |
Static Private Member Functions | |
static int | rebuildHash () |
static int | getPhysicalMediumNumberOfEntries (int storageServiceInstanceNumber) |
Private Attributes | |
int | dev_id |
int | storageServiceInstanceNumber |
Static Private Attributes | |
static GHashTable * | phyMedHash = NULL |
static GMutex * | m_mutex = NULL |
static PhysicalMediumMembers_t | physicalMediumMembers = {{'\0'}, {'\0'}, {'\0'}, {'\0'}, {'\0'}, {'\0'}, {'\0'}, false, 0, {'\0'}, 0, false, {'\0'}, false} |
|
private |
Class Constructor of the class hostIf_PhysicalMedium.
It will initialize the device id and instance number of the storage service.
[in] | storageServiceInstanceNumber | Instance number of the storage service. |
[in] | dev_id | Device identification number. |
Definition at line 88 of file Service_Storage_PhyMedium.cpp.