anatomist  5.1.2
3D neuroimaging data viewer
anatomist::CommandContext Struct Reference

Context for commands processor readers (APipeReader etc) More...

#include <anatomist/processor/context.h>

Inheritance diagram for anatomist::CommandContext:
Collaboration diagram for anatomist::CommandContext:

Public Member Functions

void attach (std::ostream *strm, bool own)
 
void close ()
 
void closein ()
 
 CommandContext ()
 
virtual ~CommandContext ()
 
- Public Member Functions inherited from carto::MutexedObject
 MutexedObject ()
 
 MutexedObject (const MutexedObject &)
 
virtual ~MutexedObject ()
 
MutexedObjectoperator= (const MutexedObject &)
 
Mutexmutex () const
 
- Public Member Functions inherited from carto::RCObject
 RCObject ()
 
 RCObject (const RCObject &)
 
RCObjectoperator= (const RCObject &)
 
virtual ~RCObject ()
 

Static Public Member Functions

static CommandContextdefaultContext ()
 
static const std::set< CommandContext * > & contexts ()
 

Public Attributes

std::ostream * ostr
 
bool ownstream
 
std::istream * istr
 
int infd
 
carto::rc_ptr< Unserializerunserial
 
OutputEventFilterevfilter
 

Additional Inherited Members

- Public Types inherited from carto::MutexedObject
typedef carto::Mutex Mutex
 
- Public Types inherited from carto::RCObject
typedef int RefCounterType
 

Detailed Description

Context for commands processor readers (APipeReader etc)

Definition at line 47 of file context.h.

Constructor & Destructor Documentation

◆ CommandContext()

anatomist::CommandContext::CommandContext ( )

◆ ~CommandContext()

virtual anatomist::CommandContext::~CommandContext ( )
virtual

Member Function Documentation

◆ attach()

void anatomist::CommandContext::attach ( std::ostream *  strm,
bool  own 
)

◆ close()

void anatomist::CommandContext::close ( )

◆ closein()

void anatomist::CommandContext::closein ( )

◆ contexts()

static const std::set<CommandContext *>& anatomist::CommandContext::contexts ( )
static

◆ defaultContext()

static CommandContext& anatomist::CommandContext::defaultContext ( )
static

Member Data Documentation

◆ evfilter

OutputEventFilter* anatomist::CommandContext::evfilter

Definition at line 60 of file context.h.

◆ infd

int anatomist::CommandContext::infd

Definition at line 58 of file context.h.

◆ istr

std::istream* anatomist::CommandContext::istr

Definition at line 57 of file context.h.

◆ ostr

std::ostream* anatomist::CommandContext::ostr

Definition at line 55 of file context.h.

◆ ownstream

bool anatomist::CommandContext::ownstream

Definition at line 56 of file context.h.

◆ unserial

carto::rc_ptr<Unserializer> anatomist::CommandContext::unserial

Definition at line 59 of file context.h.


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