gPTP Documentation
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OSNetworkInterfaceFactory Class Referenceabstract

#include <avbts_osnet.hpp>

Inheritance diagram for OSNetworkInterfaceFactory:
Inheritance graph
Collaboration diagram for OSNetworkInterfaceFactory:
Collaboration graph

Static Public Member Functions

static bool registerFactory (factory_name_t id, OSNetworkInterfaceFactory *factory)
 Registers network factory. More...
 
static bool buildInterface (OSNetworkInterface **iface, factory_name_t id, InterfaceLabel *iflabel, HWTimestamper *timestamper)
 Builds the network interface. More...
 

Detailed Description

Builds and registers a network interface

Member Function Documentation

static bool OSNetworkInterfaceFactory::buildInterface ( OSNetworkInterface **  iface,
factory_name_t  id,
InterfaceLabel iflabel,
HWTimestamper timestamper 
)
inlinestatic

Builds the network interface.

Parameters
iface[out] Pointer to interface name
idFactory name index
iflabelInterface label
timestamperHWTimestamper class pointer
Returns
TRUE ok, FALSE error.
static bool OSNetworkInterfaceFactory::registerFactory ( factory_name_t  id,
OSNetworkInterfaceFactory factory 
)
inlinestatic

Registers network factory.

Parameters
id
factoryFactory name
Returns
TRUE success, FALSE when could not register it.

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