Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
CIrssMessage Class Reference

#include <IrssMessage.h>

Public Member Functions

 CIrssMessage ()
 
 CIrssMessage (IRSS_MessageType type, uint32_t flags)
 
 CIrssMessage (IRSS_MessageType type, uint32_t flags, char *data, int size)
 
 CIrssMessage (IRSS_MessageType type, uint32_t flags, const std::string &data)
 
 ~CIrssMessage ()
 
void SetDataAsBytes (char *data, int size)
 
void SetDataAsString (const std::string &data)
 
char * ToBytes (int &size)
 
void SetType (IRSS_MessageType type)
 
void SetFlags (uint32_t flags)
 
IRSS_MessageType GetType ()
 
uint32_t GetFlags ()
 
char * GetData ()
 
uint32_t GetDataSize ()
 

Static Public Member Functions

static bool FromBytes (char *from, int size, CIrssMessage &message)
 

Constructor & Destructor Documentation

◆ CIrssMessage() [1/4]

CIrssMessage::CIrssMessage ( )

◆ CIrssMessage() [2/4]

CIrssMessage::CIrssMessage ( IRSS_MessageType  type,
uint32_t  flags 
)

◆ CIrssMessage() [3/4]

CIrssMessage::CIrssMessage ( IRSS_MessageType  type,
uint32_t  flags,
char *  data,
int  size 
)

◆ CIrssMessage() [4/4]

CIrssMessage::CIrssMessage ( IRSS_MessageType  type,
uint32_t  flags,
const std::string &  data 
)

◆ ~CIrssMessage()

CIrssMessage::~CIrssMessage ( )

Member Function Documentation

◆ FromBytes()

bool CIrssMessage::FromBytes ( char *  from,
int  size,
CIrssMessage message 
)
static

◆ GetData()

char * CIrssMessage::GetData ( )
inline

◆ GetDataSize()

uint32_t CIrssMessage::GetDataSize ( )
inline

◆ GetFlags()

uint32_t CIrssMessage::GetFlags ( )
inline

◆ GetType()

IRSS_MessageType CIrssMessage::GetType ( )
inline

◆ SetDataAsBytes()

void CIrssMessage::SetDataAsBytes ( char *  data,
int  size 
)

◆ SetDataAsString()

void CIrssMessage::SetDataAsString ( const std::string &  data)

◆ SetFlags()

void CIrssMessage::SetFlags ( uint32_t  flags)

◆ SetType()

void CIrssMessage::SetType ( IRSS_MessageType  type)

◆ ToBytes()

char * CIrssMessage::ToBytes ( int &  size)

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