MoteHost: Improve error checking when daemonizing
[remote/remote-mci.git] / diku_mcs / MoteAddresses.h
blobf3cde3c6568ec89c19c51576bf7f92300f7cd25d
1 #ifndef MOTEADDRESSES_H_
2 #define MOTEADDRESSES_H_
4 #include <string>
5 #include "MCIAddress.h"
7 namespace remote { namespace diku_mcs {
9 using namespace mcs;
11 /** This is the deployment specific specialization of the
12 * MCIAddress class. It has a TOS (TinyOS) address as
13 * well as a MAC address for each mote **/
14 class MoteAddresses : public MCIAddress
16 public:
17 /** Constructor
18 * \param p_tosAddress TOS address
19 * \param p_mac MAC address
20 **/
21 MoteAddresses(std::string p_mac, std::string p_tosAddress = "");
22 /** TOS address **/
23 std::string tosAddress;
24 /** MAC address **/
25 std::string mac;
30 #endif /*MOTEMACADDRESS_H_*/