ROSE  0.9.9.168
Static Public Member Functions | List of all members
Sawyer::Message::Gang Class Reference

Description

Definition at line 957 of file Message.h.

Inheritance diagram for Sawyer::Message::Gang:
Inheritance graph
[legend]
Collaboration diagram for Sawyer::Message::Gang:
Collaboration graph
[legend]

Static Public Member Functions

static GangPtr instance ()
 New non-shared gang with NO_GANG_ID. More...
 
static GangPtr instanceForId (int id)
 The gang for the specified ID, creating a new one if necessary. More...
 
static GangPtr instanceForTty ()
 Returns the gang for streams that are emitting to a tty. More...
 
static void shutdownNS ()
 Reset to initial state to free memory. More...
 

Additional Inherited Members

- Public Member Functions inherited from Sawyer::Message::HighWater
 HighWater (const Mesg &m, const MesgProps &p)
 
Sawyer::SynchronizationTraits< Sawyer::SingleThreadedTag >::RecursiveMutex & mutex () const
 
void emitted (const Mesg &, const MesgProps &)
 Make specified message the high water mark. More...
 
void clear ()
 Reset to initial state. More...
 
bool isValid () const
 Returns true if high water is defined. More...
 
unsigned id () const
 Exception unless isValid(). More...
 
MesgProps properties () const
 
size_t ntext () const
 Zero if !isValid(). More...
 
- Public Member Functions inherited from Sawyer::SharedObject
 SharedObject ()
 Default constructor. More...
 
 SharedObject (const SharedObject &)
 Copy constructor. More...
 
virtual ~SharedObject ()
 Virtual destructor. More...
 
SharedObjectoperator= (const SharedObject &)
 Assignment. More...
 
- Protected Member Functions inherited from Sawyer::Message::HighWater
 HighWater (const HighWater &)
 
HighWateroperator= (const HighWater &)
 
- Protected Attributes inherited from Sawyer::Message::HighWater
Sawyer::SynchronizationTraits< Sawyer::SingleThreadedTag >::RecursiveMutex mutex_
 

Member Function Documentation

static GangPtr Sawyer::Message::Gang::instance ( )
static

New non-shared gang with NO_GANG_ID.

Referenced by Sawyer::Message::UnformattedSink::UnformattedSink().

static GangPtr Sawyer::Message::Gang::instanceForId ( int  id)
static

The gang for the specified ID, creating a new one if necessary.

static GangPtr Sawyer::Message::Gang::instanceForTty ( )
static

Returns the gang for streams that are emitting to a tty.

static void Sawyer::Message::Gang::shutdownNS ( )
static

Reset to initial state to free memory.


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