|
| CStereoscopicsManager () |
|
void | Initialize () |
|
RENDER_STEREO_MODE | GetStereoMode (void) const |
|
std::string | DetectStereoModeByString (const std::string &needle) const |
|
std::string | GetLabelForStereoMode (const RENDER_STEREO_MODE &mode) const |
|
void | SetStereoMode (const RENDER_STEREO_MODE &mode) |
|
void | OnSettingChanged (const std::shared_ptr< const CSetting > &setting) override |
| The value of the given setting has changed. More...
|
|
void | OnStreamChange () |
|
bool | OnMessage (CGUIMessage &message) override |
|
bool | OnAction (const CAction &action) |
| Handle 3D specific cActions. More...
|
|
virtual bool | OnSettingChanging (const std::shared_ptr< const CSetting > &setting) |
| The value of the given setting is being changed. More...
|
|
virtual void | OnSettingAction (const std::shared_ptr< const CSetting > &setting) |
| The given setting has been activated. More...
|
|
virtual bool | OnSettingUpdate (const std::shared_ptr< CSetting > &setting, const char *oldSettingId, const TiXmlNode *oldSettingNode) |
| The given setting needs to be updated. More...
|
|
virtual void | OnSettingPropertyChanged (const std::shared_ptr< const CSetting > &setting, const char *propertyName) |
| The given property of the given setting has changed. More...
|
|
|
static const char * | ConvertGuiStereoModeToString (const RENDER_STEREO_MODE &mode) |
|
static CAction | ConvertActionCommandToAction (const std::string &command, const std::string ¶meter) |
| Converts a stereoscopics related action/command from Builtins and JsonRPC into the according cAction ID. More...
|
|
static std::string | NormalizeStereoMode (const std::string &mode) |
|
◆ CStereoscopicsManager()
CStereoscopicsManager::CStereoscopicsManager |
( |
| ) |
|
- Todo:
- Move this to Initialize() to avoid potential problems in ctor
◆ ConvertActionCommandToAction()
CAction CStereoscopicsManager::ConvertActionCommandToAction |
( |
const std::string & |
command, |
|
|
const std::string & |
parameter |
|
) |
| |
|
static |
Converts a stereoscopics related action/command from Builtins and JsonRPC into the according cAction ID.
- Parameters
-
command | The command/action |
parameter | The parameter of the command |
- Returns
- The integer of the according cAction or -1 if not valid
◆ OnAction()
bool CStereoscopicsManager::OnAction |
( |
const CAction & |
action | ) |
|
Handle 3D specific cActions.
- Parameters
-
action | The action to process |
- Returns
- True if action could be handled, false otherwise.
◆ OnSettingChanged()
void CStereoscopicsManager::OnSettingChanged |
( |
const std::shared_ptr< const CSetting > & |
setting | ) |
|
|
overridevirtual |
The value of the given setting has changed.
This callback is triggered whenever the value of a setting has been successfully changed (i.e. none of the OnSettingChanging() handlers) has reverted the change.
- Parameters
-
setting | The setting whose value has been changed |
Reimplemented from ISettingCallback.
The documentation for this class was generated from the following files: