#include <DeviceInterfaceI.h>
Inheritance diagram for DeviceInterfaceI:
Public Methods | |
virtual PluginClass::SuperClassIdC | get_super_class_id () const=0 |
Returns super class ID. | |
virtual PluginClass::ClassIdC | get_class_id () const=0 |
Returns class ID. | |
virtual const char * | get_class_name ()=0 |
Returns device's class name as NULL terminated string. | |
virtual bool | get_exclusive () const |
Returns true if device is exclusive. | |
virtual PajaTypes::uint32 | get_state () const |
Returns device state,
| |
virtual void | set_state (PajaTypes::uint32 ui32State) |
Sets device state,
| |
virtual PajaSystem::DeviceInterfaceI * | query_interface (const PluginClass::SuperClassIdC &rSuperClassId) |
Extends device functionality, default implementation returns NULL. | |
virtual PajaTypes::uint32 | save (FileIO::SaveC *pSave)=0 |
Serialize device settings to a Demopaja output stream. | |
virtual PajaTypes::uint32 | load (FileIO::LoadC *pLoad)=0 |
Serialize device settings from a Demopaja input stream. | |
Protected Methods | |
DeviceInterfaceI () | |
Default constructor. | |
virtual | ~DeviceInterfaceI () |
Default destructor. | |
Protected Attributes | |
PajaTypes::uint32 | m_ui32State |
Device interface is the base class interface for all devices the effects in Demopaja system can use.
|
Default constructor.
|
|
Default destructor.
|
|
Returns class ID.
Implemented in OpenGLBufferC, and OpenGLViewportC. |
|
Returns device's class name as NULL terminated string.
Implemented in OpenGLBufferC, and OpenGLViewportC. |
|
Returns true if device is exclusive. Exclusive device means that there can be only one device of this superclass in the device context. Default implementation returns false. Reimplemented in GraphicsDeviceI. |
|
Returns device state,
|
|
Returns super class ID.
Implemented in GraphicsBufferI, GraphicsDeviceI, GraphicsViewportI, and GUIDrawInterfaceI. |
|
Serialize device settings from a Demopaja input stream.
Implemented in GraphicsBufferI, GraphicsViewportI, and GUIDrawInterfaceI. |
|
Extends device functionality, default implementation returns NULL.
Reimplemented in OpenGLBufferC. |
|
Serialize device settings to a Demopaja output stream.
Implemented in GraphicsBufferI, GraphicsViewportI, and GUIDrawInterfaceI. |
|
Sets device state,
|