ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
Public Member Functions | Private Member Functions | Private Attributes | List of all members
etiss::instr::InstructionCollection Class Reference

maps to ModedInstructionSet More...

#include <Instruction.h>

Collaboration diagram for etiss::instr::InstructionCollection:
Collaboration graph
[legend]

Public Member Functions

template<typename... T>
etiss_del_como(InstructionCollection) const std InstructionCollection (const std::string &name, InstructionClass &class1, T &... otherclasses)
 
void foreach (std::function< void(InstructionClass &)> call)
 
void addTo (ModedInstructionSet &set, bool &ok)
 

Private Member Functions

template<typename... T>
void add (InstructionClass &klass, T &... args)
 
void add ()
 

Private Attributes

std::set< InstructionClass * > classes_
 

Detailed Description

maps to ModedInstructionSet

Definition at line 604 of file Instruction.h.

Constructor & Destructor Documentation

◆ InstructionCollection()

template<typename... T>
etiss_del_como (InstructionCollection) const std etiss::instr::InstructionCollection::InstructionCollection ( const std::string &  name,
InstructionClass class1,
T &...  otherclasses 
)
inline

Definition at line 621 of file Instruction.h.

References add().

Here is the call graph for this function:

Member Function Documentation

◆ add() [1/2]

void etiss::instr::InstructionCollection::add ( )
inlineprivate

Definition at line 614 of file Instruction.h.

Referenced by add(), and InstructionCollection().

Here is the caller graph for this function:

◆ add() [2/2]

template<typename... T>
void etiss::instr::InstructionCollection::add ( InstructionClass klass,
T &...  args 
)
inlineprivate

Definition at line 609 of file Instruction.h.

References add(), get_metrics::args, and classes_.

Here is the call graph for this function:

◆ addTo()

void etiss::instr::InstructionCollection::addTo ( ModedInstructionSet set,
bool ok 
)

◆ foreach()

void etiss::instr::InstructionCollection::foreach ( std::function< void(InstructionClass &)>  call)
inline

Definition at line 625 of file Instruction.h.

References classes_.

Member Data Documentation

◆ classes_

std::set<InstructionClass *> etiss::instr::InstructionCollection::classes_
private

Definition at line 607 of file Instruction.h.

Referenced by add(), and foreach().


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