本文整理汇总了C++中ePipeline::GetID方法的典型用法代码示例。如果您正苦于以下问题:C++ ePipeline::GetID方法的具体用法?C++ ePipeline::GetID怎么用?C++ ePipeline::GetID使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ePipeline
的用法示例。
在下文中一共展示了ePipeline::GetID方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1:
CObjectData::CObjectData(ePipeline& ObjectData){
if (ObjectData.Size()!=4)
{
return;
}
m_ID = ObjectData.GetID();
m_Name = *(tstring*)ObjectData.GetData(0);
m_Type = *(SPACETYPE*)ObjectData.GetData(1);
m_Fingerprint = *(tstring*)ObjectData.GetData(2);
ePipeline* Path = (ePipeline*)ObjectData.GetData(3);
m_Address << *Path;
}
示例2: MassItem
void CDebugView::MassItem::Init(ePipeline& Pipe){
m_Alias = Pipe.GetID();
m_Name = Pipe.GetLabel();
int64 Type = Pipe.PopInt();
m_Type = Type;
if (m_Type == MASS_ELEMENT)
{
while(Pipe.Size()){
eElectron E;
Pipe.Pop(&E);
ePipeline* ChildPipe = (ePipeline*)E.Value();
MassItem* ChildItem = new MassItem();
PushChild(ChildItem);
ChildItem->Init(*ChildPipe);
}
}
}
示例3: Reset
void CDebugView::Reset(ePipeline& ItemList){
DeleteAll();
m_Toolbar.m_Owner = NULL;
m_SpaceFocused = NULL;
Layout();
m_TaskTimeStamp = ItemList.GetID();
if(ItemList.Size()==0){
return;
};
ePipeline* TaskPipe = (ePipeline*)ItemList.GetData(0);
MassItem* Task = new MassItem;
PushChild(Task);
Task->Init(*TaskPipe);
Task->m_Alias = 1; //任务ID是一个64位整数,显示不方便,这里改为1
Layout();
return ;
};