Package ch.bailu.gtk.gst
Klasse DebugCategory
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.gst.DebugCategory
- Alle implementierten Schnittstellen:
PointerInterface
This is the struct that describes the categories. Once initialized with
#GST_DEBUG_CATEGORY_INIT, its values can't be changed anymore.
#GST_DEBUG_CATEGORY_INIT, its values can't be changed anymore.
https://gstreamer.freedesktop.org/documentation/gstreamer/gi-index.html
-
Feldübersicht
Felder -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
free()
Veraltet.static ClassHandler
int
getColor()
Returns the color of a debug category used when printing output in this
category.Returns the description of a debug category.int
int
getName()
Returns the name of a debug category.int
Returns the threshold of a #GstDebugCategory.void
Resets the threshold of the category to the default level.void
setThreshold
(int level) Sets the threshold of the category to the given level.Von Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Von Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Felddetails
-
THRESHOLD
- Siehe auch:
-
COLOR
- Siehe auch:
-
NAME
- Siehe auch:
-
DESCRIPTION
- Siehe auch:
-
-
Konstruktordetails
-
DebugCategory
-
DebugCategory
public DebugCategory()
-
-
Methodendetails
-
getClassHandler
-
getFieldThreshold
public int getFieldThreshold() -
getFieldColor
public int getFieldColor() -
getFieldName
-
getFieldDescription
-
free
Veraltet.Removes and frees the category and all associated resources. -
getColor
public int getColor()Returns the color of a debug category used when printing output in this
category.- Gibt zurück:
- the color of the category.
-
getDescription
Returns the description of a debug category.- Gibt zurück:
- the description of the category.
-
getName
Returns the name of a debug category.- Gibt zurück:
- the name of the category.
-
getThreshold
public int getThreshold()Returns the threshold of a #GstDebugCategory.- Gibt zurück:
- the #GstDebugLevel that is used as threshold.
-
resetThreshold
public void resetThreshold()Resets the threshold of the category to the default level. Debug information
will only be output if the threshold is lower or equal to the level of the
debugging message.
Use this function to set the threshold back to where it was after using
gst_debug_category_set_threshold(). -
setThreshold
public void setThreshold(int level) Sets the threshold of the category to the given level. Debug information will
only be output if the threshold is lower or equal to the level of the
debugging message.
> Do not use this function in production code, because other functions may
> change the threshold of categories as side effect. It is however a nice
> function to use when debugging (even from gdb).- Parameter:
level
- the #GstDebugLevel threshold to set.
-