API for linking to the Huxley National Rail REST proxy for the retrieval of live National Rail data. Still needs work (sadly), but works well for the time being!

Dependencies:   EthernetInterface

Embed: (wiki syntax)

« Back to documentation index

Arrival_Board Class Reference

Arrival_Board Class Reference

Arrival_Board Contains information pertaining to an arrival board; namely, a list of arrivals and a list of National Rail messages. More...

#include <arrival_board.h>

Public Member Functions

 Arrival_Board (Arrival *_arrivals, const int &_num_arrivals, std::string *_messages, const int &_num_messages)
 Arrival_Board constructor.
 Arrival_Board ()
 Arrival_Board default constructor.
 ~Arrival_Board ()
 Arrival_Board destructor.

Detailed Description

Arrival_Board Contains information pertaining to an arrival board; namely, a list of arrivals and a list of National Rail messages.

Definition at line 11 of file arrival_board.h.


Constructor & Destructor Documentation

Arrival_Board ( Arrival _arrivals,
const int &  _num_arrivals,
std::string *  _messages,
const int &  _num_messages 
)

Arrival_Board constructor.

Parameters:
_arrivalspointer to a list of arrivals
_num_arrivalsnumber of arrivals in that list
_messagespointer to a list of messages
_num_messagesnumber of messages in that list

Definition at line 6 of file arrival_board.cpp.

Arrival_Board default constructor.

Definition at line 29 of file arrival_board.h.

~Arrival_Board (  )

Arrival_Board destructor.

Definition at line 14 of file arrival_board.cpp.