MythTV  master
Public Member Functions | Public Attributes | Private Attributes | List of all members
MONITOR Class Reference

#include <zmserver.h>

Collaboration diagram for MONITOR:
Collaboration graph
[legend]

Public Member Functions

 MONITOR ()=default
 
void initMonitor (bool debug, const std::string &mmapPath, int shmKey)
 
bool isValid (void)
 
std::string getIdStr (void)
 
int getLastWriteIndex (void)
 
int getSubpixelOrder (void)
 
int getState (void)
 
int getFrameSize (void)
 

Public Attributes

std::string m_name {}
 
std::string m_type {}
 
std::string m_function {}
 
int m_enabled {0}
 
std::string m_device {}
 
std::string m_host {}
 
int m_imageBufferCount {0}
 
int m_width {0}
 
int m_height {0}
 
int m_bytesPerPixel {3}
 
int m_monId {0}
 
unsigned char * m_sharedImages {nullptr}
 
int m_lastRead {0}
 
std::string m_status {}
 
int m_palette {0}
 
int m_controllable {0}
 
int m_trackMotion {0}
 
int m_mapFile {-1}
 
void * m_shmPtr {nullptr}
 

Private Attributes

SharedDatam_sharedData {nullptr}
 
SharedData26m_sharedData26 {nullptr}
 
SharedData32m_sharedData32 {nullptr}
 
SharedData34m_sharedData34 {nullptr}
 
std::string m_id {}
 

Detailed Description

Definition at line 260 of file zmserver.h.

Constructor & Destructor Documentation

◆ MONITOR()

MONITOR::MONITOR ( )
default

Member Function Documentation

◆ initMonitor()

void MONITOR::initMonitor ( bool  debug,
const std::string &  mmapPath,
int  shmKey 
)

Definition at line 228 of file zmserver.cpp.

◆ isValid()

bool MONITOR::isValid ( void  )

Definition at line 409 of file zmserver.cpp.

Referenced by ZMServer::handleGetLiveFrame().

◆ getIdStr()

std::string MONITOR::getIdStr ( void  )

Definition at line 425 of file zmserver.cpp.

Referenced by ZMServer::zmaControl(), and ZMServer::zmcControl().

◆ getLastWriteIndex()

int MONITOR::getLastWriteIndex ( void  )

Definition at line 436 of file zmserver.cpp.

Referenced by ZMServer::getFrame().

◆ getSubpixelOrder()

int MONITOR::getSubpixelOrder ( void  )

Definition at line 470 of file zmserver.cpp.

Referenced by ZMServer::getFrame().

◆ getState()

int MONITOR::getState ( void  )

Definition at line 453 of file zmserver.cpp.

Referenced by ZMServer::getFrame().

◆ getFrameSize()

int MONITOR::getFrameSize ( void  )

Definition at line 491 of file zmserver.cpp.

Referenced by ZMServer::getFrame().

Member Data Documentation

◆ m_name

std::string MONITOR::m_name {}

Definition at line 275 of file zmserver.h.

◆ m_type

std::string MONITOR::m_type {}

Definition at line 276 of file zmserver.h.

Referenced by ZMServer::zmcControl().

◆ m_function

std::string MONITOR::m_function {}

Definition at line 277 of file zmserver.h.

Referenced by ZMServer::handleSetMonitorFunction(), and ZMServer::zmaControl().

◆ m_enabled

int MONITOR::m_enabled {0}

Definition at line 278 of file zmserver.h.

Referenced by ZMServer::handleSetMonitorFunction(), and initMonitor().

◆ m_device

std::string MONITOR::m_device {}

Definition at line 279 of file zmserver.h.

Referenced by ZMServer::zmcControl().

◆ m_host

std::string MONITOR::m_host {}

Definition at line 280 of file zmserver.h.

◆ m_imageBufferCount

int MONITOR::m_imageBufferCount {0}

Definition at line 281 of file zmserver.h.

Referenced by ZMServer::getFrame(), and initMonitor().

◆ m_width

int MONITOR::m_width {0}

Definition at line 282 of file zmserver.h.

Referenced by ZMServer::getFrame(), getFrameSize(), and initMonitor().

◆ m_height

int MONITOR::m_height {0}

Definition at line 283 of file zmserver.h.

Referenced by ZMServer::getFrame(), getFrameSize(), and initMonitor().

◆ m_bytesPerPixel

int MONITOR::m_bytesPerPixel {3}

Definition at line 284 of file zmserver.h.

Referenced by getFrameSize(), getSubpixelOrder(), and initMonitor().

◆ m_monId

int MONITOR::m_monId {0}

Definition at line 285 of file zmserver.h.

Referenced by getIdStr(), ZMServer::getMonitorList(), and initMonitor().

◆ m_sharedImages

unsigned char* MONITOR::m_sharedImages {nullptr}

Definition at line 286 of file zmserver.h.

Referenced by ZMServer::getFrame(), initMonitor(), and isValid().

◆ m_lastRead

int MONITOR::m_lastRead {0}

Definition at line 287 of file zmserver.h.

Referenced by ZMServer::getFrame().

◆ m_status

std::string MONITOR::m_status {}

Definition at line 288 of file zmserver.h.

Referenced by ZMServer::getFrame(), ZMServer::handleGetLiveFrame(), and initMonitor().

◆ m_palette

int MONITOR::m_palette {0}

Definition at line 289 of file zmserver.h.

◆ m_controllable

int MONITOR::m_controllable {0}

Definition at line 290 of file zmserver.h.

Referenced by ZMServer::zmaControl().

◆ m_trackMotion

int MONITOR::m_trackMotion {0}

Definition at line 291 of file zmserver.h.

Referenced by ZMServer::zmaControl().

◆ m_mapFile

int MONITOR::m_mapFile {-1}

Definition at line 292 of file zmserver.h.

Referenced by initMonitor().

◆ m_shmPtr

void* MONITOR::m_shmPtr {nullptr}

Definition at line 293 of file zmserver.h.

Referenced by initMonitor().

◆ m_sharedData

SharedData* MONITOR::m_sharedData {nullptr}
private

◆ m_sharedData26

SharedData26* MONITOR::m_sharedData26 {nullptr}
private

◆ m_sharedData32

SharedData32* MONITOR::m_sharedData32 {nullptr}
private

◆ m_sharedData34

SharedData34* MONITOR::m_sharedData34 {nullptr}
private

◆ m_id

std::string MONITOR::m_id {}
private

Definition at line 299 of file zmserver.h.

Referenced by getIdStr().


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