MCPcopy Create free account
hub / github.com/HertzDevil/0CC-FamiTracker / GetSequence

Method GetSequence

Source/InstrumentManager.cpp:239–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237//
238
239std::shared_ptr<CSequence> CInstrumentManager::GetSequence(inst_type_t InstType, sequence_t SeqType, int Index) const
240{
241 if (auto pManager = GetSequenceManager(InstType))
242 if (auto pCol = pManager->GetCollection(SeqType))
243 return pCol->GetSequence(Index);
244 return nullptr;
245}
246
247void CInstrumentManager::SetSequence(inst_type_t InstType, sequence_t SeqType, int Index, std::shared_ptr<CSequence> pSeq)
248{

Callers 2

DeepCloneInstrumentMethod · 0.45
GetFreeSequenceIndexMethod · 0.45

Calls 1

GetCollectionMethod · 0.80

Tested by

no test coverage detected