getNetDevice accepts template parameter
ssid is set at DoInitialize
definition of getNetDevice template was separated from class definition