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 string &mmapPath, int shmKey)
 
bool isValid (void)
 
string getIdStr (void)
 
int getLastWriteIndex (void)
 
int getSubpixelOrder (void)
 
int getState (void)
 
int getFrameSize (void)
 

Public Attributes

string m_name {""}
 
string m_type {""}
 
string m_function {""}
 
int m_enabled {0}
 
string m_device {""}
 
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}
 
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}
 
string m_id {""}
 

Detailed Description

Definition at line 199 of file zmserver.h.

Constructor & Destructor Documentation

◆ MONITOR()

MONITOR::MONITOR ( )
default

Member Function Documentation

◆ initMonitor()

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

Definition at line 238 of file zmserver.cpp.

◆ isValid()

bool MONITOR::isValid ( void  )

Definition at line 392 of file zmserver.cpp.

Referenced by ZMServer::handleGetLiveFrame().

◆ getIdStr()

string MONITOR::getIdStr ( void  )

Definition at line 405 of file zmserver.cpp.

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

◆ getLastWriteIndex()

int MONITOR::getLastWriteIndex ( void  )

Definition at line 416 of file zmserver.cpp.

Referenced by ZMServer::getFrame().

◆ getSubpixelOrder()

int MONITOR::getSubpixelOrder ( void  )

Definition at line 444 of file zmserver.cpp.

Referenced by ZMServer::getFrame().

◆ getState()

int MONITOR::getState ( void  )

Definition at line 430 of file zmserver.cpp.

Referenced by ZMServer::getFrame().

◆ getFrameSize()

int MONITOR::getFrameSize ( void  )

Definition at line 462 of file zmserver.cpp.

Referenced by ZMServer::getFrame().

Member Data Documentation

◆ m_name

string MONITOR::m_name {""}

Definition at line 214 of file zmserver.h.

◆ m_type

string MONITOR::m_type {""}

Definition at line 215 of file zmserver.h.

Referenced by ZMServer::zmcControl().

◆ m_function

string MONITOR::m_function {""}

Definition at line 216 of file zmserver.h.

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

◆ m_enabled

int MONITOR::m_enabled {0}

Definition at line 217 of file zmserver.h.

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

◆ m_device

string MONITOR::m_device {""}

Definition at line 218 of file zmserver.h.

Referenced by ZMServer::zmcControl().

◆ m_host

string MONITOR::m_host {""}

Definition at line 219 of file zmserver.h.

◆ m_imageBufferCount

int MONITOR::m_imageBufferCount {0}

Definition at line 220 of file zmserver.h.

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

◆ m_width

int MONITOR::m_width {0}

Definition at line 221 of file zmserver.h.

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

◆ m_height

int MONITOR::m_height {0}

Definition at line 222 of file zmserver.h.

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

◆ m_bytesPerPixel

int MONITOR::m_bytesPerPixel {3}

Definition at line 223 of file zmserver.h.

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

◆ m_monId

int MONITOR::m_monId {0}

Definition at line 224 of file zmserver.h.

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

◆ m_sharedImages

unsigned char* MONITOR::m_sharedImages {nullptr}

Definition at line 225 of file zmserver.h.

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

◆ m_lastRead

int MONITOR::m_lastRead {0}

Definition at line 226 of file zmserver.h.

Referenced by ZMServer::getFrame().

◆ m_status

string MONITOR::m_status {""}

Definition at line 227 of file zmserver.h.

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

◆ m_palette

int MONITOR::m_palette {0}

Definition at line 228 of file zmserver.h.

◆ m_controllable

int MONITOR::m_controllable {0}

Definition at line 229 of file zmserver.h.

Referenced by ZMServer::zmaControl().

◆ m_trackMotion

int MONITOR::m_trackMotion {0}

Definition at line 230 of file zmserver.h.

Referenced by ZMServer::zmaControl().

◆ m_mapFile

int MONITOR::m_mapFile {-1}

Definition at line 231 of file zmserver.h.

Referenced by initMonitor().

◆ m_shmPtr

void* MONITOR::m_shmPtr {nullptr}

Definition at line 232 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_id

string MONITOR::m_id {""}
private

Definition at line 237 of file zmserver.h.

Referenced by getIdStr().


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