taurus taurus

Previous topic

TaurusManager

Next topic

TaurusOperation

This Page

TaurusModel

Inheritance diagram of TaurusModel

class TaurusModel(full_name, parent, serializationMode=None)

Bases: taurus.core.util.log.Logger

RegularEvent = (0, 1, 2)
addListener(listener)
classmethod buildModelName(parent_model, relative_name)
cleanUp()
deleteListener(listener)
classmethod factory()
fireEvent(event_type, event_value, listeners=None)

sends an event to all listeners or a specific one

forceListening()
getChildObj(child_name)
getDisplayDescrObj(cache=True)

A brief description of the model. Can be used as tooltip, for example

getDisplayName(cache=True, complete=True)
getDisplayValue(cache=True)
getFullName()
classmethod getNameValidator()
getNormalName()
getParentObj()
getSerializationMode()

Gives the serialization operation mode.

Return type::class:~`TaurusSerializationMode`
Returns:the current serialization mode
getSimpleName()
getTaurusElementType()
getValueObj(cache=True)
hasListeners()

returns True if anybody is listening to events from this attribute

classmethod isValid(name, level=0)
isWritable()
removeListener(listener)
setSerializationMode(mode)

Sets the serialization mode for the system.

Parameters:mode (:class:~`TaurusSerializationMode`) – the new serialization mode
unforceListening()