Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
ActiveAE::CActiveAEControlProtocol Class Reference

#include <ActiveAE.h>

Inheritance diagram for ActiveAE::CActiveAEControlProtocol:
Actor::Protocol

Public Types

enum  OutSignal {
  INIT = 0 , RECONFIGURE , SUSPEND , DEVICECHANGE ,
  DEVICECOUNTCHANGE , MUTE , VOLUME , PAUSESTREAM ,
  RESUMESTREAM , FLUSHSTREAM , STREAMRGAIN , STREAMVOLUME ,
  STREAMAMP , STREAMRESAMPLERATIO , STREAMRESAMPLEMODE , STREAMFADE ,
  STREAMFFMPEGINFO , STOPSOUND , GETSTATE , DISPLAYLOST ,
  DISPLAYRESET , APPFOCUSED , KEEPCONFIG , TIMEOUT
}
 
enum  InSignal { ACC , ERR , STATS }
 

Public Member Functions

 CActiveAEControlProtocol (std::string name, CEvent *inEvent, CEvent *outEvent)
 
- Public Member Functions inherited from Actor::Protocol
 Protocol (std::string name, CEvent *inEvent, CEvent *outEvent)
 
 Protocol (std::string name)
 
 ~Protocol ()
 
MessageGetMessage ()
 
void ReturnMessage (Message *msg)
 
bool SendOutMessage (int signal, const void *data=nullptr, size_t size=0, Message *outMsg=nullptr)
 
bool SendOutMessage (int signal, CPayloadWrapBase *payload, Message *outMsg=nullptr)
 
bool SendInMessage (int signal, const void *data=nullptr, size_t size=0, Message *outMsg=nullptr)
 
bool SendInMessage (int signal, CPayloadWrapBase *payload, Message *outMsg=nullptr)
 
bool SendOutMessageSync (int signal, Message **retMsg, std::chrono::milliseconds timeout, const void *data=nullptr, size_t size=0)
 
bool SendOutMessageSync (int signal, Message **retMsg, std::chrono::milliseconds timeout, CPayloadWrapBase *payload)
 
bool ReceiveOutMessage (Message **msg)
 
bool ReceiveInMessage (Message **msg)
 
void Purge ()
 
void PurgeIn (int signal)
 
void PurgeOut (int signal)
 
void DeferIn (bool value)
 
void DeferOut (bool value)
 
void Lock ()
 
void Unlock ()
 

Additional Inherited Members

- Public Attributes inherited from Actor::Protocol
std::string portName
 
- Protected Attributes inherited from Actor::Protocol
CEventcontainerInEvent
 
CEventcontainerOutEvent
 
CCriticalSection criticalSection
 
std::queue< Message * > outMessages
 
std::queue< Message * > inMessages
 
std::queue< Message * > freeMessageQueue
 
bool inDefered = false
 
bool outDefered = false
 

Member Enumeration Documentation

◆ InSignal

Enumerator
ACC 
ERR 
STATS 

◆ OutSignal

Enumerator
INIT 
RECONFIGURE 
SUSPEND 
DEVICECHANGE 
DEVICECOUNTCHANGE 
MUTE 
VOLUME 
PAUSESTREAM 
RESUMESTREAM 
FLUSHSTREAM 
STREAMRGAIN 
STREAMVOLUME 
STREAMAMP 
STREAMRESAMPLERATIO 
STREAMRESAMPLEMODE 
STREAMFADE 
STREAMFFMPEGINFO 
STOPSOUND 
GETSTATE 
DISPLAYLOST 
DISPLAYRESET 
APPFOCUSED 
KEEPCONFIG 
TIMEOUT 

Constructor & Destructor Documentation

◆ CActiveAEControlProtocol()

ActiveAE::CActiveAEControlProtocol::CActiveAEControlProtocol ( std::string name,
CEvent * inEvent,
CEvent * outEvent )
inline

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