This is the sample program that can see the decode result of barcode data on Watson IoT.

Dependencies:   AsciiFont DisplayApp GR-PEACH_video LCD_shield_config LWIPBP3595Interface_STA_for_mbed-os USBDevice

Embed: (wiki syntax)

« Back to documentation index

Endpoint Class Reference

Endpoint class. More...

#include <ConnectorEndpoint.h>

Public Member Functions

 Endpoint (const Logger *logger, const Options *ob)
 Default Constructor.
 Endpoint (const Endpoint &ep)
 Copy Constructor.
virtual ~Endpoint ()
 Destructor.
void buildEndpoint ()
 Build out the endpoint.
void setConnectionStatusInterfaceImpl (ConnectionStatusInterface *csi)
 Set the ConnectionStatusInterface instance.

Static Public Member Functions

static void plumbNetwork (void *device_manager=NULL, bool canActAsRouterNode=false)
 Plumb the lower RF network stack.
static void start ()
 Initialize the endpoint's configuration and begin the endpoint's main even loop.
static void setConnectionStatusInterface (ConnectionStatusInterface *csi)
 Set the ConnectionStatusInterface instance.

Detailed Description

Endpoint class.

Definition at line 52 of file ConnectorEndpoint.h.


Constructor & Destructor Documentation

Endpoint ( const Logger logger,
const Options ob 
)

Default Constructor.

Definition at line 93 of file ConnectorEndpoint.cpp.

Endpoint ( const Endpoint ep )

Copy Constructor.

Parameters:
obinput endpoint instance to deep copy

Definition at line 105 of file ConnectorEndpoint.cpp.

~Endpoint (  ) [virtual]

Destructor.

Definition at line 120 of file ConnectorEndpoint.cpp.


Member Function Documentation

void buildEndpoint (  )

Build out the endpoint.

Definition at line 393 of file ConnectorEndpoint.cpp.

void plumbNetwork ( void *  device_manager = NULL,
bool  canActAsRouterNode = false 
) [static]

Plumb the lower RF network stack.

Parameters:
device_managerinput optional device manager (DeviceManager type)
canActAsRouterNodeinput boolean indicating whether this node can act as a router node or not.

Definition at line 45 of file ConnectorEndpoint.cpp.

void setConnectionStatusInterface ( ConnectionStatusInterface *  csi ) [static]

Set the ConnectionStatusInterface instance.

Parameters:
csiinput instance pointer to the ConnectionStatusInterface implementation to be used

Definition at line 86 of file ConnectorEndpoint.cpp.

void setConnectionStatusInterfaceImpl ( ConnectionStatusInterface *  csi )

Set the ConnectionStatusInterface instance.

Parameters:
csiinput instance pointer to the ConnectionStatusInterface implementation to be used

Definition at line 502 of file ConnectorEndpoint.cpp.

void start (  ) [static]

Initialize the endpoint's configuration and begin the endpoint's main even loop.

Definition at line 74 of file ConnectorEndpoint.cpp.