ME 405 Romi
Loading...
Searching...
No Matches
task_share.BaseShare Class Reference

Base class for queues and shares which exchange data between tasks. More...

Inheritance diagram for task_share.BaseShare:

Public Member Functions

 __init__ (self, type_code, thread_protect=True, name=None)
 Create a base queue object when called by a child class initializer.

Protected Attributes

 _type_code = type_code
 _thread_protect = thread_protect

Detailed Description

Base class for queues and shares which exchange data between tasks.

One should never create an object from this class; it doesn't do anything useful. It exists to implement things which are common between its child classes Queue and Share.

Definition at line 56 of file task_share.py.

Constructor & Destructor Documentation

◆ __init__()

task_share.BaseShare.__init__ ( self,
type_code,
thread_protect = True,
name = None )

Create a base queue object when called by a child class initializer.

This method creates the things which queues and shares have in common.

Definition at line 61 of file task_share.py.

Member Data Documentation

◆ _thread_protect

task_share.BaseShare._thread_protect = thread_protect
protected

Definition at line 63 of file task_share.py.

◆ _type_code

task_share.BaseShare._type_code = type_code
protected

Definition at line 62 of file task_share.py.


The documentation for this class was generated from the following file: