Profile Class Reference

This class is used to store user-profiles. More...

#include <Profile.hpp>

List of all members.


Public Member Functions

 Profile (uint profileId, uint uidCount, uint *userIds, char profilename[], uint width, uint height, uint bitsPerPixel, uint netkBps, uint bufferingDelay, bool color, uint refreshRate)
 default constructor
 ~Profile ()
 default destructor
uint getProfileId ()
uint * getUserIds ()
char * getProfileName ()
uint getWidth ()
uint getHeight ()
uint getBitsPerPixel ()
uint getNetkBps ()
uint getBufferingDelayms ()
bool isColorCapable ()
uint getRefreshRate ()

Detailed Description

This class is used to store user-profiles.

Author:
Klaus Schoeffmann

Definition at line 70 of file Profile.hpp.


Member Function Documentation

uint Profile::getBitsPerPixel  ) 
 

Returns:
preferred bits per pixel
Definition at line 117 of file Profile.cpp.
00118 { 00119 return bitsPerPixel; 00120 }

uint Profile::getBufferingDelayms  ) 
 

Returns:
buffering-delay to subtract, when using this profile
Definition at line 129 of file Profile.cpp.

Referenced by SemiProxySession::handlePlayResponse(), and SemiProxySession::play().

00130 { 00131 return bufferingDelay; 00132 }

uint Profile::getHeight  ) 
 

Returns:
preferred height of movie
Definition at line 111 of file Profile.cpp.

Referenced by MovieList::getHTMLRepresentation(), and SessionList::writeHTMLRepresentation().

00112 { 00113 return height; 00114 }

uint Profile::getNetkBps  ) 
 

Returns:
preferred network kilo bytes per second
Definition at line 123 of file Profile.cpp.
00124 { 00125 return netkBps; 00126 }

uint Profile::getProfileId  ) 
 

Returns:
id of profile
Definition at line 87 of file Profile.cpp.

Referenced by MovieList::getHTMLRepresentation(), ProfileList::getProfileById(), and SessionList::writeHTMLRepresentation().

00088 { 00089 return profileId; 00090 }

char * Profile::getProfileName  ) 
 

Returns:
name of profile
Definition at line 99 of file Profile.cpp.
00100 { 00101 return profilename; 00102 }

uint Profile::getRefreshRate  ) 
 

Returns:
preferred refresh-rate
Definition at line 141 of file Profile.cpp.
00142 { 00143 return refreshRate; 00144 }

uint * Profile::getUserIds  ) 
 

Returns:
list of users, to which this profile can be applied
Definition at line 93 of file Profile.cpp.
00094 { 00095 return userIds; 00096 }

uint Profile::getWidth  ) 
 

Returns:
preferred width of movie
Definition at line 105 of file Profile.cpp.

Referenced by MovieList::getHTMLRepresentation(), and SessionList::writeHTMLRepresentation().

00106 { 00107 return width; 00108 }

bool Profile::isColorCapable  ) 
 

Returns:
flag, if movie should be colored or only grayscaled
Definition at line 135 of file Profile.cpp.
00136 { 00137 return color; 00138 }


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