4.1. manager.component

component.py

Platform:
Windows, Linux, Mac Os X.
Description:
Defines the Component class.

Others:

4.1.1. Module Attributes

manager.component.LOGGER

4.1.2. Classes

class manager.component.Component(name=None)[source]

Bases: object

Defines the base class for Manager package Components.

Initializes the class.

Parameters:name (unicode) – Component name.
name[source]

Property for self.__name attribute.

Returns:self.__name.
Return type:unicode
activated[source]

Property for self.__activated attribute.

Returns:self.__activated.
Return type:bool
initialized[source]

Property for self.__initialized attribute.

Returns:self.__initialized.
Return type:bool
deactivatable[source]

Property for self.__deactivatable attribute.

Returns:self.__deactivatable.
Return type:bool
activate()[source]

Sets Component activation state.

Returns:Method success.
Return type:bool
deactivate()[source]

Unsets Component activation state.

Returns:Method success.
Return type:bool
initialize()[source]

Initializes the Component.

uninitialize()[source]

Uninitializes the Component.