Static Public Attributes

com.cosylab.acs.maci.HandleConstants Interface Reference

Inheritance diagram for com.cosylab.acs.maci.HandleConstants:
com.cosylab.acs.maci.manager.ManagerImpl

List of all members.

Static Public Attributes

static final int COMPONENT_MASK = 0x01000000
static final int CLIENT_MASK = 0x02000000
static final int ADMINISTRATOR_MASK = 0x03000000
static final int CONTAINER_MASK = 0x04000000
static final int MANAGER_MASK = 0x05000000
static final int TYPE_MASK = 0xFF000000
static final int KEY_MASK = 0x00FF0000
static final int HANDLE_MASK = 0x0000FFFF

Detailed Description

The Handle alias defines a universal handle used by MACI to uniquely tag the object instances.

Handles optimize access and identifications of MACI components and replace the use of string identifiers. Handles are not unique globally and are not static. Manager guarantees only that they are unique in their scope and only for the duration of the object denoted by the handle.

Upper 8 bits (24 to 31) of the handle denote the type of the object that the handle is representing. Possible values of the upper-most byte are:

Bits 0 thru 15 uniquely tag object instance. Bits 16 thru 23 are reserved.

Author:
Matej Sekoranja (matej.sekoranja@cosylab.com)
Version:
@VERSION@

Member Data Documentation

Administrator handle mask.

final int com.cosylab.acs.maci.HandleConstants.CLIENT_MASK = 0x02000000 [static]

Client handle mask.

final int com.cosylab.acs.maci.HandleConstants.COMPONENT_MASK = 0x01000000 [static]

Component handle mask.

final int com.cosylab.acs.maci.HandleConstants.CONTAINER_MASK = 0x04000000 [static]

Container handle mask.

final int com.cosylab.acs.maci.HandleConstants.HANDLE_MASK = 0x0000FFFF [static]

Instance ID part of handle.

final int com.cosylab.acs.maci.HandleConstants.KEY_MASK = 0x00FF0000 [static]

Key mask of the handle.

final int com.cosylab.acs.maci.HandleConstants.MANAGER_MASK = 0x05000000 [static]

Manager handle mask.

final int com.cosylab.acs.maci.HandleConstants.TYPE_MASK = 0xFF000000 [static]

Type mask of the handle.


The documentation for this interface was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties