## InfStandaloneIo InfStandaloneIo |

## Synopsis

                        InfStandaloneIo;
    struct              InfStandaloneIoClass;
    InfStandaloneIo *   inf_standalone_io_new               (void);
    void                inf_standalone_io_iteration         (InfStandaloneIo *io);
    void                inf_standalone_io_iteration_timeout (InfStandaloneIo *io,
                                                             guint timeout);
    void                inf_standalone_io_loop              (InfStandaloneIo *io);
    void                inf_standalone_io_loop_quit         (InfStandaloneIo *io);
    gboolean            inf_standalone_io_loop_running      (InfStandaloneIo *io);

## Object Hierarchy

      GObject
       +----InfStandaloneIo

## Implemented Interfaces

InfStandaloneIo implements InfIo.

## Description

## Details

### InfStandaloneIo

    typedef struct _InfStandaloneIo InfStandaloneIo;

### struct InfStandaloneIoClass

    struct InfStandaloneIoClass {
      GObjectClass parent_class;
    };

### inf_standalone_io_new ()

    InfStandaloneIo *   inf_standalone_io_new               (void);

Creates a new InfStandaloneIo.

Returns : | A new InfStandaloneIo. Free with `g_object_unref()` when no longer needed.

### inf_standalone_io_iteration ()

    void                inf_standalone_io_iteration         (InfStandaloneIo *io);

Performs a single iteration of `io`. The call will block until a first event has occured. Then, it will process that event and return.

`io` : | A InfStandaloneIo.

### inf_standalone_io_iteration_timeout ()

    void                inf_standalone_io_iteration_timeout (InfStandaloneIo *io,
                                                             guint timeout);

Performs a single iteration of `io`. The call will block until either an event occured or `timeout` milliseconds have elapsed. If an event occured, the event will be processed before returning.

`io` : | A InfStandaloneIo.
`timeout` : | Maximum number of milliseconds to block.

### inf_standalone_io_loop ()

    void                inf_standalone_io_loop              (InfStandaloneIo *io);

This call will cause `io` to wait for events and process them, but not return until `inf_standalone_io_loop_quit()` is called.

`io` : | A InfStandaloneIo.

### inf_standalone_io_loop_quit ()

    void                inf_standalone_io_loop_quit         (InfStandaloneIo *io);

Exits a loop in which `io` is running through a call to `inf_standalone_io_loop()`.

`io` : | A InfStandaloneIo.

### inf_standalone_io_loop_running ()

    gboolean            inf_standalone_io_loop_running      (InfStandaloneIo *io);

Returns whether `io` runs currently in a loop initiated with `inf_standalone_io_loop()`.

`io` : | A InfStandaloneIo.
Returns : | Whether `io` runs in a loop.