本文整理汇总了C++中CKObjectDeclaration类的典型用法代码示例。如果您正苦于以下问题:C++ CKObjectDeclaration类的具体用法?C++ CKObjectDeclaration怎么用?C++ CKObjectDeclaration使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了CKObjectDeclaration类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: CreateCKObjectDeclaration
CKObjectDeclaration *FillBehaviorPlayFFEffectDecl()
{
CKObjectDeclaration *od = CreateCKObjectDeclaration("PlayFFEffect");
od->SetDescription("");
od->SetType( CKDLL_BEHAVIORPROTOTYPE);
od->SetGuid(CKGUID(0x54397475,0x4ca43e26));
od->SetAuthorGuid(VIRTOOLS_GUID);
od->SetAuthorName("Virtools");
od->SetVersion(0x00010000);
od->SetCreationFunction(CreatePlayFFEffectProto);
od->SetCompatibleClassId(CKCID_BEOBJECT);
od->SetCategory("Controllers/Joystick");
return od;
}
示例2: CreateCKObjectDeclaration
CKObjectDeclaration *FillBehaviorHasFFEffectsDecl()
{
CKObjectDeclaration *od = CreateCKObjectDeclaration("JHasForceFeedback");
od->SetDescription("");
od->SetType( CKDLL_BEHAVIORPROTOTYPE);
od->SetGuid(CKGUID(0x12641a78,0x7ca70c45));
od->SetAuthorGuid(VIRTOOLS_GUID);
od->SetAuthorName("Virtools");
od->SetVersion(0x00010000);
od->SetCreationFunction(CreateHasFFEffectsProto);
od->SetCompatibleClassId(CKCID_BEOBJECT);
od->SetCategory("Controllers/Joystick");
return od;
}
示例3: CreateCKObjectDeclaration
CKObjectDeclaration *FillBehaviorMidiEventDecl()
{
CKObjectDeclaration *od = CreateCKObjectDeclaration("Midi Event");
od->SetDescription("Gets a Midi event ON/OFF.");
od->SetCategory("Controllers/Midi");
od->SetType(CKDLL_BEHAVIORPROTOTYPE);
od->SetGuid(CKGUID(0x7c652f90,0x64404377));
od->SetAuthorGuid(VIRTOOLS_GUID);
od->SetAuthorName("Virtools");
od->SetVersion(0x00010000);
od->SetCreationFunction(CreateMidiEventBehaviorProto);
od->SetCompatibleClassId(CKCID_BEOBJECT);
return od;
}
示例4: CreateCKObjectDeclaration
CKObjectDeclaration *FillBehaviorGBLCIGetCIS_IDListDecl(){
CKObjectDeclaration *od = CreateCKObjectDeclaration(GBL_CI_API_ENTRY("GetCIS_IDList"));
//od->SetDescription("Saves a Configurable Information Set");
od->SetType( CKDLL_BEHAVIORPROTOTYPE);
od->SetGuid(CKGUID(0x74ba42ff,0x67817c3f));
od->SetType( CKDLL_BEHAVIORPROTOTYPE);
od->SetCategory(GBL_CUSTOMISATION_BB_CAT);
od->SetAuthorGuid(GBL_AUTHOR_GUID );
od->SetAuthorName( GBL_AUTHOR );
od->SetVersion(0x00010000);
od->SetCreationFunction(CreateGBLCIGetCIS_IDListProto);
od->SetCompatibleClassId(CKCID_BEOBJECT);
return od;
}
示例5: CreateCKObjectDeclaration
/*
*******************************************************************
* Function: CKObjectDeclaration *FillBehaviorCISIteratorBBDecl( void )
*
* Description : As its name infers, this function describes each Building Block
* on a functional level : what it can be applied to, its GUID, its
* creation function, etc..
*
*
* Parameters :
* None
*
* Returns : CKObjectDeclaration *, containing:
* - The type of object declaration ( Must Be CKDLL_BEHAVIORPROTOTYPE )
* - The function that will create the CKBehaviorPrototype for this behavior.
* - A short description of what the behavior is supposed to do.
* - The category in which this behavior will appear in the Virtools interface.
* - A unique CKGUID
* - Author and Version info
* - The class identifier of objects to which the behavior can be applied to.
*
*******************************************************************/
CKObjectDeclaration *FillBehaviorCISIteratorBBDecl()
{
CKObjectDeclaration *od = CreateCKObjectDeclaration(GBL_CI_API_ENTRY("CISIterator"));
od->SetDescription("Iterator for CIS");
od->SetCategory(GBL_CUSTOMISATION_BB_CAT);
od->SetType( CKDLL_BEHAVIORPROTOTYPE);
od->SetGuid(CKGUID(0x62570c75,0x23836ccf));
od->SetAuthorGuid(GBL_AUTHOR_GUID );
od->SetAuthorName( GBL_AUTHOR );
od->SetVersion(0x00010000);
od->SetCreationFunction(CreateCISIteratorBBProto);
od->SetCompatibleClassId(CKCID_BEOBJECT);
return od;
}
示例6: CreateCKObjectDeclaration
CKObjectDeclaration *FillBehaviorGetNextBBIdDecl()
{
CKObjectDeclaration *od = CreateCKObjectDeclaration("GetNextBBId");
od->SetDescription("Returns behavior id of first found and connected building block or behavior graph");
od->SetType( CKDLL_BEHAVIORPROTOTYPE);
od->SetGuid(CKGUID(0x572066cc,0x58402b59));
od->SetAuthorGuid(VIRTOOLS_GUID);
od->SetAuthorName("Günter Baumgart");
od->SetVersion(0x00010000);
od->SetCreationFunction(CreateGetNextBBIdProto);
od->SetCompatibleClassId(CKCID_BEOBJECT);
od->SetCategory("Narratives");
return od;
}
示例7: CreateCKObjectDeclaration
CKObjectDeclaration *FillBehaviorLogEntryDecl()
{
CKObjectDeclaration *od = CreateCKObjectDeclaration("pLogEvent");
od->SetDescription("Displays Internal Log Entries");
od->SetCategory("Physics/Manager");
od->SetType( CKDLL_BEHAVIORPROTOTYPE);
od->SetGuid(CKGUID(0x512542dc,0x1b836fd9));
od->SetAuthorGuid(VIRTOOLS_GUID);
od->SetAuthorName(VTCX_AUTHOR);
od->SetVersion(0x00010000);
od->SetCreationFunction(CreateLogEntryProto);
od->SetCompatibleClassId(CKCID_OBJECT);
return od;
}
示例8: CreateCKObjectDeclaration
/*
*******************************************************************
* Function: CKObjectDeclaration *FillBehaviour( void )
*
* Description : As its name infers, this function describes each Building Block
* on a functional level : what it can be applied to, its GUID, its
* creation function, etc..
*
*
* Parameters :
* None
*
* Returns : CKObjectDeclaration *, containing:
* - The type of object declaration ( Must Be CKDLL_BEHAVIORPROTOTYPE )
* - The function that will create the CKBehaviorPrototype for this behavior.
* - A short description of what the behavior is supposed to do.
* - The category in which this behavior will appear in the Virtools interface.
* - A unique CKGUID
* - Author and Version info
* - The class identifier of objects to which the behavior can be applied to.
*
*******************************************************************
*/
CKObjectDeclaration * GBLPFRemovePlayer::FillBehaviour( void )
{
CKObjectDeclaration *objectDeclaration = CreateCKObjectDeclaration( "GBLPFRemovePlayer" );
objectDeclaration->SetType( CKDLL_BEHAVIORPROTOTYPE );
objectDeclaration->SetCreationFunction( GBLPFRemovePlayer::CreatePrototype );
objectDeclaration->SetDescription( "Remove player from a team" );
objectDeclaration->SetCategory( "GBL/Profile Controller" );
objectDeclaration->SetGuid( CKGUID( 0x63e258c8, 0x366289c5 ) );
objectDeclaration->SetVersion( 0x00000001 );
objectDeclaration->SetAuthorGuid( CKGUID( 0x56495254, 0x4f4f4c53 ) );
objectDeclaration->SetAuthorName( "ITI Techmedia" );
objectDeclaration->SetCompatibleClassId( CKCID_BEOBJECT );
return objectDeclaration;
}
示例9: CreateCKObjectDeclaration
/*
*******************************************************************
* Function: FillBehaviour()
*
* Description : A standard Virtools function to define the type and locaation of the BB
*
*
* Returns : Pointer to the filled object declaration
*
*******************************************************************
*/
CKObjectDeclaration* CGBLListBox::FillBehaviour()
{
CKObjectDeclaration *objectDecl = CreateCKObjectDeclaration("GBLListBox");
objectDecl->SetDescription("Displays a scrolling list of selectable text strings");
objectDecl->SetType(CKDLL_BEHAVIORPROTOTYPE);
objectDecl->SetVersion(0x00010000);
objectDecl->SetCreationFunction(CreateBehaviourPrototype);
objectDecl->SetCategory("GBL/Interface");
objectDecl->SetGuid(CKGUID(0xae5c24a0, 0xd69428a0));
objectDecl->SetAuthorGuid(CKGUID(0x56495254,0x4f4f4c53));
objectDecl->SetAuthorName("Teleca");
objectDecl->SetCompatibleClassId(CKCID_2DENTITY);
return objectDecl;
}
示例10: CreateCKObjectDeclaration
/*
*******************************************************************
* Function: CKObjectDeclaration *FillBehaviour( void )
*
* Description : As its name infers, this function describes each Building Block
* on a functional level : what it can be applied to, its GUID, its
* creation function, etc..
*
*
* Parameters :
* None
*
* Returns : CKObjectDeclaration *, containing:
* - The type of object declaration ( Must Be CKDLL_BEHAVIORPROTOTYPE )
* - The function that will create the CKBehaviorPrototype for this behavior.
* - A short description of what the behavior is supposed to do.
* - The category in which this behavior will appear in the Virtools interface.
* - A unique CKGUID
* - Author and Version info
* - The class identifier of objects to which the behavior can be applied to.
*
*******************************************************************
*/
CKObjectDeclaration * CGBLLAERemoveUser::FillBehaviour( void )
{
CKObjectDeclaration *objectDeclaration = CreateCKObjectDeclaration( "GBLLAERemoveUserBB" );
objectDeclaration->SetType( CKDLL_BEHAVIORPROTOTYPE );
objectDeclaration->SetCreationFunction( CGBLLAERemoveUser::CreatePrototype );
objectDeclaration->SetDescription( "Adds user to the LAE" );
objectDeclaration->SetCategory( "GBL" );
objectDeclaration->SetGuid( CKGUID(0x7bfb47fa,0x26625ec8) );
objectDeclaration->SetVersion( 0x00000001 );
objectDeclaration->SetAuthorGuid( CKGUID(0x4e6f7a46,0x337232a2) );
objectDeclaration->SetAuthorName( "ITI Techmedia" );
objectDeclaration->SetCompatibleClassId( CKCID_BEOBJECT );
return objectDeclaration;
}
示例11: CreateCKObjectDeclaration
/*
*******************************************************************
* Function: CKObjectDeclaration *FillBehaviour( void )
*
* Description :
*
*
* Parameters :
*
* Returns :
*
*******************************************************************
*/
CKObjectDeclaration * GBLCOSetID::FillBehaviour( void )
{
CKObjectDeclaration *objectDeclaration = CreateCKObjectDeclaration( "GBLCOSetID" );
objectDeclaration->SetType( CKDLL_BEHAVIORPROTOTYPE );
objectDeclaration->SetCreationFunction( GBLCOSetID::CreatePrototype );
objectDeclaration->SetDescription( "Set a globally unique identity within the learning application." );
objectDeclaration->SetCategory( "GBL/Common" );
objectDeclaration->SetGuid( GBLCOBGSETID_GUID );
objectDeclaration->SetVersion( 0x00000001 );
objectDeclaration->SetAuthorGuid( CKGUID( 0x56495254, 0x4f4f4c53 ) );
objectDeclaration->SetAuthorName( "ITI Scotland" );
objectDeclaration->SetCompatibleClassId( CKCID_BEOBJECT );
return objectDeclaration;
}
示例12: CreateCKObjectDeclaration
/*
*******************************************************************
* Function: CKObjectDeclaration *FillBehaviour( void )
*
* Description : As its name infers, this function describes each Building Block
* on a functional level : what it can be applied to, its GUID, its
* creation function, etc..
*
*
* Parameters :
* None
*
* Returns : CKObjectDeclaration *, containing:
* - The type of object declaration ( Must Be CKDLL_BEHAVIORPROTOTYPE )
* - The function that will create the CKBehaviorPrototype for this behavior.
* - A short description of what the behavior is supposed to do.
* - The category in which this behavior will appear in the Virtools interface.
* - A unique CKGUID
* - Author and Version info
* - The class identifier of objects to which the behavior can be applied to.
*
*******************************************************************
*/
CKObjectDeclaration * GBLStorageManagerStateTestBB::FillBehaviour( void )
{
CKObjectDeclaration *objectDeclaration = CreateCKObjectDeclaration( "GBLStorageManagerStateTestBB" );
objectDeclaration->SetType( CKDLL_BEHAVIORPROTOTYPE );
objectDeclaration->SetCreationFunction( GBLStorageManagerStateTestBB::CreatePrototype );
objectDeclaration->SetDescription( "Unit test BB for the state access interface on storage manager" );
objectDeclaration->SetCategory( "GBL" );
objectDeclaration->SetGuid( CKGUID( 0xc6e54ad0, 0x248caa39 ) );
objectDeclaration->SetVersion( 0x00000001 );
objectDeclaration->SetAuthorGuid( CKGUID( 0x56495254, 0x4f4f4c53 ) );
objectDeclaration->SetAuthorName( "ITI Techmedia" );
objectDeclaration->SetCompatibleClassId( CKCID_BEOBJECT );
return objectDeclaration;
}
示例13: CreateCKObjectDeclaration
CKObjectDeclaration *FillBehaviorARTPlusPatternTransformationDecl()
{
CKObjectDeclaration *od = CreateCKObjectDeclaration("Single Marker Transformation");
od->SetType(CKDLL_BEHAVIORPROTOTYPE);
od->SetVersion(0x00010000);
od->SetCreationFunction(CreateARTPlusPatternTransformationProto);
od->SetDescription("Calculates Transformation for given Videoframe");
od->SetCategory("ARToolKitPlus");
od->SetGuid(CKGUID(0x6b733302,0x12d23c1f));
od->SetAuthorGuid(CKGUID(0x653d3e01,0x631c3314));
od->SetAuthorName("Jörg Stöcklein");
od->SetCompatibleClassId(CKCID_BEOBJECT);
return od;
}
示例14: CreateCKObjectDeclaration
/*
*******************************************************************
* Function: CKObjectDeclaration *FillBehaviour( void )
*
* Description : As its name infers, this function describes each Building Block
* on a functional level : what it can be applied to, its GUID, its
* creation function, etc..
*
*
* Parameters :
* None
*
* Returns : CKObjectDeclaration *, containing:
* - The type of object declaration ( Must Be CKDLL_BEHAVIORPROTOTYPE )
* - The function that will create the CKBehaviorPrototype for this behavior.
* - A short description of what the behavior is supposed to do.
* - The category in which this behavior will appear in the Virtools interface.
* - A unique CKGUID
* - Author and Version info
* - The class identifier of objects to which the behavior can be applied to.
*
*******************************************************************
*/
CKObjectDeclaration * GBLCOBGWrapper::FillBehaviour( void )
{
CKObjectDeclaration *objectDeclaration = CreateCKObjectDeclaration( "GBLCOBGWrapper" );
objectDeclaration->SetType( CKDLL_BEHAVIORPROTOTYPE );
objectDeclaration->SetCreationFunction( GBLCOBGWrapper::CreatePrototype );
objectDeclaration->SetDescription( "Encapsulates the functionality provided by a Behaviour Graph and allows reuse while minimising maintenance overhead." );
objectDeclaration->SetCategory( "GBL/Common" );
objectDeclaration->SetGuid( GBLCOBGWRAPPER_GUID );
objectDeclaration->SetVersion( 0x00000001 );
objectDeclaration->SetAuthorGuid( CKGUID(0x79ba75dd,0x41d77c63) );
objectDeclaration->SetAuthorName( "ITI Scotland" );
objectDeclaration->SetCompatibleClassId( CKCID_BEOBJECT );
return objectDeclaration;
}
示例15: CreateCKObjectDeclaration
/*
*******************************************************************
* Function: CKObjectDeclaration *FillBehaviour( void )
*
* Description : As its name infers, this function describes each Building Block
* on a functional level : what it can be applied to, its GUID, its
* creation function, etc..
*
*
* Parameters :
* None
*
* Returns : CKObjectDeclaration *, containing:
* - The type of object declaration ( Must Be CKDLL_BEHAVIORPROTOTYPE )
* - The function that will create the CKBehaviorPrototype for this behavior.
* - A short description of what the behavior is supposed to do.
* - The category in which this behavior will appear in the Virtools interface.
* - A unique CKGUID
* - Author and Version info
* - The class identifier of objects to which the behavior can be applied to.
*
*******************************************************************
*/
CKObjectDeclaration * GBLPFCreate::FillBehaviour( void )
{
CKObjectDeclaration *objectDeclaration = CreateCKObjectDeclaration( "GBLPFCreate" );
objectDeclaration->SetType( CKDLL_BEHAVIORPROTOTYPE );
objectDeclaration->SetCreationFunction( GBLPFCreate::CreatePrototype );
objectDeclaration->SetDescription( "Create a new user or team" );
objectDeclaration->SetCategory( "GBL/Profile Controller" );
objectDeclaration->SetGuid( CKGUID( 0xaf6b6e2e, 0x5ecaf451 ) );
objectDeclaration->SetVersion( 0x00000001 );
objectDeclaration->SetAuthorGuid( CKGUID( 0x56495254, 0x4f4f4c53 ) );
objectDeclaration->SetAuthorName( "ITI Techmedia" );
objectDeclaration->SetCompatibleClassId( CKCID_BEOBJECT );
return objectDeclaration;
}