Gnome Slot
Roamin' Gnome Slot Machine. Roamin' Gnome by Amaya Gaming must have been a killer slot when it was first released. However, time has not been kind, and it may be showing its age a bit. Nonetheless, it still garners the attention of many online slots players. This 5-reel, 30-payline video slot game gives players a chance to travel the world with. Gnome Slot Machine If you are familiar with casinos, you will already be familiar with the one of the most popular games known to man. The ever-entertaining casino slots game format has endured the test of time and stands today as a common form of 21st century entertainment.
Slots are type-safe representations of callback methods and functions. More...
Classes | |
class | sigc::slot< T_return(T_arg...)> |
Converts an arbitrary functor to a unified type which is opaque. More... | |
class | sigc::slot_base |
Base type for slots. More... |
Detailed Description
Slots are type-safe representations of callback methods and functions.
A slot can be constructed from any function object or function, regardless of whether it is a global function, a member method, static, or virtual.
Use the sigc::mem_fun() or sigc::ptr_fun() template functions to get a sigc::slot, like so:
or
or, in gtkmm,
The compiler will complain if SomeClass::somemethod, etc. have the wrong signature.
You can also pass slots as method parameters where you might normally pass a function pointer.
See sigc::mem_fun() about deriving from sigc::trackable to prevent member methods from being called after the instance has been destroyed.
sigc::mem_fun() and sigc::ptr_fun() return functors, but those functors are not slots.
is not equivalent to
If you don't explicitly use a sigc::slot then the slot could call a method on an instance after it has been destroyed even if the method is in a class that derives from sigc::trackable.
A C++11 lambda expression is a functor (function object). It is automatically wrapped in a slot, if it is connected to a signal.
If you connect a C++11 lambda expression or a std::function<> instance to a signal or assign it to a slot, if your functor contains references to sigc::trackable derived objects, those objects will not be tracked, unless you also use sigc::track_obj().
GckSlotGckSlot — Represents a PKCS#11 slot that can contain a token. |
Functions
GckMechanismInfo * | gck_mechanism_info_copy() |
void | gck_mechanism_info_free() |
#define | gck_mechanisms_length() |
#define | gck_mechanisms_at() |
gboolean | gck_mechanisms_check() |
gboolean | gck_slot_equal() |
guint | gck_slot_hash() |
GckModule * | gck_slot_get_module() |
gulong | gck_slot_get_handle() |
GckSlotInfo * | gck_slot_get_info() |
gboolean | gck_slot_match() |
GckTokenInfo * | gck_slot_get_token_info() |
GArray * | gck_slot_get_mechanisms() |
GckMechanismInfo * | gck_slot_get_mechanism_info() |
gboolean | gck_slot_has_flags() |
GckEnumerator * | gck_slot_enumerate_objects() |
GckEnumerator * | gck_slots_enumerate_objects() |
GckSession * | gck_slot_open_session() |
GckSession * | gck_slot_open_session_full() |
void | gck_slot_open_session_full_async() |
void | gck_slot_open_session_async() |
GckSession * | gck_slot_open_session_finish() |
GckSlot * | gck_slot_from_handle() |
GckSlotInfo * | gck_slot_info_copy() |
void | gck_slot_info_free() |
GckTokenInfo * | gck_token_info_copy() |
void | gck_token_info_free() |
Properties
gulong | handle | Read / Write / Construct Only |
GckModule * | module | Read / Write / Construct Only |
Types and Values
struct | GckMechanismInfo |
enum | GckSessionOptions |
struct | GckSlot |
struct | GckSlotInfo |
struct | GckTokenInfo |
Description
A PKCS11 slot can contain a token. As an example, a slot might be a card reader, and the tokenthe card. If the PKCS#11 module is not a hardware driver, often the slot and token are equivalent.
Functions
gck_mechanism_info_copy ()
Make a copy of the mechanism info.
Parameters
Returns
a newly allocated copy mechanism info.
[transfer full]
gck_mechanism_info_free ()
Free the GckMechanismInfo and associated resources.
Parameters
gck_mechanisms_length()
Get the number of GckMechanismInfo in the set.
Parameters
Returns
The number in the set.
gck_mechanisms_at()
Get a specific mechanism in a the set.
Parameters
Returns
the mechanism
gck_mechanisms_check ()
Check whether all the mechanism types are in the list.
The arguments should be a list of CKM_XXX mechanism types. The last argumentshould be GCK_INVALID.
Parameters
mechanisms | A list of mechanisms, perhapsretrieved from | [element-type ulong] |
... | A list of mechanism types followed by GCK_INVALID. |
Returns
Whether the mechanism is in the list or not.
gck_slot_equal ()
Checks equality of two slots. Two GckSlot objects can point to the sameunderlying PKCS#11 slot.
Parameters
slot1 | a pointer to the first GckSlot. | [type Gck.Slot] |
slot2 | a pointer to the second GckSlot. | [type Gck.Slot] |
Returns
TRUE if slot1 and slot2 are equal. FALSE if either is not a GckSlot.
gck_slot_hash ()
Create a hash value for the GckSlot.
This function is intended for easily hashing a GckSlot to add toa GHashTable or similar data structure.
Parameters
Returns
An integer that can be used as a hash value, or 0 if invalid.
gck_slot_get_module ()
Get the module that this slot is on.
Parameters
Returns
The module, you must unreference this afteryou're done with it.
[transfer full]
gck_slot_get_handle ()
Get the raw PKCS#11 handle of a slot.
Parameters
Returns
the raw CK_SLOT_ID handle
gck_slot_get_info ()
Get the information for this slot.
Parameters
Returns
the slot information, when done, use gck_slot_info_free()
to release it.
[transfer full]
gck_slot_match ()
Check whether the PKCS#11 URI matches the slot
Parameters
self | the slot to match |
uri | the uri to match against the slot |
gck_slot_get_token_info ()
Get the token information for this slot.
Parameters
Returns
the token information; when done, use gck_token_info_free()
to release it.
[transfer full]
gck_slot_get_mechanisms ()
Get the available mechanisms for this slot.
Parameters
Returns
a list of the mechanismsfor this slot, which should be freed with g_array_free()
.
[transfer full][element-type ulong]
gck_slot_get_mechanism_info ()
Get information for the specified mechanism.
Parameters
self | The slot to get mechanism info from. |
mech_type | The mechanisms type to get info for. |
Returns
the mechanism information, or NULL if failed; usegck_mechanism_info_free()
when done with it.
[transfer full]
gck_slot_has_flags ()
Check if the PKCS11 slot has the given flags.
Parameters
Returns
Whether one or more flags exist.
gck_slot_enumerate_objects ()
Setup an enumerator for listing matching objects on the slot.
If the match
GckAttributes is floating, it is consumed.
This call will not block but will return an enumerator immediately.
Parameters
self | a GckSlot to enumerate objects on |
match | attributes that the objects must match, or empty for all objects |
options | options for opening a session |
gck_slots_enumerate_objects ()
Setup an enumerator for listing matching objects on the slots.
If the match
GckAttributes is floating, it is consumed.
This call will not block but will return an enumerator immediately.
Parameters
slots | a list of GckSlot to enumerate objects on. | [element-type Gck.Slot] |
match | attributes that the objects must match, or empty for all objects | |
options | options for opening a session |
gck_slot_open_session ()
Open a session on the slot. If the 'auto reuse' setting is set,then this may be a recycled session with the same flags.
This call may block for an indefinite period.
Parameters
self | The slot ot open a session on. |
options | The GckSessionOptions to open a session with. |
cancellable | An optional cancellation object, or |
error | A location to return an error, or |
Returns
a new session or NULL
if an error occurs.
[transfer full]
gck_slot_open_session_full ()
Open a session on the slot. If the 'auto reuse' setting is set,then this may be a recycled session with the same flags.
This call may block for an indefinite period.
[skip]
Parameters
self | The slot to open a session on. |
options | The options to open the new session with. |
pkcs11_flags | Additional raw PKCS#11 flags. |
app_data | Application data for notification callback. |
notify | PKCS#11 notification callback. |
cancellable | Optional cancellation object, or NULL. |
error | A location to return an error, or NULL. |
Returns
a new session or NULL
if an error occurs.
[transfer full]
gck_slot_open_session_full_async ()
Open a session on the slot. If the 'auto reuse' setting is set,then this may be a recycled session with the same flags.
This call will return immediately and complete asynchronously.
[skip]
Parameters
self | The slot to open a session on. |
options | Options to open the new session with. |
pkcs11_flags | Additional raw PKCS#11 flags. |
app_data | Application data for notification callback. |
notify | PKCS#11 notification callback. |
cancellable | Optional cancellation object, or NULL. |
callback | Called when the operation completes. |
user_data | Data to pass to the callback. |
gck_slot_open_session_async ()
Open a session on the slot. If the 'auto reuse' setting is set,then this may be a recycled session with the same flags.
This call will return immediately and complete asynchronously.
Parameters
self | The slot to open a session on. |
options | The options to open the new session with. |
cancellable | Optional cancellation object, or NULL. |
callback | Called when the operation completes. |
user_data | Data to pass to the callback. |
gck_slot_open_session_finish ()
Get the result of an open session operation. If the 'auto reuse' setting is set,then this may be a recycled session with the same flags.
Parameters
self | The slot to open a session on. |
result | The result passed to the callback. |
error | A location to return an error or NULL. |
Returns
Gnome Clothes Templates/ Martha Stewart
the new session or NULL
if an error occurs.
[transfer full]
gck_slot_from_handle ()
Create a new GckSlot object for a raw PKCS#11 handle.
Parameters
module | The module that this slot is on. |
slot_id | The raw PKCS#11 handle or slot id of this slot. |
gck_slot_info_copy ()
Make a copy of the slot info.
Parameters
Returns
a newly allocated copy slot info.
[transfer full]
gck_slot_info_free ()
Free the GckSlotInfo and associated resources.
Parameters
gck_token_info_copy ()
Make a copy of the token info.
Parameters
Returns
a newly allocated copy token info.
[transfer full]
gck_token_info_free ()
Free the GckTokenInfo and associated resources.
Parameters
Types and Values
struct GckMechanismInfo
Represents information about a PKCS11 mechanism.
This is analogous to a CK_MECHANISM_INFO structure.
When you're done with this structure it should be released withgck_mechanism_info_free()
.
Members
gulong | The minimum key size that can be used with this mechanism. |
gulong | The maximum key size that can be used with this mechanism. |
gulong | Various PKCS11 flags that apply to this mechanism. |
enum GckSessionOptions
Gnome Slots
Options for creating sessions.
Members
GCK_SESSION_READ_ONLY | Open session as read only |
GCK_SESSION_READ_WRITE | Open sessions as read/write |
GCK_SESSION_LOGIN_USER | Login as user on new sessions |
GCK_SESSION_AUTHENTICATE | Authenticate as necessary |
struct GckSlotInfo
Represents information about a PKCS11 slot.
This is analogous to a CK_SLOT_INFO structure, but thestrings are far more usable.
When you're done with this structure it should be released withgck_slot_info_free()
.
Members
gchar * | Description of the slot. |
gchar * | The manufacturer of this slot. |
gulong | Various PKCS11 flags that apply to this slot. |
guint8 | The major version of the hardware. |
guint8 | The minor version of the hardware. |
guint8 | The major version of the firmware. |
guint8 | The minor version of the firmware. |
struct GckTokenInfo
Represents information about a PKCS11 token.
This is analogous to a CK_TOKEN_INFO structure, but thestrings are far more usable.
Gnome Sloth
When you're done with this structure it should be released withgck_token_info_free()
.
Members
gchar * | The displayable token label. |
gchar * | The manufacturer of this slot. |
gchar * | The token model number as a string. |
gchar * | The token serial number as a string. |
gulong | Various PKCS11 flags that apply to this token. |
glong | The maximum number of sessions allowed on this token. |
glong | The number of sessions open on this token. |
glong | The maximum number of read/write sessions allowed on this token. |
glong | The number of sessions open on this token. |
glong | The maximum length of a PIN for locking this token. |
glong | The minimum length of a PIN for locking this token. |
glong | The total amount of memory on this token for storing public objects. |
glong | The available amount of memory on this token for storing public objects. |
glong | The total amount of memory on this token for storing private objects. |
glong | The available amount of memory on this token for storing private objects. |
guint8 | The major version of the hardware. |
guint8 | The minor version of the hardware. |
guint8 | The major version of the firmware. |
guint8 | The minor version of the firmware. |
gint64 | If the token has a hardware clock, this is set to the number of seconds since the epoch. |
Property Details
The “handle”
property
The raw CK_SLOT_ID handle of this slot.
Gnome Slot Game Free
Flags: Read / Write / Construct Only
The “module”
property
The PKCS11 object that this slot is a part of.
Gnome Clothing Patterns
Flags: Read / Write / Construct Only