Reference

CL_NetObjectController_Basic(3)

NetObject controller class.

NAME

CL_NetObjectController_Basic - NetObject controller class.

DESCRIPTION

The NetObject controller is used to administrate the actual network sending and trivial of netobjects. It routes incoming messages to the correct netobject, and makes an unique identification of each netobject type.

CL_NetObjectController uses the CL_NetObjectCreator instance to create netobjects on the client machines.

CLASS MEMBERS

CL_NetObjectController_Basic()
virtual ~CL_NetObjectController_Basic()
void add(
CL_NetObject *netobj,
int type)

void remove(
CL_NetObject *netobj)

int get_netobj_id(
CL_NetObject *netobj)

void set_creator(
CL_NetObjectCreator *creator)

void update(
CL_NetGame *game,
int netchannel)

void send(
 CL_NetGame *game,
int netchannel,
CL_NetObject *obj,
CL_NetMessage msg,
const CL_NetComputer *computer)

void send(
 CL_NetGame *game,
int netchannel,
CL_NetObject *obj,
CL_NetMessage msg,
const CL_NetComputer *computer)

MEMBERS WITH DESCRIPTIONS

CL_NetObjectController_Basic()
Description:

virtual ~CL_NetObjectController_Basic()
Description:

void add(
CL_NetObject *netobj,
int type)

Description:

void remove(
CL_NetObject *netobj)

Description:

int get_netobj_id(
CL_NetObject *netobj)

Description:

void set_creator(
CL_NetObjectCreator *creator)

Description:

void update(
CL_NetGame *game,
int netchannel)

Description:

void send(
 CL_NetGame *game,
int netchannel,
CL_NetObject *obj,
CL_NetMessage msg,
const CL_NetComputer *computer)

Description:

void send(
 CL_NetGame *game,
int netchannel,
CL_NetObject *obj,
CL_NetMessage msg,
const CL_NetComputer *computer)

Description:

SEE ALSO

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

AUTHORS

Originally written by Magnus Norddahl <[email protected]> and Martin Starch <[email protected]>. 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.