52 const bool join =
true;
64 return "OpenPoseStressTest";
80 defs->optional(wait_for,
"wait_for",
"Time to wait between starting and stopping OpenPose.");
86visionx::opstress::Component::run()
88 const std::chrono::milliseconds t1 = std::chrono::milliseconds{wait_for.toMilliSeconds()};
89 const std::chrono::milliseconds t2{200};
91 while (not task->isStopped())
94 std::this_thread::sleep_for(t1);
96 std::this_thread::sleep_for(t2);
Default component property definition container.
std::string getConfigIdentifier()
Retrieve config identifier for this component as set in constructor.
void onInitComponent() override
Pure virtual hook for the subclass.
void onDisconnectComponent() override
Hook for subclass.
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
void onConnectComponent() override
Pure virtual hook for the subclass.
static std::string GetDefaultName()
void onExitComponent() override
Hook for subclass.
std::string getDefaultName() const override
Retrieve default name of component.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.