MythTV  master
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
BiopMessage Class Reference

#include <dsmccbiop.h>

Collaboration diagram for BiopMessage:
Collaboration graph
[legend]

Public Member Functions

 BiopMessage ()=default
 
 ~BiopMessage ()
 
bool Process (DSMCCCacheModuleData *cachep, DSMCCCache *cache, unsigned char *data, unsigned long *curp)
 

Public Attributes

char * m_objkind {nullptr}
 

Protected Member Functions

bool ProcessDir (bool isSrg, DSMCCCacheModuleData *cachep, DSMCCCache *cache, const unsigned char *data, unsigned long *curp)
 Process a Directory message. More...
 
bool ProcessFile (DSMCCCacheModuleData *cachep, DSMCCCache *cache, unsigned char *data, unsigned long *curp)
 
bool ProcessMsgHdr (const unsigned char *data, unsigned long *curp)
 

Protected Attributes

unsigned char m_version_major {0}
 
unsigned char m_version_minor {0}
 
unsigned int m_message_size {0}
 
DSMCCCacheKey m_objkey
 
unsigned long m_objkind_len {0}
 
unsigned int m_objinfo_len {0}
 
char * m_objinfo {nullptr}
 

Detailed Description

Definition at line 167 of file dsmccbiop.h.

Constructor & Destructor Documentation

◆ BiopMessage()

BiopMessage::BiopMessage ( )
default

◆ ~BiopMessage()

BiopMessage::~BiopMessage ( )

Definition at line 145 of file dsmccbiop.cpp.

Member Function Documentation

◆ Process()

bool BiopMessage::Process ( DSMCCCacheModuleData cachep,
DSMCCCache cache,
unsigned char *  data,
unsigned long *  curp 
)

Definition at line 108 of file dsmccbiop.cpp.

Referenced by ObjCarousel::AddModuleData().

◆ ProcessDir()

bool BiopMessage::ProcessDir ( bool  isSrg,
DSMCCCacheModuleData cachep,
DSMCCCache cache,
const unsigned char *  data,
unsigned long *  curp 
)
protected

Process a Directory message.

This gives the directories and files that form part of this directory. This is also used for service gateways which identify a root of the directory structure and is very similar to a Directory message. We only know which is THE root of the hierarchy when we have a DSI message.

Definition at line 215 of file dsmccbiop.cpp.

Referenced by Process().

◆ ProcessFile()

bool BiopMessage::ProcessFile ( DSMCCCacheModuleData cachep,
DSMCCCache cache,
unsigned char *  data,
unsigned long *  curp 
)
protected

Definition at line 283 of file dsmccbiop.cpp.

Referenced by Process().

◆ ProcessMsgHdr()

bool BiopMessage::ProcessMsgHdr ( const unsigned char *  data,
unsigned long *  curp 
)
protected

Definition at line 151 of file dsmccbiop.cpp.

Referenced by Process().

Member Data Documentation

◆ m_version_major

unsigned char BiopMessage::m_version_major {0}
protected

Definition at line 188 of file dsmccbiop.h.

Referenced by ProcessMsgHdr().

◆ m_version_minor

unsigned char BiopMessage::m_version_minor {0}
protected

Definition at line 189 of file dsmccbiop.h.

Referenced by ProcessMsgHdr().

◆ m_message_size

unsigned int BiopMessage::m_message_size {0}
protected

Definition at line 190 of file dsmccbiop.h.

Referenced by ProcessMsgHdr().

◆ m_objkey

DSMCCCacheKey BiopMessage::m_objkey
protected

Definition at line 191 of file dsmccbiop.h.

Referenced by ProcessDir(), ProcessFile(), and ProcessMsgHdr().

◆ m_objkind_len

unsigned long BiopMessage::m_objkind_len {0}
protected

Definition at line 192 of file dsmccbiop.h.

Referenced by ProcessMsgHdr().

◆ m_objinfo_len

unsigned int BiopMessage::m_objinfo_len {0}
protected

Definition at line 193 of file dsmccbiop.h.

Referenced by ProcessDir(), ProcessFile(), and ProcessMsgHdr().

◆ m_objinfo

char* BiopMessage::m_objinfo {nullptr}
protected

Definition at line 194 of file dsmccbiop.h.

Referenced by ProcessMsgHdr(), and ~BiopMessage().

◆ m_objkind

char* BiopMessage::m_objkind {nullptr}

Definition at line 197 of file dsmccbiop.h.

Referenced by Process(), ProcessMsgHdr(), and ~BiopMessage().


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