/**
* First element iterator
*/
- appid_codec_engines_it begin() const throw() { return a_appid_codec_engines.begin(); }
+ appid_codec_engines_it begin() const { return a_appid_codec_engines.begin(); }
/**
* Last element iterator
*/
- appid_codec_engines_it end() const throw() { return a_appid_codec_engines.end(); }
+ appid_codec_engines_it end() const { return a_appid_codec_engines.end(); }
/**
* Number of registered engines
*/
- int size() const throw() { return a_appid_codec_engines.size(); }
+ int size() const { return a_appid_codec_engines.size(); }
/**
* Registers a new codec engine (externally allocated) associated to an application id.
* @param appid Application-Id
* @param engine Associated codec engine
*/
- void registerCodecEngine(const ApplicationId &appid, Engine* engine) throw();
+ void registerCodecEngine(const ApplicationId &appid, Engine* engine) ;
/**
* Get the associated codec engine for a provided Application-Id.
*
* @return Found codec engine, NULL if not found
*/
- Engine *getCodecEngine(const ApplicationId &appid) const throw();
+ Engine *getCodecEngine(const ApplicationId &appid) const ;
/**
* If only one codec engine is registered (mono-stack application), it will be returned
*
* @return Unique codec engine, NULL if not unique (empty manager or more than one)
*/
- Engine *getMonoStackCodecEngine() const throw() {
+ Engine *getMonoStackCodecEngine() const {
return ((size() != 1) ? NULL : begin()->second);
}
* @param enable Activates/deactivates the codec engine selection from the Application-Id value. True by default
* and applicable when this manager store is not empty.
*/
- void selectFromApplicationId (bool enable) throw() { a_autoSelectFromApplicationId = enable; }
+ void selectFromApplicationId (bool enable) { a_autoSelectFromApplicationId = enable; }
/**
Gets the currently configured behaviour regarding codec engine selection.
@return True if selection is done with the Application-Id (default behaviour). False to disable (the manager
could be used for some other things which could be also interesting).
*/
- bool selectFromApplicationId (void) throw() { return a_autoSelectFromApplicationId; }
+ bool selectFromApplicationId (void) { return a_autoSelectFromApplicationId; }
/**
Class XML representation.
\param parent XML node over which we will put instance information.
\return XML documentcon with class content.
*/
- virtual anna::xml::Node* asXML(anna::xml::Node* parent) const throw();
+ virtual anna::xml::Node* asXML(anna::xml::Node* parent) const ;
friend class anna::Singleton <EngineManager>;