OpenRTM-aist-Python 2.0.2
uuid.py File Reference

Classes

class  OpenRTM_aist.uuid.UUID
 

Functions

 OpenRTM_aist.uuid._ifconfig_getnode ()
 
 OpenRTM_aist.uuid._ipconfig_getnode ()
 
 OpenRTM_aist.uuid._netbios_getnode ()
 
 OpenRTM_aist.uuid._unixdll_getnode ()
 
 OpenRTM_aist.uuid._windll_getnode ()
 
 OpenRTM_aist.uuid._random_getnode ()
 
 OpenRTM_aist.uuid.getnode ()
 
 OpenRTM_aist.uuid.uuid1 (node=None, clock_seq=None)
 
 OpenRTM_aist.uuid.uuid3 (namespace, name)
 
 OpenRTM_aist.uuid.uuid4 ()
 
 OpenRTM_aist.uuid.uuid5 (namespace, name)
 

Detailed Description

Date
Date
2006/06/12
Author
Ka-Ping Yee ping@.nosp@m.zest.nosp@m.y.ca

Copyright (C) 2008 Task-intelligence Research Group, Intelligent Systems Research Institute, National Institute of Advanced Industrial Science and Technology (AIST), Japan All rights reserved.

Function Documentation

◆ _ifconfig_getnode()

OpenRTM_aist.uuid._ifconfig_getnode ( )
protected
Get the hardware address on Unix by running ifconfig.

◆ _ipconfig_getnode()

OpenRTM_aist.uuid._ipconfig_getnode ( )
protected
Get the hardware address on Windows by running ipconfig.exe.

◆ _netbios_getnode()

OpenRTM_aist.uuid._netbios_getnode ( )
protected
Get the hardware address on Windows using NetBIOS calls.
See http://support.microsoft.com/kb/118623 for details.

◆ _random_getnode()

OpenRTM_aist.uuid._random_getnode ( )
protected
Get a random node ID, with eighth bit set as suggested by RFC 4122.

◆ _unixdll_getnode()

OpenRTM_aist.uuid._unixdll_getnode ( )
protected
Get the hardware address on Unix using ctypes.

◆ _windll_getnode()

OpenRTM_aist.uuid._windll_getnode ( )
protected
Get the hardware address on Windows using ctypes.

◆ getnode()

OpenRTM_aist.uuid.getnode ( )
Get the hardware address as a 48-bit integer.  The first time this
runs, it may launch a separate program, which could be quite slow.  If
all attempts to obtain the hardware address fail, we choose a random
48-bit number with its eighth bit set to 1 as recommended in RFC 4122.

◆ uuid1()

OpenRTM_aist.uuid.uuid1 ( node = None,
clock_seq = None )
Generate a UUID from a host ID, sequence number, and the current time.
If 'node' is not given, getnode() is used to obtain the hardware
address.  If 'clock_seq' is given, it is used as the sequence number;
otherwise a random 14-bit sequence number is chosen.

◆ uuid3()

OpenRTM_aist.uuid.uuid3 ( namespace,
name )
Generate a UUID from the MD5 hash of a namespace UUID and a name.

◆ uuid4()

OpenRTM_aist.uuid.uuid4 ( )
Generate a random UUID.

◆ uuid5()

OpenRTM_aist.uuid.uuid5 ( namespace,
name )
Generate a UUID from the SHA-1 hash of a namespace UUID and a name.