ruby-****@sourc*****
ruby-****@sourc*****
2004年 3月 2日 (火) 05:29:53 JST
------------------------- REMOTE_ADDR = 217.117.55.140 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/?Gst%3A%3AAutoplugFactory ------------------------- = class Gst::AutoplugFactory Create autopluggers from a factory. == Object Hierarchy - * ((<Gst::PluginFeature>)) + * Object + * GLib::Instantiatable + * GLib::Object + * Gst::PluginFeature + * Gst::AutoplugFactory == Class Methods - --- Gst::AutoplugFactory.find(aNameString) + --- Gst::AutoplugFactory.find(name) Searches for a registered autoplug factory of the given - name, and returns a reference to a Gst::AutoplugFactory object - if found. Otherwise, returns nil. + name/ + * name: the name of the autoplug factory to search for. + * Returns: a reference to a Gst::AutoplugFactory object if found, otherwise nil. - --- Gst::AutoplugFactory.make(aNameString) + --- Gst::AutoplugFactory.make(name) Creates a new Gst::Autoplug instance from the autoplug factory with the given name. - - Returns nil if there is no autoplug factory registered with the given name - or if the autoplug object could not be constructed. - - Example: - - auto1 = Gst::AutoplugFactory.make("staticrender") - # This does the same - auto2 = Gst::AutoplugFactory.find("staticrender").create + make("staticrender") + # This does the same + auto2 = Gst::AutoplugFactory.find("staticrender").create + * name: the name of an autoplug factory. + * Example: auto1 = Gst::AutoplugFactory. + * Returns: a reference to a Gst::Autoplug object, or nil if there is no autoplug factory registered with the given name or if the autoplug object could not be constructed. - == Instance Methods - --- create + --- create Creates and returns a new Gst::Autoplug instance from the current autoplug - factory. - - Returns nil if the autoplug object could not be constructed. + factory. + * Returns: a reference to a newly created Gst::Autoplug object, or nil if the autoplug object could not be constructed. - --- to_s - Gets a String representing the factory. + --- to_s + This method returns a string representing the factory. + * Returns: a string representing the factory. - + == See Also + ((<Gst>)). - ((<lrz>))