Doug Anson / mbedConnectorInterfaceV3
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 build_endpoint ()
 Build out the endpoint.

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.

Detailed Description

Endpoint class.

Definition at line 45 of file ConnectorEndpoint.h.


Constructor & Destructor Documentation

Endpoint ( const Logger logger,
const Options ob 
)

Default Constructor.

Definition at line 86 of file ConnectorEndpoint.cpp.

Endpoint ( const Endpoint ep )

Copy Constructor.

Parameters:
obinput endpoint instance to deep copy

Definition at line 96 of file ConnectorEndpoint.cpp.

~Endpoint (  ) [virtual]

Destructor.

Definition at line 110 of file ConnectorEndpoint.cpp.


Member Function Documentation

void build_endpoint (  )

Build out the endpoint.

Definition at line 318 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 46 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.