Schnek
schnek::Block Class Reference

#include <block.hpp>

Inheritance diagram for schnek::Block:
Collaboration diagram for schnek::Block:

Public Member Functions

 Block (pBlock parent_=pBlock())
 
void setContext (pBlockVariables context)
 
pBlockVariables getLocalVariables ()
 
pBlockVariables getVariables ()
 
void setup ()
 
void addChild (pBlock child)
 
void evaluateParameters ()
 
pBlock getParent ()
 
template<typename T >
void addData (std::string key, T &data)
 
template<typename T >
void retrieveData (std::string key, T *&data)
 
template<typename T >
void retrieveData (std::string key, T &data)
 
void initAll ()
 
void setName (const std::string &name_)
 
std::string getName ()
 
- Public Member Functions inherited from schnek::Unique< Block >
long getId ()
 

Protected Member Functions

virtual void initParameters (BlockParameters &)
 
virtual void registerData ()
 
virtual void preInit ()
 
virtual void init ()
 
virtual void postInit ()
 
BlockList getChildren ()
 

Friends

class BlockTree
 

Detailed Description

Block defines the basic structure of a unit of simulation code


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