OpenCOVER
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
opencover::InputSource Class Referenceabstract

#include <inputsource.h>

Inheritance diagram for opencover::InputSource:
Inheritance graph
[legend]

Public Member Functions

 InputSource (const std::string &name, const std::string &kind)
 
virtual ~InputSource ()
 
bool isValid () const
 
int validDevice ()
 
virtual void update ()=0
 
const std::string & name () const
 
const std::string & config () const
 
InputDevicedevice () const
 
InputDevicedevice (int i) const
 
size_t numDevices () const
 

Protected Member Functions

void setValid (bool)
 

Protected Attributes

bool m_valid = false
 
bool m_oldValid = false
 
int m_validDevice =0
 

Constructor & Destructor Documentation

◆ InputSource()

opencover::InputSource::InputSource ( const std::string &  name,
const std::string &  kind 
)

◆ ~InputSource()

virtual opencover::InputSource::~InputSource ( )
virtual

Member Function Documentation

◆ config()

const std::string & opencover::InputSource::config ( ) const

◆ device() [1/2]

InputDevice * opencover::InputSource::device ( ) const

◆ device() [2/2]

InputDevice * opencover::InputSource::device ( int  i) const

◆ isValid()

bool opencover::InputSource::isValid ( ) const

◆ name()

const std::string & opencover::InputSource::name ( ) const

◆ numDevices()

size_t opencover::InputSource::numDevices ( ) const
inline

◆ setValid()

void opencover::InputSource::setValid ( bool  )
protected

◆ update()

virtual void opencover::InputSource::update ( )
pure virtual

◆ validDevice()

int opencover::InputSource::validDevice ( )

Member Data Documentation

◆ m_oldValid

bool opencover::InputSource::m_oldValid = false
protected

◆ m_valid

bool opencover::InputSource::m_valid = false
protected

◆ m_validDevice

int opencover::InputSource::m_validDevice =0
protected

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