LiveSupport::Core::Configurable Class Reference

#include <Configurable.h>

Inheritance diagram for LiveSupport::Core::Configurable:

[legend]
List of all members.

Detailed Description

An interface marking a class configurable by an XML element.

Author:
Author
fgerlits
Version:
Revision
2329

Definition at line 67 of file Configurable.h.

Public Member Functions

virtual void configure (const xmlpp::Element &element)=0 throw (std::invalid_argument, std::logic_error)
 Configure the object based on the XML element supplied.
virtual ~Configurable (void) throw ()
 A virtual destructor, as this class has virtual functions.


Constructor & Destructor Documentation

virtual LiveSupport::Core::Configurable::~Configurable ( void   )  throw () [inline, virtual]

A virtual destructor, as this class has virtual functions.

Definition at line 91 of file Configurable.h.


Member Function Documentation

virtual void LiveSupport::Core::Configurable::configure ( const xmlpp::Element &  element  )  throw (std::invalid_argument, std::logic_error) [pure virtual]

Configure the object based on the XML element supplied.

The supplied element is expected to be of the name returned by configElementName().

Parameters:
element the XML element to configure the object from.
Exceptions:
std::invalid_argument if the supplied XML element contains bad configuraiton information
std::logic_error if the object has already been configured, and can not be reconfigured.

Implemented in LiveSupport::Core::AudioClip, LiveSupport::Core::FadeInfo, LiveSupport::Core::LocalizedConfigurable, LiveSupport::Core::MetadataConstraint, LiveSupport::Core::MetadataType, LiveSupport::Core::MetadataTypeContainer, LiveSupport::Core::Playlist, LiveSupport::Core::PlaylistElement, LiveSupport::Core::RdsContainer, LiveSupport::Core::RdsItem, LiveSupport::Core::EnumerationConstraint, LiveSupport::Core::NumericConstraint, LiveSupport::Core::NumericRangeConstraint, LiveSupport::Authentication::AuthenticationClientFactory, LiveSupport::Authentication::TestAuthenticationClient, LiveSupport::Authentication::WebAuthenticationClient, LiveSupport::Db::ConnectionManagerFactory, LiveSupport::Db::SimpleConnectionManager, LiveSupport::StorageClient::StorageClientFactory, LiveSupport::StorageClient::TestStorageClient, LiveSupport::StorageClient::WebStorageClient, LiveSupport::PlaylistExecutor::AudioPlayerFactory, LiveSupport::PlaylistExecutor::GstreamerPlayer, LiveSupport::SchedulerClient::SchedulerClientFactory, LiveSupport::SchedulerClient::SchedulerDaemonXmlRpcClient, LiveSupport::Widgets::WidgetFactory, LiveSupport::Scheduler::BackupFactory, LiveSupport::Scheduler::PlayLogFactory, LiveSupport::Scheduler::PostgresqlBackup, LiveSupport::Scheduler::PostgresqlPlayLog, LiveSupport::Scheduler::PostgresqlSchedule, LiveSupport::Scheduler::ScheduleFactory, LiveSupport::Scheduler::SchedulerDaemon, LiveSupport::GLiveSupport::GLiveSupport, LiveSupport::GLiveSupport::KeyboardShortcut, LiveSupport::GLiveSupport::KeyboardShortcutContainer, LiveSupport::GLiveSupport::KeyboardShortcutList, and LiveSupport::GLiveSupport::TaskbarIcons.


The documentation for this class was generated from the following file:
Generated on Sat Sep 22 02:00:37 2007 for Campcaster by  1.4.7