Ginga  0.13.6
 All Classes Namespaces Functions Variables
Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
br::pucrio::telemidia::ginga::ncl::multidevice::FormatterActiveDevice Class Reference
Inheritance diagram for br::pucrio::telemidia::ginga::ncl::multidevice::FormatterActiveDevice:
Inheritance graph
[legend]
Collaboration diagram for br::pucrio::telemidia::ginga::ncl::multidevice::FormatterActiveDevice:
Collaboration graph
[legend]

Public Member Functions

 FormatterActiveDevice (GingaScreenID screenId, IDeviceLayout *deviceLayout, int x, int y, int w, int h, bool useMulticast, int srvPort)
 
- Public Member Functions inherited from br::pucrio::telemidia::ginga::ncl::multidevice::FormatterMultiDevice
 FormatterMultiDevice (GingaScreenID screenId, IDeviceLayout *deviceLayout, int x, int y, int w, int h, bool useMulticast, int srvPort)
 
void printGingaWindows ()
 
void listenPlayer (IPlayer *player)
 
void stopListenPlayer (IPlayer *player)
 
void setParent (IFormatterMultiDevice *parent)
 
void setPresentationContex (IPresentationContext *presContext)
 
void setFocusManager (IFormatterFocusManager *focusManager)
 
void setBackgroundImage (string uri)
 
void * getMainLayout ()
 
void * getFormatterLayout (int devClass)
 
string getScreenShot ()
 
string serializeScreen (int devClass, IWindow *mapWindow)
 
FormatterLayout * getFormatterLayout (CascadingDescriptor *descriptor, ExecutionObject *object)
 
GingaWindowID prepareFormatterRegion (ExecutionObject *object, ISurface *renderedSurface)
 
void showObject (ExecutionObject *executionObject)
 
void hideObject (ExecutionObject *executionObject)
 
void addActiveUris (string baseUri, vector< string > *uris)
 
virtual void updatePassiveDevices ()
 

Static Public Attributes

static const unsigned int ADD_DOCUMENT = 10081
 
static const unsigned int REMOVE_DOCUMENT = 10082
 
static const unsigned int START_DOCUMENT = 10083
 
static const unsigned int STOP_DOCUMENT = 10084
 
static const unsigned int PAUSE_DOCUMENT = 10085
 
static const unsigned int RESUME_DOCUMENT = 10086
 
static const unsigned int SET_VAR = 10087
 
static const unsigned int SELECTION = 10088
 
static const unsigned int RCVBUFSIZE = 100
 
static const string IMG_DIR = SystemCompat::appendGingaFilesPrefix("md") + SystemCompat::getIUriD()
 
static const string IMG_DEV = "active-device.png"
 
static const string IMG_RESET = "active-device-reset.png"
 
static string TMP_DIR = SystemCompat::getTemporaryDir()
 

Protected Member Functions

bool newDeviceConnected (int newDevClass, int w, int h)
 
bool socketSend (TCPSocket *sock, string payload)
 
void connectedToBaseDevice (unsigned int domainAddr)
 
bool receiveRemoteEvent (int remoteDevClass, int eventType, string eventContent)
 
bool receiveRemoteContent (int remoteDevClass, char *stream, int streamSize)
 
bool receiveRemoteContent (int remoteDevClass, string contentUri)
 
bool receiveRemoteContentInfo (string contentId, string contentUri)
 
bool userEventReceived (IInputEvent *ev)
 
bool openDocument (string contentUri)
 
INCLPlayer * createNCLPlayer ()
 
NclPlayerDatacreateNclPlayerData ()
 
int getCommandCode (string *com)
 
void handleTCPClient (TCPSocket *sock)
 
bool handleTCPCommand (string sid, string snpt, string scommand, string spayload_desc, string payload)
 
- Protected Member Functions inherited from br::pucrio::telemidia::ginga::ncl::multidevice::FormatterMultiDevice
virtual void postMediaContent (int destDevClass)
 
void renderFromUri (IWindow *win, string uri)
 
void tapObject (int devClass, int x, int y)
 
void updateStatus (short code, string parameter, short type, string value)
 

Additional Inherited Members

- Protected Attributes inherited from br::pucrio::telemidia::ginga::ncl::multidevice::FormatterMultiDevice
IInputManager * im
 
pthread_mutex_t mutex
 
IDeviceLayout * deviceLayout
 
map< int, FormatterLayout * > layoutManager
 
vector< string > * activeUris
 
string activeBaseUri
 
FormatterLayout * mainLayout
 
IWindow * serialized
 
IWindow * printScreen
 
IWindow * bitMapScreen
 
int xOffset
 
int yOffset
 
int defaultWidth
 
int defaultHeight
 
int deviceClass
 
bool hasRemoteDevices
 
bool enableMulticast
 
IPresentationContext * presContext
 
IFormatterFocusManager * focusManager
 
FormatterMultiDeviceparent
 
GingaScreenID myScreen
 
set< IPlayer * > listening
 
pthread_mutex_t lMutex
 
- Static Protected Attributes inherited from br::pucrio::telemidia::ginga::ncl::multidevice::FormatterMultiDevice
static ILocalScreenManager * dm = NULL
 
static void * rdm = NULL
 
static const int DV_QVGA_WIDTH = 480
 
static const int DV_QVGA_HEIGHT = 320
 

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