anatomist  5.1.2
3D neuroimaging data viewer
anatomist::SerializingCommand Class Reference

The abstract base class used for commands that have to read/write pointers. More...

#include <anatomist/processor/Command.h>

Inheritance diagram for anatomist::SerializingCommand:
Collaboration diagram for anatomist::SerializingCommand:

Public Member Functions

virtual ~SerializingCommand ()
 
CommandContextcontext ()
 
const CommandContextcontext () const
 

Protected Member Functions

 SerializingCommand (CommandContext *)
 

Protected Attributes

CommandContext_context
 

Detailed Description

The abstract base class used for commands that have to read/write pointers.

\ Commands that have to create pointers and write identifiers for them or match them with a given (read) identifier, must inherit from SerializingCommand and also from its base command type (RegularCommand, MppCommand...). SerializingCommand is not a real command in itself and cannot be used alone.

Definition at line 127 of file Command.h.

Constructor & Destructor Documentation

◆ ~SerializingCommand()

virtual anatomist::SerializingCommand::~SerializingCommand ( )
virtual

◆ SerializingCommand()

anatomist::SerializingCommand::SerializingCommand ( CommandContext )
protected

Member Function Documentation

◆ context() [1/2]

CommandContext* anatomist::SerializingCommand::context ( )
inline

Definition at line 131 of file Command.h.

References _context.

◆ context() [2/2]

const CommandContext* anatomist::SerializingCommand::context ( ) const
inline

Definition at line 132 of file Command.h.

References _context.

Member Data Documentation

◆ _context

CommandContext* anatomist::SerializingCommand::_context
protected

Definition at line 137 of file Command.h.

Referenced by context().


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