Public Member Functions | Protected Attributes | Private Attributes | List of all members
InterfaceModel Class Reference

#include <p_driver.h>

Inheritance diagram for InterfaceModel:
Inheritance graph
[legend]

Public Member Functions

 InterfaceModel (player_devaddr_t addr, StgDriver *driver, ConfigFile *cf, int section, const std::string &type)
 
virtual void Subscribe (void)
 
virtual void Unsubscribe (void)
 
virtual ~InterfaceModel (void)
 
- Public Member Functions inherited from Interface
 Interface (player_devaddr_t addr, StgDriver *driver, ConfigFile *cf, int section)
 
virtual int ProcessMessage (QueuePointer &resp_queue, player_msghdr_t *hdr, void *data)
 
virtual void Publish (void)
 
virtual void Subscribe (QueuePointer &queue)
 
virtual void Unsubscribe (QueuePointer &queue)
 
virtual ~Interface (void)
 

Protected Attributes

Stg::Modelmod
 

Private Attributes

bool subscribed
 

Additional Inherited Members

- Public Attributes inherited from Interface
player_devaddr_t addr
 
StgDriverdriver
 
double last_publish_time
 
double publish_interval_msec
 

Detailed Description

Definition at line 96 of file p_driver.h.

Constructor & Destructor Documentation

InterfaceModel::InterfaceModel ( player_devaddr_t  addr,
StgDriver driver,
ConfigFile *  cf,
int  section,
const std::string &  type 
)

Definition at line 227 of file p_driver.cc.

virtual InterfaceModel::~InterfaceModel ( void  )
inlinevirtual

Definition at line 107 of file p_driver.h.

Member Function Documentation

void InterfaceModel::Subscribe ( void  )
virtual

Reimplemented from Interface.

Definition at line 267 of file p_driver.cc.

void InterfaceModel::Unsubscribe ( void  )
virtual

Reimplemented from Interface.

Definition at line 276 of file p_driver.cc.

Member Data Documentation

Stg::Model* InterfaceModel::mod
protected

Definition at line 115 of file p_driver.h.

bool InterfaceModel::subscribed
private

Definition at line 118 of file p_driver.h.


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


stage
Author(s): Richard Vaughan , Brian Gerkey , Reed Hedges , Andrew Howard , Toby Collett , Pooya Karimian , Jeremy Asher , Alex Couture-Beil , Geoff Biggs , Rich Mattes , Abbas Sadat
autogenerated on Mon Jun 10 2019 15:06:11