|
Jafar
|
Definition at line 69 of file client.hpp.
Classes | |
| struct | SendToServer |
Public Member Functions | |
| Client (std::string host_) | |
| void | setHost (std::string host_) |
| int | connect (bool wait=true) |
| int | disconnect () |
| int | eval (std::string exp) |
| int | launch_server () |
| int | dump (std::string const &filename) |
| void | setConvertTempPath (std::string convert_tmppath_) |
| void | redraw () |
| void | clear () |
| only use it at the beginning of the program, because automatic destruction of objects afterwards will fail | |
| void | setBackgroundColor (ColorRGB &_color) |
| void | setBackgroundColor (unsigned char R_, unsigned char G_, unsigned char B_) |
| void | addObject (Object *object, bool visible=true) |
| void | addSubObject (Object *object, Object *parent, std::string suffix, bool visible=true) |
| void | removeObject (Object *object) |
| void | setCameraTarget (double _x, double _y, double _z) |
| void | setCameraPos (double _yaw, double _pitch, double _dist) |
Public Attributes | |
| std::ostringstream | oss |
Static Public Attributes | |
| static SendToServer | sendToServer |
Protected Types | |
|
typedef std::pair< std::string, std::string > | ConvertData |
Protected Member Functions | |
| void | init () |
| void | convert () |
| When server is on localhost, this task can in backgroud convert the ppm files generated by gdhe into png files. | |
Protected Attributes | |
| MyIdFactory | idFactory |
| std::string | host |
| bool | host_is_local |
| ColorRGB | backgroundColor |
| ConvertData | convert_data |
| boost::mutex | convert_mutex |
| boost::condition_variable | convert_condition |
| std::string | convert_tmppath |
| bool | convert_done |
| bool | convert_end |
| boost::thread * | convert_thread |
| Generated on Wed Oct 15 2014 00:37:36 for Jafar by doxygen 1.7.6.1 |
|