orca-sim
Public Member Functions | List of all members
orcasim::base::UntimedModel Class Referenceabstract

Untimed models represent hardware models whose clock period is irrelevant for the simulation. More...

#include <UntimedModel.hpp>

Inheritance diagram for orcasim::base::UntimedModel:
orcasim::base::Model orcasim::modeling::Buffer< T > orcasim::modeling::Memory orcasim::modeling::SignalSet< T >

Public Member Functions

 UntimedModel (std::string name)
 Default Ctor. More...
 
virtual ~UntimedModel ()=0
 Dtor. More...
 
a name that identifies the model, advisably not empty.

Default ctor.

std::string GetName ()
 Getter method for the <_name> field. More...
 
void SetName (std::string s)
 Setter method for the <_name> field. More...
 

Detailed Description

Untimed models represent hardware models whose clock period is irrelevant for the simulation.

Definition at line 39 of file UntimedModel.hpp.

Constructor & Destructor Documentation

§ UntimedModel()

UntimedModel::UntimedModel ( std::string  name)
explicit

Default Ctor.

Definition at line 30 of file UntimedModel.cpp.

30  : Model(name) {
31  // nothing to do
32 }
Model(std::string name)
Definition: Model.cpp:30

§ ~UntimedModel()

UntimedModel::~UntimedModel ( )
pure virtual

Dtor.

Must be implemented by subclasses.

Definition at line 34 of file UntimedModel.cpp.

34  {
35  // nothing to do
36 }

Member Function Documentation

§ GetName()

std::string Model::GetName ( )
inherited

Getter method for the <_name> field.

Definition at line 34 of file Model.cpp.

34  {
35  return _name;
36 }
std::string _name
A name for the model.
Definition: Model.hpp:47

§ SetName()

void Model::SetName ( std::string  s)
inherited

Setter method for the <_name> field.

Parameters
sValue to be set

Definition at line 38 of file Model.cpp.

38  {
39  _name = name;
40 }
std::string _name
A name for the model.
Definition: Model.hpp:47

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