The empathy namespace and classes header file.
| Empathy |
The base application independent of all any flavors. |
| You |
You have all the brains. And the brains manipulate lifeEvents on You. |
| Color |
The color class to hold a RGBA color value. |
| TimeBroadcasterObject |
A single TimeBroadcaster item. |
| UniqueObject |
The class to give everyone a unique identification. |
| cJSON |
The cJSON structure: |
| cJSON_Hooks |
| cJSON_CreateArray | ( | ) | ||
| return |
| cJSON_CreateBool | ( | int | b | ) |
| b | |
| return |
| cJSON_CreateDoubleArray | ( | double const * | numbers, | |
| int | count | ) | ||
| numbers | |
| count | |
| return |
| cJSON_CreateFalse | ( | ) | ||
| return |
| cJSON_CreateFloatArray | ( | float const * | numbers, | |
| int | count | ) | ||
| numbers | |
| count | |
| return |
| cJSON_CreateIntArray | ( | int const * | numbers, | |
| int | count | ) | ||
These utilities create an Array of count items.
| numbers | |
| count | |
| return |
| cJSON_CreateNumber | ( | double | num | ) |
| num | |
| return |
| cJSON_CreateObject | ( | ) | ||
| return |
| cJSON_CreateString | ( | char const * | string | ) |
| string | |
| return |
| cJSON_CreateStringArray | ( | char const ** | strings, | |
| int | count | ) | ||
| strings | |
| count | |
| return |
| cJSON_CreateTrue | ( | ) | ||
| return |
| cJSON_get_keys | ( | cJSON const * | object | ) |
| object | |
| return |
| cJSON_GetErrorPtr | ( | ) | ||
For analysing failed parses. This returns a pointer to the parse error. You'll probably need to look a few chars back to make sense of it. Defined when cJSON_Parse() returns 0. 0 when cJSON_Parse() succeeds.
| return |
| cJSON_Minify | ( | char * | json | ) |
| json |
| cJSON_Parse | ( | char const * | value | ) |
Supply a block of JSON, and this returns a cJSON object you can interrogate. Call cJSON_Delete when finished.
| value | |
| return |
| cJSON_ParseWithOpts | ( | char const * | value, | |
| char const ** | return_parse_end, | |||
| int | require_null_terminated | ) | ||
ParseWithOpts allows you to require (and check) that the JSON is null terminated, and to retrieve the pointer to the final byte parsed.
| value | |
| return_parse_end | |
| require_null_terminated | |
| return |
| cJSON_print_keys | ( | cJSON const * | object | ) |
| object |
| create_program | ( | GLuint | vertexShader, | |
| GLuint | fragmentShader | ) | ||
Create shader program from vertexShader and fragmentShader.
| vertexShader | |
| fragmentShader | |
| return |
| create_program | ( | std::__cxx11::string const | vertexfile, | |
| std::__cxx11::string const | fragmentfile | ) | ||
Create shader program from vertexShaderfile and fragmentShaderfile.
| vertexfile | |
| fragmentfile | |
| return |
| create_shader | ( | std::__cxx11::string const | filename, | |
| GLenum | type | ) | ||
Create a shader from a file.
| filename | |
| type | |
| return |
| emCreateFragmentShader | ( | std::__cxx11::string | fileName | ) |
create fragmentShader.
| fileName | |
| return |
| emCreateVertexShader | ( | std::__cxx11::string | fileName | ) |
create vertexShader.
| fileName | |
| return |
| file_read | ( | char const * | filename | ) |
Read the contents of a file.
| filename | |
| return |
| int_to_single_char | ( | int const | num | ) |
| num | |
| return |
| int_to_str | ( | int | integer | ) |
Convert an integer to string.
| integer | |
| return |
| print_gl_error_log | ( | GLuint | object | ) |
Prints the GL error log during shader compilation.
| object |
| str_has_character | ( | std::__cxx11::string const | str, | |
| char const | mChar | ) | ||
| str | |
| mChar | |
| return |
| str_remove_character | ( | std::__cxx11::string const | str, | |
| char const | mChar | ) | ||
| str | |
| mChar | |
| return |
| str_replace | ( | std::__cxx11::string const | str, | |
| char const | from, | |||
| char const | to | ) | ||
| str | |
| from | |
| to | |
| return |
| str_split | ( | std::__cxx11::string const & | s, | |
| char | delim, | |||
| std::vector<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char> > > & | elems | ) | ||
Split a string.
| s | |
| delim | |
| elems | |
| return |
| str_split | ( | std::__cxx11::string const & | s, | |
| char | delim | ) | ||
Split a string.
| s | |
| delim | |
| return |
| str_to_int | ( | std::__cxx11::string | string | ) |
Convert a string to integer.
| string | |
| return |
| str_to_lower | ( | std::__cxx11::string const | str | ) |
| str | |
| return |
| str_trim | ( | std::__cxx11::string const | string | ) |
By trimming a string means 'remove spaces from first and last of string.
| string | |
| return |