template<typename T, typename Slices = std::vector<sSLICE_POS>>
class msl::graph::Block< T, Slices >
Node encapsulating a block (anything respecting the API of SeqBuildBlock).
Required part of the SeqBuildBlock API
- prepare (potentially implemented via prepSBB for classes inherited from SeqBuildBlock)
- run (potentially implemented via runSBB for classes inherited from SeqBuildBlock)
- getDurationPerRequest
- getRFInfoPerRequest
Since SeqBuildBlock::run requires a sSLICE_POS, this node is linked to a counter which provides the index of the slice.
|
| virtual | ~Block ()=default |
| |
| NLSStatus | prepare (MrProt &protocol, SeqLim &limits, SeqExpo &exports) override |
| | Prepare the block.
|
| |
| NLSStatus | run (MrProt &protocol, SeqLim &limits, SeqExpo &exports) override |
| | Run the block with the slice referenced by the counter.
|
| |
| uint64_t | duration () const override |
| | Return the duration of the block.
|
| |
| MrProtocolData::SeqExpoRFInfo | rfInfo () const override |
| | Return the RF information of the block.
|
| |
| virtual | ~AbstractNode ()=default |
| |
| Dictionary::ConstPointer | registry () const |
| | Return the registry.
|
| |
| Dictionary::Pointer | registry () |
| | Return the registry.
|
| |
| virtual AbstractNode & | setRegistry (Dictionary::Pointer registry) |
| | Set the registry.
|
| |
| template<typename T > |
| T const & | get (std::string const &key) const |
| | Return an object from the dictionary.
|
| |
| template<typename T > |
| T & | get (std::string const &key) |
| | Return an object from the dictionary.
|
| |
| boost::typeindex::type_info const & | type (std::string const &key) const |
| | Return the type of an object in the dictionary.
|
| |