#include <ieee1394io.h>
Public Member Functions | |
| AVC (int crd=0) | |
| Initializes the AVC object. | |
| ~AVC () | |
| Destroys the AVC object. | |
| int | isPhyIDValid (int id) |
| See if a node_id is still valid and pointing to an AV/C Recorder. | |
| void | Noop (void) |
| Do not do anything but let raw1394 make necessary callbacks (bus reset). | |
| int | Play (int id) |
| int | Pause (int id) |
| int | Stop (int id) |
| int | FastForward (int id) |
| int | Rewind (int id) |
| int | Forward (int id) |
| int | Back (int id) |
| int | NextScene (int id) |
| int | PreviousScene (int id) |
| int | Record (int id) |
| int | Shuttle (int id, int speed) |
| unsigned int | TransportStatus (int id) |
| bool | Timecode (int id, char *timecode) |
| int | getNodeId (const char *guid) |
Static Private Member Functions | |
| static int | ResetHandler (raw1394handle_t handle, unsigned int generation) |
Private Attributes | |
| int | port |
| the interface card to use (typically == 0) | |
| pthread_mutex_t | avc_mutex |
| this mutex protects avc related variables that could possibly accessed from two threads at the same time | |
| raw1394handle_t | avc_handle |
| the handle to the ieee1394 subsystem | |
| AVC::AVC | ( | int | p = 0 |
) |
| AVC::~AVC | ( | ) |
Destroys the AVC object.
| int AVC::Back | ( | int | id | ) |
| int AVC::FastForward | ( | int | id | ) |
| int AVC::Forward | ( | int | id | ) |
| int AVC::getNodeId | ( | const char * | guid | ) |
| int AVC::isPhyIDValid | ( | int | phyID | ) |
See if a node_id is still valid and pointing to an AV/C Recorder.
If the node_id is not valid, then look for the first AV/C device on the bus;
| phyID | The node_id to check. |
| int AVC::NextScene | ( | int | id | ) |
| void AVC::Noop | ( | void | ) |
Do not do anything but let raw1394 make necessary callbacks (bus reset).
| int AVC::Pause | ( | int | id | ) |
| int AVC::Play | ( | int | id | ) |
| int AVC::PreviousScene | ( | int | id | ) |
| int AVC::Record | ( | int | id | ) |
| int AVC::ResetHandler | ( | raw1394handle_t | handle, | |
| unsigned int | generation | |||
| ) | [static, private] |
| int AVC::Rewind | ( | int | id | ) |
| int AVC::Shuttle | ( | int | id, | |
| int | speed | |||
| ) |
| int AVC::Stop | ( | int | id | ) |
| bool AVC::Timecode | ( | int | id, | |
| char * | timecode | |||
| ) |
| unsigned int AVC::TransportStatus | ( | int | id | ) |
raw1394handle_t AVC::avc_handle [private] |
the handle to the ieee1394 subsystem
pthread_mutex_t AVC::avc_mutex [private] |
this mutex protects avc related variables that could possibly accessed from two threads at the same time
int AVC::port [private] |
the interface card to use (typically == 0)
1.4.7