本文整理汇总了C++中safe_ptr::info方法的典型用法代码示例。如果您正苦于以下问题:C++ safe_ptr::info方法的具体用法?C++ safe_ptr::info怎么用?C++ safe_ptr::info使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类safe_ptr
的用法示例。
在下文中一共展示了safe_ptr::info方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: info
boost::property_tree::wptree info() const override
{
boost::property_tree::wptree info;
info.add(L"type", L"separated-producer");
info.add_child(L"fill.producer", fill_producer_->info());
info.add_child(L"key.producer", key_producer_->info());
return info;
}
示例2: info
boost::property_tree::wptree info() const override
{
boost::property_tree::wptree info;
info.add(L"type", L"transition-producer");
info.add_child(L"source.producer", source_producer_->info());
info.add_child(L"destination.producer", dest_producer_->info());
return info;
}
示例3: info
boost::property_tree::wptree info() const
{
boost::property_tree::wptree info;
info.add(L"status", is_paused_ ? L"paused" : (foreground_ == frame_producer::empty() ? L"stopped" : L"playing"));
info.add(L"auto_delta", auto_play_delta_);
info.add(L"frame-number", frame_number_);
auto nb_frames = foreground_->nb_frames();
info.add(L"nb_frames", nb_frames == std::numeric_limits<int64_t>::max() ? -1 : nb_frames);
info.add(L"frames-left", nb_frames == std::numeric_limits<int64_t>::max() ? -1 : (foreground_->nb_frames() - frame_number_ - auto_play_delta_));
info.add_child(L"foreground.producer", foreground_->info());
info.add_child(L"background.producer", background_->info());
return info;
}
示例4: info
boost::property_tree::wptree info() const
{
boost::property_tree::wptree info;
auto stage_info = stage_->info();
auto mixer_info = mixer_->info();
auto output_info = output_->info();
stage_info.timed_wait(boost::posix_time::seconds(2));
mixer_info.timed_wait(boost::posix_time::seconds(2));
output_info.timed_wait(boost::posix_time::seconds(2));
info.add(L"video-mode", format_desc_.name);
info.add_child(L"stage", stage_info.get());
info.add_child(L"mixer", mixer_info.get());
info.add_child(L"output", output_info.get());
return info;
}
示例5: info
virtual boost::property_tree::wptree info() const override
{
return consumer_->info();
}