SOFA API  014b24ea
Open source framework for multi-physics simuation
sofa::simulation::CactusStackStorage Class Reference

#include <CactusStackStorage.h>

Inheritance diagram for sofa::simulation::CactusStackStorage:

Detailed Description

Protected Attributes

CactusStackStorageup
 This point to the parent stack. More...
 
CactusStackStoragedown
 This point to the array of child stacks. More...
 
std::stack< void * > stack
 

Public Member Functions

 CactusStackStorage ()
 
void setParent (CactusStackStorage *parent)
 
void setChildren (CactusStackStorage *children)
 
CactusStackStoragegetParent ()
 
CactusStackStoragegetChildren ()
 
void push (void *data) override
 
void * pop () override
 
void * top () const override
 
bool empty () const override
 
virtual const char * getClassName () const
 

Additional Inherited Members

- Protected Member Functions inherited from sofa::simulation::LocalStorage
virtual ~LocalStorage ()
 

Attribute details

CactusStackStorage* sofa::simulation::CactusStackStorage::down
protected

This point to the array of child stacks.

std::stack<void*> sofa::simulation::CactusStackStorage::stack
protected
CactusStackStorage* sofa::simulation::CactusStackStorage::up
protected

This point to the parent stack.

Constructor details

sofa::simulation::CactusStackStorage::CactusStackStorage ( )
inline

Function details

bool sofa::simulation::CactusStackStorage::empty ( ) const
overridevirtual
CactusStackStorage* sofa::simulation::CactusStackStorage::getChildren ( )
inline
virtual const char* sofa::simulation::CactusStackStorage::getClassName ( ) const
inlinevirtual
CactusStackStorage* sofa::simulation::CactusStackStorage::getParent ( )
inline
void * sofa::simulation::CactusStackStorage::pop ( )
overridevirtual
void sofa::simulation::CactusStackStorage::push ( void *  data)
overridevirtual
void sofa::simulation::CactusStackStorage::setChildren ( CactusStackStorage children)
inline
void sofa::simulation::CactusStackStorage::setParent ( CactusStackStorage parent)
inline
void * sofa::simulation::CactusStackStorage::top ( ) const
overridevirtual