openthread-br  0.3.0-72c0388
Public Member Functions | List of all members
otbr::ubus::UBusAgent Class Reference
Inheritance diagram for otbr::ubus::UBusAgent:
otbr::MainloopProcessor

Public Member Functions

 UBusAgent (otbr::Ncp::ControllerOpenThread &aNcp)
 
void Init (void)
 
void Update (MainloopContext &aMainloop) override
 
void Process (const MainloopContext &aMainloop) override
 

Constructor & Destructor Documentation

◆ UBusAgent()

otbr::ubus::UBusAgent::UBusAgent ( otbr::Ncp::ControllerOpenThread aNcp)
inline

The constructor to initialize the UBus agent.

Parameters
[in]aNcpA reference to the NCP controller.

Member Function Documentation

◆ Init()

void otbr::ubus::UBusAgent::Init ( void  )

This method initializes the UBus agent.

◆ Process()

void otbr::ubus::UBusAgent::Process ( const MainloopContext aMainloop)
overridevirtual

This method processes mainloop events.

Parameters
[in]aMainloopA reference to the mainloop context.

Implements otbr::MainloopProcessor.

◆ Update()

void otbr::ubus::UBusAgent::Update ( MainloopContext aMainloop)
overridevirtual

This method updates the mainloop context.

Parameters
[in,out]aMainloopA reference to the mainloop to be updated.

Implements otbr::MainloopProcessor.


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