Logo
ApraPipes 1.0
Loading...
Searching...
No Matches
PlayPauseCommand Class Reference

#include <Command.h>

Inheritance diagram for PlayPauseCommand:
Inheritance graph
Collaboration diagram for PlayPauseCommand:
Collaboration graph

Public Member Functions

 PlayPauseCommand ()
 
 PlayPauseCommand (float _speed, bool _direction)
 
size_t getSerializeSize ()
 
- Public Member Functions inherited from Command
 Command ()
 
 Command (CommandType _type)
 
size_t getSerializeSize ()
 
CommandType getType ()
 

Public Attributes

float speed = 1
 
bool direction = 1
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int)
 

Friends

class boost::serialization::access
 

Additional Inherited Members

- Public Types inherited from Command
enum  CommandType {
  None , FileReaderModule , Relay , Step ,
  ValvePassThrough , ExportMMQ , Seek , MP4WriterLastTS ,
  Mp4ErrorHandle , PlayPause , DeleteWindow , CreateWindow ,
  NVRCommandExportView = 1000 , SendMMQTimestamps , SendLastGTKGLRenderTS , DecoderPlaybackSpeed
}
 

Constructor & Destructor Documentation

◆ PlayPauseCommand() [1/2]

PlayPauseCommand::PlayPauseCommand ( )
inline
Here is the caller graph for this function:

◆ PlayPauseCommand() [2/2]

PlayPauseCommand::PlayPauseCommand ( float _speed,
bool _direction )
inline

Member Function Documentation

◆ getSerializeSize()

size_t PlayPauseCommand::getSerializeSize ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ serialize()

template<class Archive >
void PlayPauseCommand::serialize ( Archive & ar,
const unsigned int  )
inlineprivate

Friends And Related Symbol Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Member Data Documentation

◆ direction

bool PlayPauseCommand::direction = 1

◆ speed

float PlayPauseCommand::speed = 1

The documentation for this class was generated from the following file: