Orion
high-rate readout
Classes | Public Member Functions | List of all members
hwc::Controller Class Referenceabstract

Controller common interface. More...

#include <controller.hpp>

Classes

struct  Factory
 

Public Member Functions

virtual ~Controller ()=default
 Default destructor.
 
virtual void init ()=0
 Initialize controller.
 
virtual RxCoreget_rxcore ()=0
 Properties. More...
 
virtual TxCoreget_txcore ()=0
 Transmitter controller. More...
 
virtual std::string get_property (const std::string &key)=0
 Get controller property. More...
 
virtual void set_property (const std::string &key, const std::string &value)=0
 Set controller property. More...
 

Detailed Description

Controller common interface.

Member Function Documentation

◆ get_property()

virtual std::string hwc::Controller::get_property ( const std::string &  key)
pure virtual

Get controller property.

Parameters
key- property name
Returns
- controller property as string

◆ get_rxcore()

virtual RxCore* hwc::Controller::get_rxcore ( )
pure virtual

Properties.

Receiver controller.

Returns
- RxCore instance

◆ get_txcore()

virtual TxCore* hwc::Controller::get_txcore ( )
pure virtual

Transmitter controller.

Returns
- TxCore instance

◆ set_property()

virtual void hwc::Controller::set_property ( const std::string &  key,
const std::string &  value 
)
pure virtual

Set controller property.

Parameters
key- property name
value- property value as string

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