ME 405 Term Project
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:
task_share.Queue task_share.Share

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.

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.

Member Data Documentation

◆ _thread_protect

task_share.BaseShare._thread_protect = thread_protect
protected

◆ _type_code

task_share.BaseShare._type_code = type_code
protected

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