Class definition of the GvaApplication.
More...
#include <gva_application.h>
|
| GvaApplication (const Options &options, const std::string &ipaddr, const uint32_t port) |
| Construct a new Gva Application object.
|
|
| ~GvaApplication ()=default |
| Destroy the Gva Application object.
|
|
void | Exec () const |
| Execute the main processing loop, blocking call.
|
|
|
static Options | options_ = {} |
| GTK application options.
|
|
static gtkType | gtk_ |
| The GTK application.
|
|
Class definition of the GvaApplication.
◆ GvaApplication::Options
struct GvaApplication::Options |
Data Fields |
string |
config |
The config file location. |
bool |
videoEnabled_ = false |
Video enabled flag (default false) |
bool |
windowEnabled_ = false |
Window enabled flag (default false) |
◆ GvaApplication()
GvaApplication::GvaApplication |
( |
const Options & |
options, |
|
|
const std::string & |
ipaddr, |
|
|
const uint32_t |
port |
|
) |
| |
Construct a new Gva Application object.
- Parameters
-
options | The application options |
ipaddr | The stream IP address for raw RTP video |
port | The port for the above RTP stream |
◆ Exec()
void GvaApplication::Exec |
( |
| ) |
const |
Execute the main processing loop, blocking call.
Execute the main GTK application loop (blocking till windows destroyed)
◆ SetKeyPressed()
Create the Key Pressed event.
- Parameters
-
◆ SetKeyReleased()
Create the Key Released event.
- Parameters
-
renderer | The renderer |
key | The key being released |
◆ Update()
void GvaApplication::Update |
( |
gpointer |
user_data | ) |
|
|
static |
Update the GTK application.
Renderer callback to update screen.
- Parameters
-
user_data | Pointer to data object |
user_data | Renderer handle |
The documentation for this class was generated from the following files: