adapnex::drivers::bnr_x2x::X20BC0087Driver::AddModule

Adds a module to the bus controller. The driver will return the first available module of this type on the X2X Link bus. To add multiple modules of the same type, call AddModule for each. They will be returned in physical order.

Synopsis

Declared in <adapnex/drivers/bnr_x2x/x20bc0087_driver.h>

template<
    typename ModuleT,
    typename... Args>
std::shared_ptr<ModuleT>
AddModule(Args&&... args);

Return Value

Shared pointer to the added module.

Parameters

Name Description

args

Constructor arguments for the module.

Created with MrDocs