libcpp4ec
C++ for EtherCat Library
 All Classes Functions Variables Typedefs Enumerations Enumerator
Public Types | Public Member Functions | Static Public Member Functions | List of all members
cpp4ec::EcSlaveFactory Class Reference

Class EcSlaveFactory. More...

#include <EcSlaveFactory.h>

Public Types

typedef EcSlave *(* CreateDriverCallBack )(ec_slavet *)
 A callback function.
 

Public Member Functions

bool registerDriver (std::string name, CreateDriverCallBack createFn)
 Register the driver.
 
EcSlavecreateDriver (ec_slavet *mem_loc)
 Create a driver.
 
void displayAvailableDrivers ()
 Display the drivers.
 

Static Public Member Functions

static EcSlaveFactoryInstance ()
 Makes an instance of the class.
 

Detailed Description

Class EcSlaveFactory.

This class create an instance of the slave classes detected on the net.


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