RDK Documentation (Open Sourced RDK Components)
Device_MoCA_Interface_QoS.cpp
1 /*
2  * If not stated otherwise in this file or this component's Licenses.txt file the
3  * following copyright and licenses apply:
4  *
5  * Copyright 2018 RDK Management
6  * Copyright 2018 Broadcom Inc.
7  *
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19 */
20 
21 /**
22  * @file Device_MoCA_Interface_QoS.c
23  *
24  * @brief Device_MoCA_Interface_QoS API Implementation.
25  *
26  * This is the implementation of the Device_MoCA_Interface_QoS API.
27  *
28  * @par Document
29  * TBD Relevant design or API documentation.
30  *
31  */
32 
33 /** @addtogroup MoCA_Interface Implementation
34  * This is the implementation of the Device Public API.
35  * @{
36  */
37 
38 /*****************************************************************************
39  * STANDARD INCLUDE FILES
40  *****************************************************************************/
41 
43 
44 MoCAInterfaceQoS* MoCAInterfaceQoS::Instance = NULL;
45 
46 
47 MoCAInterfaceQoS* MoCAInterfaceQoS::getInstance()
48 {
49  if(NULL == Instance)
50  {
51  Instance = new MoCAInterfaceQoS();
52  }
53  return Instance;
54 }
55 
56 
57 /****************************************************************************************************************************************************/
58 // Device.MoCA.Interface.QoS Table Profile. Getters:
59 /****************************************************************************************************************************************************/
60 
62 {
63  return NOK;
64 }
66 {
67  return NOK;
68 }
69 
71 {
72  return NOK;
73 }
74 /* End of doxygen group */
75 /**
76  * @}
77  */
78 
79 /* End of file xxx_api.c. */
MoCAInterfaceQoS::get_FlowStatsNumberOfEntries
int get_FlowStatsNumberOfEntries(HOSTIF_MsgData_t *stMsgData, bool *pChanged=NULL)
Get the number of entries in the FlowStats table.
Definition: Device_MoCA_Interface_QoS.cpp:70
MoCAInterfaceQoS::get_EgressNumFlows
int get_EgressNumFlows(HOSTIF_MsgData_t *stMsgData, bool *pChanged=NULL)
Get the number of QoS flows that this interface has from the MoCA network.
Definition: Device_MoCA_Interface_QoS.cpp:61
_HostIf_MsgData_t
Definition: hostIf_tr69ReqHandler.h:170
MoCAInterfaceQoS::get_IngressNumFlows
int get_IngressNumFlows(HOSTIF_MsgData_t *stMsgData, bool *pChanged=NULL)
Get the number of QoS flows that this interface has onto the MoCA network.
Definition: Device_MoCA_Interface_QoS.cpp:65
MoCAInterfaceQoS
Definition: Device_MoCA_Interface_QoS.h:91
Device_MoCA_Interface_QoS.h