yarpActionsPlayer_IDL Interface. More...
Public Member Functions | |
virtual yarp::os::ApplicationNetworkProtocolVersion | getLocalProtocolVersion () |
virtual yarp::os::ApplicationNetworkProtocolVersion | getRemoteProtocolVersion () |
virtual bool | checkProtocolVersion () |
yarpActionsPlayer_IDL () | |
virtual bool | start () |
Start (or resumes, if stopped) the currently selected action. | |
virtual bool | stop () |
Stops the currently selected (running) action. | |
virtual bool | reset () |
Rewinds the currently selected action. | |
virtual bool | forever () |
Similar to play, but it will automatically restart the playback when the last frame is reached. | |
virtual bool | print_frames () |
Prints all the frames of the currently selected action. | |
virtual bool | speed_factor (const double value) |
Sets the playback speed factor for the currently selected action (default value: 1.0). | |
virtual bool | resample (const double value) |
Resamples the currently selected action (in seconds, recommended value 0.010s). | |
virtual bool | choose_action (const std::string &action_name) |
Choose the current action and wait for further commands. | |
virtual bool | play_action (const std::string &action_name) |
Play an action one single time. | |
virtual bool | show_actions () |
Prints all the loaded actions. | |
virtual bool | set_thread_period (const double value) |
Sets the period of the sampling thread (for advanced use only, default value: 0.010s). | |
virtual std::vector< std::string > | help (const std::string &functionName="--all") |
bool | read (yarp::os::ConnectionReader &connection) override |
Read this object from a network connection. | |
![]() | |
yarp::os::WireLink & | yarp () |
Get YARP state associated with this object. | |
const yarp::os::WireLink & | yarp () const |
Get YARP state associated with this object (const version). | |
![]() | |
virtual | ~PortReader () |
Destructor. | |
virtual Type | getReadType () const |
yarpActionsPlayer_IDL Interface.
Definition at line 22 of file yarpActionsPlayer_IDL.h.
yarpActionsPlayer_IDL::yarpActionsPlayer_IDL | ( | ) |
Definition at line 2375 of file yarpActionsPlayer_IDL.cpp.
|
virtual |
Definition at line 80 of file yarpActionsPlayer_IDL.cpp.
|
virtual |
Choose the current action and wait for further commands.
Reimplemented in scriptModule.
Definition at line 2450 of file yarpActionsPlayer_IDL.cpp.
|
virtual |
Similar to play, but it will automatically restart the playback when the last frame is reached.
Reimplemented in scriptModule.
Definition at line 2410 of file yarpActionsPlayer_IDL.cpp.
|
virtual |
Definition at line 95 of file yarpActionsPlayer_IDL.cpp.
|
virtual |
Definition at line 65 of file yarpActionsPlayer_IDL.cpp.
|
virtual |
Definition at line 2491 of file yarpActionsPlayer_IDL.cpp.
|
virtual |
Play an action one single time.
The call blocks untils the playback is complete.
Reimplemented in scriptModule.
Definition at line 2460 of file yarpActionsPlayer_IDL.cpp.
|
virtual |
Prints all the frames of the currently selected action.
Reimplemented in scriptModule.
Definition at line 2420 of file yarpActionsPlayer_IDL.cpp.
|
overridevirtual |
Read this object from a network connection.
Override this for your particular class.
reader | an interface to the network connection for reading |
Implements yarp::os::PortReader.
Definition at line 2568 of file yarpActionsPlayer_IDL.cpp.
|
virtual |
Resamples the currently selected action (in seconds, recommended value 0.010s).
Reimplemented in scriptModule.
Definition at line 2440 of file yarpActionsPlayer_IDL.cpp.
|
virtual |
Rewinds the currently selected action.
Reimplemented in scriptModule.
Definition at line 2400 of file yarpActionsPlayer_IDL.cpp.
|
virtual |
Sets the period of the sampling thread (for advanced use only, default value: 0.010s).
Reimplemented in scriptModule.
Definition at line 2480 of file yarpActionsPlayer_IDL.cpp.
|
virtual |
Prints all the loaded actions.
Reimplemented in scriptModule.
Definition at line 2470 of file yarpActionsPlayer_IDL.cpp.
|
virtual |
Sets the playback speed factor for the currently selected action (default value: 1.0).
Reimplemented in scriptModule.
Definition at line 2430 of file yarpActionsPlayer_IDL.cpp.
|
virtual |
Start (or resumes, if stopped) the currently selected action.
It will stop when the last frame is reached.
Reimplemented in scriptModule.
Definition at line 2380 of file yarpActionsPlayer_IDL.cpp.
|
virtual |
Stops the currently selected (running) action.
Can be resumed by start.
Reimplemented in scriptModule.
Definition at line 2390 of file yarpActionsPlayer_IDL.cpp.