C3D Toolkit
Kernel - 117982, Vision - 2.9.2.2
|
CommandContainer class gives the user an opportunity to define an action set, that the user needs to use in his application. More...
#include <vsn_commandcontainer.h>
Public Member Functions | |
CommandContainer (Node *pParent=nullptr) | |
Default constructor. | |
virtual | ~CommandContainer () |
Destructor. | |
ObjectVector< Command * > | GetCommands () const |
Returs action list. | |
void | AddCommand (Command *pCommand) |
Adds action to action list. | |
void | RemoveCommand (Command *pCommand) |
Removes action from action list. | |
ObjectVector< Coordinate * > | GetCoordinates () const |
Returns coordinate list. | |
void | AddCoordinate (Coordinate *pCoordinate) |
Adds coordinate to coordinate list. | |
void | RemoveCoordinate (Coordinate *pCoordinate) |
Removes coordinate from coordinate list. | |
Public Member Functions inherited from VSN::Feature | |
Feature (Node *pParent=nullptr) | |
Constructor. | |
Feature (const NodeKey &key, const String &name) | |
Constructor with name and unique key. | |
virtual | ~Feature () |
Destructor. | |
bool | IsShareable () const |
Returns flag value. Component can be common for several essences. | |
const ObjectVector< Essence * > & | GetEssences () const |
Returns vector containing all essences with reference to the Feature. | |
Public Member Functions inherited from VSN::Node | |
Node (Node *pParent=nullptr) | |
Constructor with parent. | |
virtual | ~Node () |
Destructor. | |
NodeKey | GetUniqueKey () const |
Returns key identifing Node instance. | |
void | SetUniqueKey (const NodeKey &key) |
Sets the unique key for the instance. | |
NodeKey | GetCustomKey () const |
Returns custom key identifing Node instance. | |
void | SetCustomKey (const NodeKey &key) |
Sets the custom unique key for the instance. | |
Node * | GetParentNode () const |
Returns pointer to the parent object or nullptr if no parent. | |
bool | IsEnabled () const |
Returns the Node enabled flag. By default, the flag is always on. | |
ObjectList< Node * > | GetChildNodes () const |
Return an array of child nodes for this node. | |
void | SetParent (Node *pParent) |
Sets parent object to the object. | |
bool | IsNotificationsBlocked () const |
True if notifications are blocked, otherwise, False. | |
bool | SetBlockNotifications (bool block) |
Sets blocking of notifications and returns the previous blocking value. | |
Public Member Functions inherited from VSN::Object | |
Object (Object *pParent=nullptr) | |
Default constructor. More... | |
virtual | ~Object () |
Destructor. | |
void | SetParent (Object *pParent) |
NO TRANSLATION. | |
Mutex * | GetMutex () |
Object mutex. | |
String | GetObjectName () const |
Returns name. | |
void | SetObjectName (const String &name) |
Sets name. | |
bool | IsControlType () const |
TRANSLATION. | |
Object * | GetParent () const |
NO TRANSLATION. | |
Variant | GetProperty (const String &name) const |
NO TRANSLATION. | |
bool | IsSignalsBlocked () const |
NO TRANSLATION. | |
bool | SetBlockSignals (bool bBlock) |
NO TRANSLATION. | |
void | AddEventListener (Object *pObject) |
NO TRANSLATION. | |
void | RemoveEventListener (Object *pObject) |
NO TRANSLATION. | |
Object * | GetSender () const |
NO TRANSLATION. | |
Thread * | GetThread () const |
NO TRANSLATION. | |
void | BindWithThread (Thread *thread) |
NO TRANSLATION. | |
int | StartTimer (int interval, TimerType timerType=tt_CoarseTimer) |
NO TRANSLATION. | |
void | KillTimer (int id) |
NO TRANSLATION. | |
const ObjectList< Object * > & | GetChildren () const |
NO TRANSLATION. | |
template<typename T > | |
T | FindChild (const String &objName=String()) const |
NO TRANSLATION. | |
template<typename T > | |
ObjectList< T > | FindChildren (const String &objName=String(), VSN::ChildFindingPolicies policies=VSN::FindAllNestedChildren) const |
NO TRANSLATION. | |
Public Member Functions inherited from VSN::BasicObject | |
BasicObject () | |
Default constructor. | |
virtual | ~BasicObject () |
Destructor. | |
Additional Inherited Members | |
Protected Member Functions inherited from VSN::Feature | |
Feature (FeaturePrivate &dd, Node *parent=nullptr) | |
Private construŃtor for inheritors. | |
Protected Member Functions inherited from VSN::Node | |
Node (NodePrivate &dd, Node *pParent) | |
Sets the node enable flag. More... | |
virtual void | SceneModificationEvent (const std::shared_ptr< SceneModification > &modification) |
The function is called in case of scene being modified. | |
CommandContainer class gives the user an opportunity to define an action set, that the user needs to use in his application.