Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

com::cosylab::acs::maci::HandleConstants Interface Reference

Inheritance diagram for com::cosylab::acs::maci::HandleConstants:

Inheritance graph
[legend]
List of all members.

Static Public Attributes

final int COMPONENT_MASK = 0x01000000
final int CLIENT_MASK = 0x02000000
final int ADMINISTRATOR_MASK = 0x03000000
final int CONTAINER_MASK = 0x04000000
final int MANAGER_MASK = 0x05000000
final int TYPE_MASK = 0xFF000000
final int KEY_MASK = 0x00FF0000
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

final int com::cosylab::acs::maci::HandleConstants::ADMINISTRATOR_MASK = 0x03000000 [static]
 

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:
Generated on Thu Apr 30 03:11:15 2009 for ACS Java API by doxygen 1.3.8