Rover API Documentation
rover_cloud.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2017 FH Dortmund and others
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Description:
9  * Rover Cloud API - Virtual class for Rover Cloud application interfacing
10  *
11  * Contributors:
12  * M.Ozcelikors <mozcelikors@gmail.com>, revised using MQTT 07.12.2017
13  * created C++API 17.11.2017
14  *
15  */
16 
17 #ifndef ROVERAPI_ROVER_CLOUD_HPP_
18 #define ROVERAPI_ROVER_CLOUD_HPP_
19 
20 namespace rover
21 {
25  class RoverCloud
26  {
27  private:
31  char * HOST_NAME;
32 
36  int PORT;
37 
38  public:
43  virtual void setHostName (char * host_name) = 0;
44 
49  virtual void setPort (const int port) = 0;
50 
54  virtual ~RoverCloud() {};
55 
56  };
57 }
58 
59 
60 
61 #endif /* ROVERAPI_ROVER_CLOUD_HPP_ */
virtual void setPort(const int port)=0
Sets private attribute PORT.
int PORT
Port used for connecting to a cloud server.
Definition: rover_cloud.hpp:36
rover Namespace contains classes to manage Rover sensors, gpio, buzzer, buttons, driving, utilities, and cloud.
Definition: rover_api.hpp:293
RoverCloud defines the interfaces that can be used for classes that connect to a remote cloud server...
Definition: rover_cloud.hpp:25
virtual void setHostName(char *host_name)=0
Sets private attribute HOST_NAME.
char * HOST_NAME
Host name used for connecting to a cloud server.
Definition: rover_cloud.hpp:31
virtual ~RoverCloud()
Virtual destructor.
Definition: rover_cloud.hpp:54