Ginga  0.13.6
 All Classes Namespaces Functions Variables
Public Member Functions | Protected Member Functions | List of all members
br::pucrio::telemidia::ginga::core::player::PlainTxtPlayer Class Reference
Inheritance diagram for br::pucrio::telemidia::ginga::core::player::PlainTxtPlayer:
Inheritance graph
[legend]
Collaboration diagram for br::pucrio::telemidia::ginga::core::player::PlainTxtPlayer:
Collaboration graph
[legend]

Public Member Functions

 PlainTxtPlayer (GingaScreenID screenId, string mrl)
 
bool play ()
 
void stop ()
 
virtual void setPropertyValue (string name, string value)
 
- Public Member Functions inherited from br::pucrio::telemidia::ginga::core::player::TextPlayer
 TextPlayer (GingaScreenID screenId)
 
virtual void abort ()
 
virtual void pause ()
 
virtual void resume ()
 
bool setFont (string someUri)
 
void setFontSize (int size)
 
int getFontSize ()
 
int getFontHeight ()
 
void setBgColor (int red, int green, int blue, int alpha=255)
 
void setColor (int red, int green, int blue, int alpha=255)
 
void setTabSize (int size)
 
int getTabSize ()
 
void drawText (string text, short align)
 
bool drawTextLn (string text, short align)
 
void tab ()
 
bool breakLine ()
 
int getCurrentColumn ()
 
int getCurrentLine ()
 
- Public Member Functions inherited from br::pucrio::telemidia::ginga::core::player::Player
 Player (GingaScreenID screenId, string mrl)
 
virtual void flip ()
 
virtual void setMrl (string mrl, bool visible=true)
 
virtual void reset ()
 
virtual void rebase ()
 
virtual void setNotifyContentUpdate (bool notify)
 
virtual void addListener (IPlayerListener *listener)
 
void removeListener (IPlayerListener *listener)
 
void notifyPlayerListeners (short code, string parameter="", short type=TYPE_PRESENTATION, string value="")
 
virtual void setSurface (ISurface *surface)
 
virtual ISurface * getSurface ()
 
virtual void setMediaTime (double newTime)
 
virtual int64_t getVPts ()
 
double getMediaTime ()
 
virtual double getTotalMediaTime ()
 
virtual bool setKeyHandler (bool isHandler)
 
virtual void setScope (string scope, short type=TYPE_PRESENTATION, double begin=-1, double end=-1, double outTransDur=-1)
 
virtual string getPropertyValue (string name)
 
virtual void setReferenceTimePlayer (IPlayer *player)
 
void addTimeReferPlayer (IPlayer *referPlayer)
 
void removeTimeReferPlayer (IPlayer *referPlayer)
 
void notifyReferPlayers (int transition)
 
void timebaseObjectTransitionCallback (int transition)
 
void setTimeBasePlayer (IPlayer *timeBasePlayer)
 
virtual bool hasPresented ()
 
void setPresented (bool presented)
 
bool isVisible ()
 
void setVisible (bool visible)
 
bool immediatelyStart ()
 
void setImmediatelyStart (bool immediatelyStartVal)
 
void forceNaturalEnd (bool forceIt)
 
bool isForcedNaturalEnd ()
 
virtual bool setOutWindow (GingaWindowID windowId)
 
virtual IPlayergetSelectedPlayer ()
 
virtual void setPlayerMap (map< string, IPlayer * > *objs)
 
virtual map< string, IPlayer * > * getPlayerMap ()
 
virtual IPlayergetPlayer (string objectId)
 
virtual void select (IPlayer *selObject)
 
virtual void setCurrentScope (string scopeId)
 
virtual void timeShift (string direction)
 

Protected Member Functions

void setFile (string mrl)
 
- Protected Member Functions inherited from br::pucrio::telemidia::ginga::core::player::Player
void checkScopeTime ()
 

Additional Inherited Members

- Static Public Member Functions inherited from br::pucrio::telemidia::ginga::core::player::TextPlayer
static int write (GingaScreenID screenId, ISurface *s, string text, short textAlign, string fontUri="", int fontSize=12, IColor *fontColor=NULL)
 
- Static Public Attributes inherited from br::pucrio::telemidia::ginga::core::player::IPlayer
static const short PL_NOTIFY_START = 1
 
static const short PL_NOTIFY_PAUSE = 2
 
static const short PL_NOTIFY_RESUME = 3
 
static const short PL_NOTIFY_STOP = 4
 
static const short PL_NOTIFY_ABORT = 5
 
static const short PL_NOTIFY_NCLEDIT = 6
 
static const short PL_NOTIFY_UPDATECONTENT = 7
 
static const short PL_NOTIFY_OUTTRANS = 8
 
static const short TYPE_PRESENTATION = 10
 
static const short TYPE_ATTRIBUTION = 11
 
static const short TYPE_SIGNAL = 12
 
static const short TYPE_PASSIVEDEVICE = 13
 
static const short TYPE_SELECTION = 14
 
- Protected Attributes inherited from br::pucrio::telemidia::ginga::core::player::TextPlayer
int fontHeight
 
int currentLine
 
int currentColumn
 
int tabSize
 
int fontSize
 
IColorfontColor
 
IColorbgColor
 
string fontUri
 
short currentAlign
 
IFontProvider * font
 
- Protected Attributes inherited from br::pucrio::telemidia::ginga::core::player::Player
GingaScreenID myScreen
 
short status
 
string mrl
 
ISurface * surface
 
IWindow * outputWindow
 
double initTime
 
double elapsedTime
 
double elapsedPause
 
double pauseTime
 
set< IPlayer * > referredPlayers
 
IPlayertimeBasePlayer
 
bool presented
 
bool visible
 
bool immediatelyStartVar
 
bool forcedNaturalEnd
 
bool notifyContentUpdate
 
string scope
 
short scopeType
 
double scopeInitTime
 
double scopeEndTime
 
double outTransTime
 
- Static Protected Attributes inherited from br::pucrio::telemidia::ginga::core::player::Player
static const short NONE = 0
 
static const short PLAY = 1
 
static const short PAUSE = 2
 
static const short STOP = 3
 
static ILocalScreenManager * dm = NULL
 

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