---
name: "CL_KeepAlive"
section: "3"
platform: "linux"
package: "clanlib0-common-dev"
version: "0.4.4-8"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/CL_KeepAlive"
---

# CL\_KeepAlive(3)

Keep alive callback interface.

## NAME

CL\_KeepAlive - Keep alive callback interface.

## DESCRIPTION

If you want to add something that gets called in a CL\_System::keep\_alive() call, inherit this class and create an instance of it.

## CLASS MEMBERS

- **CL\_KeepAlive**()

  - virtual **~CL\_KeepAlive**()

  - virtual void **keep\_alive**()

  ## MEMBERS WITH DESCRIPTIONS

- **CL\_KeepAlive**()

  ```
  Description:
  ```

  Constructs and registers the object as a keep\_alive listener.

- virtual **~CL\_KeepAlive**()

  ```
  Description:
  ```

  Unregisters the object as a keep\_alive listener.

- virtual void **keep\_alive**()

  ```
  Description:
  ```

  Called when CL\_System::keep\_alive() is called.

## SEE ALSO

All ClanLib API classes can be found in **clanlib (3)**.

## AUTHORS

Originally written by Magnus Norddahl \<*mbn@dark.x.dtu.dk*\> and Martin Starch \<*starch@dark.x.dtu.dk*\>. ClanLib is now developed by the ClanLib Development team as an Open Source project.

The ClanLib man pages was created using the Perceps documentation system (another excellent piece of Open Source software, available at **http://somewhere.in.the.world.org**).

See **clanlib (3)** to find out how to get a full list of contributors and details on how to submit bug reports, comments etc.
