RDK Documentation (Open Sourced RDK Components)

Description

Data Structures

class  DevMgrProcessor
 
class  DevMgrFrameListener
 

Macros

#define MAX_LOGICAL_ADDRESS   14
 
#define MAX_LENGTH_OF_OSD_NAME   15
 
#define DL_ERROR()   printf("dlopen() error : [%s]\r\n", dlerror())
 
#define CEC_HOST_PLUGIN   "libRCECHost.so.0"
 

Functions

static CECHost_Err_t CECHost_HDMI_HotplugCallback_ (int32_t connect)
 
static CECHost_Err_t CECHost_PowerStateCallback_ (int32_t curState, int32_t newState)
 
static CECHost_Err_t CECHost_DevMgrStatusCallback_ (bool ipStatus, bool *opStatus)
 
static CECHost_Err_t CECHost_OSDNameCallback_ (uint8_t *name, size_t len)
 
static CECHost_Err_t CECHost_PolicyCallback_ (CECHost_Policy_t policy)
 
static std::string CECHost_GetOSDName_Simple (void)
 
static int32_t CECHost_IsActive_Simple (void)
 
static int32_t CECHost_HDMI_IsConnected_Simple (uint8_t *byte0=0, uint8_t *byte1=0, uint8_t *byte2=0, uint8_t *byte3=0)
 
static int32_t CECHost_GetPowerState_Simple (void)
 
int main (int argc, char *argv[])
 
CECHost_Err_t CECHost_LoadPlugin (void)
 
CECHost_Err_t CECHost_UnloadPlugin (void)
 
static CECHost_Err_t _load (const char *funcName, void **func, int32_t *currGen)
 
CECHost_Err_t CECHost_Init (const char *name)
 
CECHost_Err_t CECHost_Term (void)
 
CECHost_Err_t CECHost_SetCallback (CECHost_Callback_t cb)
 
CECHost_Err_t CECHost_GetHdmiOuputPhysicalAddress (uint8_t *byte0, uint8_t *byte1, uint8_t *byte2, uint8_t *byte3)
 
CECHost_Err_t CECHost_IsHdmiOutputConnected (int32_t *connect)
 
CECHost_Err_t CECHost_GetPowerState (int32_t *state)
 
CECHost_Err_t CECHost_SetDeviceStatus (int logicalAddress, CECHost_DeviceStatus_t *deviceStatus)
 
CECHost_Err_t CECHost_SetPowerState (int32_t state)
 
CECHost_Err_t CECHost_GetOSDName (uint8_t *buf, size_t *len)
 
CECHost_Err_t CECHost_IsActive (int32_t *active)
 

Variables

static Connectionconn_ = 0
 
static int32_t isConnected = 0
 
static PhysicalAddress phy (0, 0, 0, 0)
 
static int32_t powerState = CECHost_POWERSTATE_STANDBY
 
static int32_t pluginGen = 0
 
static void * plugin = 0
 

Data Structure Documentation

◆ DevMgrProcessor

class DevMgrProcessor

Definition at line 144 of file DeviceManager.cpp.

Inheritance diagram for DevMgrProcessor:
Inheritance graph
Collaboration diagram for DevMgrProcessor:
Collaboration graph

Public Member Functions

 DevMgrProcessor (Connection &conn)
 
virtual void process (const RequestActiveSource &msg, const Header &header)
 
virtual void process (const GiveOSDName &msg, const Header &header)
 
virtual void process (const GiveDeviceVendorID &msg, const Header &header)
 
virtual void process (const GiveDevicePowerStatus &msg, const Header &header)
 
virtual void process (const GetCECVersion &msg, const Header &header)
 
virtual void process (const GivePhysicalAddress &msg, const Header &header)
 
virtual void process (const Standby &msg, const Header &header)
 
virtual void process (const SetMenuLanguage &msg, const Header &header)
 
virtual void process (const GetMenuLanguage &msg, const Header &header)
 
virtual void process (const ReportPowerStatus &msg, const Header &header)
 
virtual void process (const SetOSDName &msg, const Header &header)
 
- Public Member Functions inherited from MessageProcessor
virtual void process (const ActiveSource &msg, const Header &header)
 
virtual void process (const InActiveSource &msg, const Header &header)
 
virtual void process (const ImageViewOn &msg, const Header &header)
 
virtual void process (const TextViewOn &msg, const Header &header)
 
virtual void process (const CECVersion &msg, const Header &header)
 
virtual void process (const SetOSDString &msg, const Header &header)
 
virtual void process (const RoutingChange &msg, const Header &header)
 
virtual void process (const RoutingInformation &msg, const Header &header)
 
virtual void process (const SetStreamPath &msg, const Header &header)
 
virtual void process (const ReportPhysicalAddress &msg, const Header &header)
 
virtual void process (const DeviceVendorID &msg, const Header &header)
 
virtual void process (const FeatureAbort &msg, const Header &header)
 
virtual void process (const Abort &msg, const Header &header)
 
virtual void process (const Polling &msg, const Header &header)
 
virtual void process (const InitiateArc &msg, const Header &header)
 
virtual void process (const TerminateArc &msg, const Header &header)
 
virtual void process (const RequestShortAudioDescriptor &msg, const Header &header)
 
virtual void process (const ReportShortAudioDescriptor &msg, const Header &header)
 
virtual void process (const SystemAudioModeRequest &msg, const Header &header)
 
virtual void process (const SetSystemAudioMode &msg, const Header &header)
 
virtual void process (const ReportAudioStatus &msg, const Header &header)
 

Private Attributes

Connectionconn
 

◆ DevMgrFrameListener

class DevMgrFrameListener

Definition at line 224 of file DeviceManager.cpp.

Inheritance diagram for DevMgrFrameListener:
Inheritance graph
Collaboration diagram for DevMgrFrameListener:
Collaboration graph

Public Member Functions

 DevMgrFrameListener (MessageProcessor &processor)
 
void notify (const CECFrame &in) const
 

Private Attributes

MessageProcessorprocessor