gsttracerfactory.h 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /* GStreamer
  2. * Copyright (C) 2013 Stefan Sauer <ensonic@users.sf.net>
  3. *
  4. * gsttracerfactory.h: tracing subsystem
  5. *
  6. * This library is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU Library General Public
  8. * License as published by the Free Software Foundation; either
  9. * version 2 of the License, or (at your option) any later version.
  10. *
  11. * This library is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  14. * Library General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU Library General Public
  17. * License along with this library; if not, write to the
  18. * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
  19. * Boston, MA 02110-1301, USA.
  20. */
  21. #ifndef __GST_TRACER_FACTORY_H__
  22. #define __GST_TRACER_FACTORY_H__
  23. #include <gst/gstcaps.h>
  24. #include <gst/gstplugin.h>
  25. #include <gst/gstpluginfeature.h>
  26. G_BEGIN_DECLS
  27. #define GST_TYPE_TRACER_FACTORY (gst_tracer_factory_get_type())
  28. #define GST_TRACER_FACTORY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_TRACER_FACTORY, GstTracerFactory))
  29. #define GST_IS_TRACER_FACTORY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_TRACER_FACTORY))
  30. #define GST_TRACER_FACTORY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_TRACER_FACTORY, GstTracerFactoryClass))
  31. #define GST_IS_TRACER_FACTORY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_TRACER_FACTORY))
  32. #define GST_TRACER_FACTORY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_TRACER_FACTORY, GstTracerFactoryClass))
  33. #define GST_TRACER_FACTORY_CAST(obj) ((GstTracerFactory *)(obj))
  34. /**
  35. * GstTracerFactory:
  36. *
  37. * Opaque object that stores information about a tracer function.
  38. *
  39. * Since: 1.8
  40. */
  41. typedef struct _GstTracerFactory GstTracerFactory;
  42. typedef struct _GstTracerFactoryClass GstTracerFactoryClass;
  43. /* tracering interface */
  44. GType gst_tracer_factory_get_type (void);
  45. GList * gst_tracer_factory_get_list (void);
  46. #ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
  47. G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstTracerFactory, gst_object_unref)
  48. #endif
  49. G_END_DECLS
  50. #endif /* __GST_TRACER_FACTORY_H__ */