#include <TemplateActor.h>
Inherits VizKit::VisualActor.

Public Member Functions | |
| TemplateActor () | |
| ~TemplateActor () | |
| virtual void | init (void) |
| virtual void | show (const VisualPlayerState &visualPlayerState) |
| virtual void | handleNotification (VisualNotification &aNotification) |
| void | handleSimilarArtistsStringCompleted () |
Private Member Functions | |
| void | createStringOfSimilarArtists (void) |
| void | setStringOfSimilarArtists (const VisualString &similarArtists) |
Private Attributes | |
| TemplateAction * | theTemplateAction |
| VisualItemIdentifier | similarArtistsStringRequestId |
| VisualImage | similarArtistsStringImage |
| VisualString * | stringOfSimilarArtists |
| std::vector< VisualString > | similarArtistsStringVector |
| bool | similarArtistsStringCreationInProgress |
| VisualItemIdentifier | similarArtistsCurrentTrackIdentifier |
A template of a VisualActor. A copy of header and implementation file can be made to create a new concrete subclass of VisualActor.
| TemplateActor::TemplateActor | ( | ) |
The constructor.
| TemplateActor::~TemplateActor | ( | ) |
The destructor.
| void TemplateActor::createStringOfSimilarArtists | ( | void | ) | [private] |
Initiates the creation of the string of similar artists by using URL request.
| void TemplateActor::handleNotification | ( | VisualNotification & | aNotification | ) | [virtual] |
The actor receives a notification about an event that occured.
| aNotification | The notification passed in. |
Reimplemented from VizKit::VisualActor.
| void TemplateActor::handleSimilarArtistsStringCompleted | ( | ) |
Notification call when string data is completely loaded and constructed.
| void TemplateActor::init | ( | void | ) | [virtual] |
Initialization.
Reimplemented from VizKit::VisualActor.
| void TemplateActor::setStringOfSimilarArtists | ( | const VisualString & | similarArtists | ) | [private] |
Sets the similar artists and creates the bitmap image of the string.
| similarArtists | String with similar artists. |
| void TemplateActor::show | ( | const VisualPlayerState & | visualPlayerState | ) | [virtual] |
Performs the show of the template.
| visualPlayerState | Read-only access to the VisualPlayerState. |
Reimplemented from VizKit::VisualActor.
Identifier of the current audio track for which simolar artists are queried.
True if similar artists string is currently created.
Identifier for string request.
std::vector<VisualString> VizKit::TemplateActor::similarArtistsStringVector [private] |
Vector with lines of similar artists.
A pointer to the template action.