Inheritance vs Interface Polymorphism (C++)
Doxygen docs for the C++ implementation
Loading...
Searching...
No Matches
InterfaceDog Class Reference

ISpeaker implementation that barks. More...

Inheritance diagram for InterfaceDog:
Collaboration diagram for InterfaceDog:

Public Member Functions

void speak () override
 Emits this speaker's sound.
Public Member Functions inherited from ISpeaker
virtual ~ISpeaker ()=default

Detailed Description

ISpeaker implementation that barks.

Definition at line 119 of file C++ Implimentation.cpp.

Member Function Documentation

◆ speak()

void InterfaceDog::speak ( )
inlineoverridevirtual

Emits this speaker's sound.

Implements ISpeaker.

Definition at line 121 of file C++ Implimentation.cpp.


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