Detailed Description
This class represents the plug-in context for the Graphic
Sequencer (CGraphicSequencer).
- See also:
-
Context,
CGraphicSequencer
- Since:
- 4.0
#include <xsi_graphicsequencercontext.h>
List
of all members.
Constructor & Destructor Documentation
Constructor.
- Parameters:
-
in_ref |
constant reference object. |
Copy constructor.
- Parameters:
-
in_obj |
constant class object. |
Member Function Documentation
bool IsA |
( |
siClassID |
in_ClassID |
) |
const [virtual] |
Returns true if a given class type is compatible with this API
class.
- Parameters:
-
- Returns:
- true if the class is compatible, false otherwise.
Reimplemented from CBase.
Returns the type of the API class.
- Returns:
- The class type.
Implements CBase.
Creates an object from another object.
- Parameters:
-
in_obj |
constant class object. |
- Returns:
- The new
Context object.
Creates an object from a reference object. The newly created
object is set to empty if the input reference object is not
compatible.
- Parameters:
-
in_ref |
constant class object. |
- Returns:
- The new
Context object.
Returns the user data stored in the context.
- Warning:
- This function is not implemented.
- Returns:
- The raw user data.
Allows you to store a
CValue inside the context object. This is called User
Data because XSI does not care about the content or
meaning of the data. This information is not persisted. A common
use for this feature is to store a pointer to a newly allocated C++
object during an Init
callback,and then to use
Context::GetUserData
to retrieve the pointer when other callbacks are made.
- Warning:
- This function is not implemented.
- Note:
- In the case of storing a pointer in the
Init
callback, the pointer should be destroyed in the Term
callback.
- Parameters:
-
in_val |
User data to be set for the operator instance. |
- Returns:
-
CStatus::OK success
-
CStatus::Fail failure.
Sets a single attribute value on the context. This is a way to
pass additional information or capability to Softimage. Supported
attributes are documented along with the cb_graphicsequencer
Graphic Sequencer callbacks of each
PluginItem. If the attribute does not exist it is added;
otherwise the existing value is replaced by the new value.
- Parameters:
-
in_AttributeName |
The name of the attribute to set. |
in_val |
The attribute value to set. |
- Returns:
-
CStatus::OK
-
CStatus::Fail
- Since:
- 9.0 (2011)
Returns an attribute on the context. Attributes are used to
provide additional context information or capability. Supported
attributes, if any, are documented along with the
cb_graphicsequencer Graphic Sequencer callbacks of each
PluginItem.
- Parameters:
-
in_AttributeName |
The name of the attribute to get. |
- Returns:
- The attribute value.
- Since:
- 9.0 (2011)
The documentation for this class was generated from the following
file: