OpenRTM-aist-Python 1.1.2
|
クラス | |
class | OpenRTM_aist.uuid.UUID |
UUID保持クラス [詳解] | |
関数 | |
def | OpenRTM_aist.uuid.getnode () |
def | OpenRTM_aist.uuid.uuid1 (node=None, clock_seq=None) |
def | OpenRTM_aist.uuid.uuid3 (namespace, name) |
def | OpenRTM_aist.uuid.uuid4 () |
def | OpenRTM_aist.uuid.uuid5 (namespace, name) |
Copyright (C) 2008 Task-intelligence Research Group, Intelligent Systems Research Institute, National Institute of Advanced Industrial Science and Technology (AIST), Japan All rights reserved.
def 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.
def 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.
def OpenRTM_aist.uuid.uuid3 | ( | namespace, | |
name | |||
) |
Generate a UUID from the MD5 hash of a namespace UUID and a name.
def OpenRTM_aist.uuid.uuid4 | ( | ) |
Generate a random UUID.
def OpenRTM_aist.uuid.uuid5 | ( | namespace, | |
name | |||
) |
Generate a UUID from the SHA-1 hash of a namespace UUID and a name.