Phoenix2D-Library
0.10
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
communications
Connect.h
Go to the documentation of this file.
1
/*
2
* Phoenix2D (RoboCup Soccer Simulation 2D League)
3
* Copyright (c) 2013 Ivan Gonzalez
4
*
5
* This file is part of Phoenix2D.
6
*
7
* Phoenix2D is free software: you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation, either version 3 of the License, or
10
* (at your option) any later version.
11
*
12
* Phoenix2D is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with Phoenix2D. If not, see <http://www.gnu.org/licenses/>.
19
*/
20
21
#ifndef CONNECT_H_
22
#define CONNECT_H_
23
24
#include <string>
25
29
namespace
Phoenix
30
{
34
class
Connect
{
35
public
:
36
Connect
(
const
char
*host,
int
port);
37
~Connect
();
38
void
disconnect
();
39
bool
sendMessage
(std::string msg);
40
std::string
receiveMessage
();
41
};
43
}
// End namespace Phoenix
47
#endif
/* CONNECT_H_ */
Phoenix::Connect::disconnect
void disconnect()
Definition:
Connect.cpp:81
Phoenix::Connect::Connect
Connect(const char *host, int port)
Definition:
Connect.cpp:73
Phoenix::Connect::sendMessage
bool sendMessage(std::string msg)
Definition:
Connect.cpp:86
Phoenix::Connect::~Connect
~Connect()
Definition:
Connect.cpp:77
Phoenix::Connect::receiveMessage
std::string receiveMessage()
Definition:
Connect.cpp:95
Phoenix::Connect
Definition:
Connect.h:34
Generated on Wed Mar 26 2014 18:16:41 for Phoenix2D-Library by
1.8.6