Treehopper C++ API
ConnectionService Class Reference

Provides TreehopperUsb discovery and factory duties. More...

#include <ConnectionService.h>

Public Member Functions

 ConnectionService ()
 ~ConnectionService ()
TreehopperUsbgetFirstDevice ()
 Gets the first TreehopperUsb board connected to the computer. More...

Static Public Member Functions

static ConnectionServiceinstance ()
 Gets the ConnectionService instance to use for TreehopperUsb discovery. More...

Public Attributes

vector< TreehopperUsbboards
 Gets the collection of TreehopperUsb boards connected to the computer. More...

Detailed Description

Constructor & Destructor Documentation

◆ ConnectionService()

◆ ~ConnectionService()

Member Function Documentation

◆ getFirstDevice()

TreehopperUsb& getFirstDevice ( )

◆ instance()

static ConnectionService& instance ( )

Member Data Documentation

◆ boards

vector<TreehopperUsb> boards

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